v2 combo in swf loaded into flex goes crazy

When I anactionscript 2 swf with a v2 combobox
and I load into a flex application using a swfloader
The combo gets crazy and you click a currentItem item becomes another element that you clicked on.

If anyone has come across that?
does anyone have a solution?

Thank you
Eyal

This has been acknoladged as a bug by adobe
http://bugs.Adobe.com/jira/browse/SDK-13131

Tags: Flex

Similar Questions

  • Calling function flex SWF loaded into Flex

    Hi, just a few days in flex development and a question about SWFLoader.

    Is it possible to call a function from flex to a SWF file loaded by SWFLoader control?

    For example, I have a SWF animation with a button, loaded into a Flex application and I would like that when the user clicks the button, it will call a function in the flex application.

    If possible, can we send parameters with the function call?

    Thank you for all your help.
    Mika

    There are two possibilities, depending on what type of SWF you load. If you load a SWF9, then check on ApplicationDomain. If you load SWF8 or earlier, then read this technical note:
    http://www.Adobe.com/go/749eaa47

  • How to control the video swf loaded in the loading component?

    I have an external swf file loaded into the loading component. The external swf loaded into the component loading stops at departure. I want to play by a button outside the loading component that is located in the main swf movie. CAN SOMEONE HELP ME CONTROL THE VIDEO SWF LOADED INTO THE COMPONENT OF LOADING EXTERNAL?

    You can target the SWF via the content property of the UILoader.  If the name of the instance the UILoader is ldr...

    MovieClip (ldr.content) .play ();

  • Detect if a swf file is loaded into another swf

    Is there a way for my flex swf to detect if it has been loaded into another swf parent or if it is running standalone?

    Any help appreciated.

    Marcus

    SystemManager.isTopLevel and isTopLevelRoot

  • Question of embedding fonts when SWF is loaded into the charger

    Hello.

    I ran into a problem of the incorporation of police where all the text fields with embedded police disappear when the SWF file is loaded as a child into a parent SWF. When the SWF file is read directly as stand-alone or inside a container of page HTML, text fields display perfectly with embedded fonts. Just not if the SWF is loaded into another SWF. It's basically the way I joined the police:

    [Inside the document class]

    [Embed (source="/Library/Fonts/Arial.ttf", fontName = "FontVerdana", mimeType ="application/x-font-truetype")]

    public static FontVerdana: Class const;

    var theFont * = new FontVerdana();

    var myText:TextField = new TextField();

    var fmt:TextFormat = new TextFormat();

    FMT.font = theFont;

    myText.embedFonts = true;

    myText.setTextFormat (fmt);

    Incidentally, I either work on a Mac using Flex 3.5. Anyone encountered this problem? What can be done to fix this?

    See you soon,.

    Harry

    Check out my blog on embedded fonts

    --

    Alex Harui

    Flex SDK Team

    Adobe System, Inc..

    http://blogs.Adobe.com/aharui

  • Loading a SWF file into the feeder of a third person

    Hello again.

    I have a Master SWF, which has several buttons on its stage.  These buttons are loading a remote SWF to an interactive chart in the master left upper corner of the film.  These loaded clips inside are several clickable areas which I would like to use to load yet another movie in the bottom half of the Master clip... so it loads a remote SWF to third party scene.

    I'm having a problem of simple targeting.  I'm not sure how to call a movie to load into a loader on the stage of a different clip.  I use 'parent'... but I got something wrong:

    _________________________________

    var unitSwfLoader:Loader = new Loader();
    unitSwfLoader.x = 25;
    unitSwfLoader.y = 390;

    function getUnitSWF(e:MouseEvent):void
    {
    unitSwfLoader.load (new URLRequest ("units /" + e.currentTarget.name + ".swf"));
    parent.addChild (unitSwfLoader);
    }

    You can use root to reference the main timeline from anywhere.  You may have only thrown like a movieclip:

    MovieClip (this.root) .addChild (unitSwfLoader);

  • getURL works not when the swf is loaded into another swf

    Okay, I need help with something relatively simple which for some reason that I was not able to find information about everything?

    I hope that this will be something easy to correct.

    I basically the following:

    • my main movie "Home.swf".
    • another film "Sub.swf".

      I loaded "Sub.swf" in "Home.swf" via an empty movieclip.

      In "Sub.swf", I have some links that, when clicked call getURL and open an HTML page in the browser.

      But for some reason any the getURL does not work and I think its because the getURL is called from a movie loaded into "Home.swf".

      I tried to change the actionscript code for:

      _root.getURL('/MyPage.html');
      _parent.getURL('/MyPage.html');

      but neither (_root / _parent) seems to work?

      Need some help here please.

      Thank you very much.

      Kind regards
      M.

    It is not the getURL that's the problem. It's your _level0.imgMC.MC5 that is the problem.

    in Sub.fla, replace _root _level0 and add the code below your delivery code:

  • video SEO is not even when SWF is loaded into SWF

    Copy the following code is based on the _droptarget info in the Actionscript 2.0 language reference. It works fine by itself but the breaks when the SWF is loaded into another SWF. Notice that I use the _lockroot property to keep the _root of the loaded clip.

    I've isolated the problem to the "if" condition The player does not seem to recognize the equivalence of the names. But when you debug with Trace, the names are the same.

    The goal is to have the drag snap object to the target object when the target but snap to its origin, if not on target. It works in 6, but the drag object snaps back to its original 7 - as if he had not fallen on the target object.

    A solution and the explanation is in the attached code:

  • Playback of SWF loaded SWFLoader control

    I am loading a swf file into my Flex Application that I would like to control simple playback of the Flex application.  It is a test application.

    Essentially:

    I have a SWFLoaded swf with id = "swfLoader".  When I try to use the command in the click handler function...

    swfLoader.play ();  or nextFrame();   I get the error...

    Property not found on mx.controls.SWFLoader NextFrame and there is no default value.

    Do I need to import anything?  Or do you use other commands to control swf?

    Thank you.

    swfLoader.content.play)

  • Loading external SWF in as3 SWF Loader style?

    Hello

    I recently did the replacement of as2 as3 and am still struggling to get my head to a particular aspect. I managed to load an external swf into an empty file via the script

    Import LoadDisplayObject;

    var loader: LoadDisplayObject = new LoadDisplayObject ("button_01.swf", true);

    1. loader.addEventListener ("displayObjectLoaded", onComplete, false, 0, true);

    addChild (loader);

    function onComplete(evt:Event):void {}

    trace ("received full load");

    loader.scaleX = loader.scaleY is. 75;

    }

    ... but I'm struggling with the script to make a SWF to load into a space when one of my 3 buttons is activated...

    My page currently has three buttons (button_01, button_02 and button_03) and in a local folder three separate sovereign wealth funds with the same names that I want to load, when you press the appropriate button.

    I managed to get them to load using a tutorial... but what they charge on top of each course... far from ideal. Research on the internet I found a range of different script... goal, that I can't find anywhere that I can find the script to make it work... so why I turned here.

    Any help much appreciated... Thanks in advance.

    Simply call butt1Click (null);

  • rinsing of the SWF loaded phase target mc?

    Hi, I'm using buttons to send the playhead to executives in which sovereign wealth funds are then loaded into an empty movieclip called "stage_target_mc"... .how I can then flush out the previously loaded swf then only a newly loaded swf displayed in "stage_target_mc"?  For example, after you click on the button 'about' swf 'about' load... then the "concepts" click the "concepts" swf loads - but the previously 'about' loaded swf plays again... I wish I could rinse the swf 'about' so only "concepts" are display, in this example.  Thank you!

    code associated with buttons that are used to send the playhead to frame "concepts" or "about":

    about_btn.addEventListener (MouseEvent.CLICK, displayAbout);

    function displayAbout(e:MouseEvent):void {}

    root.gotoAndStop ("about");

    }

    concepts_btn.addEventListener (MouseEvent.CLICK, displayConcepts);

    function displayConcepts(e:MouseEvent):void {}

    root.gotoAndStop ("concepts");

    }

    code on frame called "concepts":

    stage_target_loader. Load (new URLRequest("swfs/stages/concepts.swf"));

    MovieClip (root).stage_target_mc.addChild (stage_target_loader);

    code on frame called 'a way':

    stage_target_loader. Load (new URLRequest("swfs/stages/about.swf"));

    MovieClip (root).stage_target_mc.addChild (stage_target_loader);

    Before loading, try to use the method of the Loader class unloadAndStop() If you are using a version of Flash newr

  • How can I create buttons of switch trigger MC in swf loaded

    Hello

    I am a newbie in ActionScript 3 and I am currently working on a project that has a (zoom) swf that zoom/pan a swf loaded a map (carte_web.swf). Everything was going well until I got more requests.  There are now two cards, same background, one with images and one with only one road. I try to add code to two buttons on a toolbar that is generated by the zoom.swf, to switch between the two cards, without losing its zoom/pan my cards are the two Flash-oriented object programming.  I spent 27 hours, trying to find a way, and I'm definitely at the end of my mind!

    I have a suggestion "to charge both your SWF in a sprite separately.» Then switching between sovereign wealth funds by removing and adding them to their parent sprite. The parent sprite is what you zoom. "I've tried everything!

    Any suggestions?

    If you want to keep the current state of each 'card', you will need to load each of these sovereign wealth funds in different sprites. In this way, you can just addChild and removeChild and save the State without having to reload the SWF file. Another way, you could actually do, would be to just reload in a sprite, and before you unload the SWF file, save all data of zoom/pan in an array or variable or something of that sort and just restore data to the card when it is reloaded. Don't know if I make sense here, but without details of your exact problem, it is difficult to say.

  • Swf loading problems

    I'm trying to load a swf file into a main swf file.

    It works very well.

    The swf file I load is not made by me but bij of clients and is not guaranteed.

    Because I'm addChild I what to resize it to the size I want.

    This works very well for long the happy (animation) is everything inside the scene.

    If there is something outside of the scene which should not be shown that it will be shown in any case.

    I want, is to determine the stageWidth and stageHeight since the loaded swf file.

    Thank you

    Daniel Kuiper.

    Try Loader. chargerand contentLoaderInfo.width. contentLoaderInfo.height

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • How to incorporate and display a SWF in a Flex application.

    Hi all

    I'm trying to embed a swf animation in a flex 4.5 application and display it, but it does not work!

    I get error after error.  When I try to use addElement(), I get the following error:

    1067: coercion of a value of type mx.core:MovieClipLoaderAsset to an unrelated type mx.core:IVisualElement.

    If I use addChild(), then he throws another error when running.

    Here is my code:

    [Embed(source="assets/con_mov.swf")]
    private var connectMov:Class;
    private var conMov:MovieClipLoaderAsset = new connectMov();
    

    Here's the code I'm trying to use it to displey:

    borderContainer.addElement(conMov);
    

    I tried just to add to the application using this.addChild (connectMov), but I get an error during execution.  It's ridiculous!  Bringing a swf created in Flash into Flex and displaying should not require so much effort - IMHO.  There is a lot of documentation on how to embed a swf in Flex, but almost nothing about how to post!

    It's just a simple animation placeholder so I need access to all the functions on the inside, I want to integrate rather than using swfLoader.

    Thanks for any help or advice you can give!

    Matt

    Hello Matt,

    Yes you are right, it is not necessary to set the source of the image that we add a movieclip with swf. It was a mistake in my

    code, because I have tried it with too many crazy ways.

    Now the SWFLoader, ABT

    This technique works well with the SWFs that adds a graphical application or animations, but are not intended to have a large amount of interaction with the user. If you import SWF files that require a large amount of user interaction, you must build them as custom components. (Adobe Docs)

    Thank you and best regards,

    ---------------------------------------------------------------------- ----------------------------

    Kanchan Ladwani | [email protected] | www.infocepts.com

    ---------------------------------------------------------------------- ----------------------------

  • AS3 communication with external swf loaded in mc

    Hi all

    Thanks for posting first

    My problem is this, I have a blank swf file that loads a swf into a clip called content_mc here is the code located in the blank swf file

    startLoad ("home page")

    var loadedSWF:Loader

    var content_mc:MovieClip = new MovieClip();

    function startLoad (SWFname:String) {}

    loadedSWF = new Loader ();

    loadedSWF.load (new URLRequest (nomswf + ".swf"));

    content_mc. AddChild (loadedSWF);

    function nextSWF (whichSWFName, removeSWF) {}

    content_mc.removeChild (removeSWF);

    If whichSWFName == 'start page') {}

    startLoad ("pre-loader");

    }

    }

    so this basically puts everything up now on the button of the swf file loaded on the outside I

    btn.next.addEventListener (MouseEvent.CLICK, nextpls);

    function nextpls (event: MouseEvent) {}

    MovieClip (parent.parent) .nextSWF ("home page", parent);

    }

    OK to explain if I remove the content_mc of the first part of the code that everything will work as it should

    the problem is that I need to load into this movieclip

    so I need to tell the MovieClip content_mc which its finished passing ("home page", parent) bit

    However I can't communicate with him

    I don't know if I did not have enough parents or if I need to say () and so on

    Maybe I need a reference or something ive read on those.

    currently learning AS3 and this part is a real headache

    any help is greatly appreciated

    Thank you

    fonzio1

    Should be more like this:

    Child ("home page")

    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    
    btn.addEventListener(MouseEvent.CLICK, nextpls);
    
    function nextpls(e:MouseEvent):void {
        (parent.parent.parent as MovieClip).nextSWF("startPage", this);
    }
    

    Parent

    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    
    var content_mc:MovieClip = new MovieClip();
    addChild(content_mc);
    
    var loadedSWF:Loader;
    
    function startLoad(SWFName:String):void {
        loadedSWF = new Loader();
        loadedSWF.load(new URLRequest(SWFName+".swf"));
        content_mc.addChild(loadedSWF);
    }
    
    function nextSWF(whichSWFName, removeSWF){
        content_mc.removeChild(removeSWF.parent);
        if(whichSWFName == "startPage"){
            startLoad("pre-loader");
        }
    }
    
    startLoad("startPage");
    

    (Personally I use communication based instead of AS1 as "parent.parent" etc...)

Maybe you are looking for