Flex swf loaded in Flash swf

Hi,
I have a Flex swf loaded into a Flash swf.
I have made the Flex swf transparent, so that the buttons in the Flash swf are visible.
But im unable to interact with the Flash swf buttons.
My Flex swf is working happyily
The Flex swf overlays the Flash swf.
If i change the scrollRect of the Flex swf so the Flex swf is not overlaying the Flash swf i can successfully interact with the Flash swf buttons.
Any ideas?
Regards,
Kyle

Thanks Alex,
I actually found an old post on a forum where you recommended a similar solution (mousesheld.visible = false).
This seems to work although it messes with dragging (my Popups at least).
But i can work with that for now, thanks for your help.
Regards,
Kyle

Similar Messages

  • Problems loading Adobe Flash SWF file

    Our users are experienceing problems loading Adobe Flash SWF
    files.
    One example of a problem file is:
    http://www.adobe.com/enterprise/accessibility/popup_acr8_accessibility.html
    User traffic is flowing through a Cisco ASA firewall - these
    problems do not seem to occur from home networks or a Netscreen
    firewall. The Cisco ASA does NOT have http deep packet inspection
    turned on, and any traffic initiated by clients inside the firewall
    should be allowed. The symptom is that Internet Explorer will begin
    to download the video, but will hang at some point along the way
    (for this particular URL it hangs at about 7%). No error messages
    are displayed, but the video never displays on the screen either. I
    would appreciate hearing from anyone who may have run into this
    before, or if someone can explain what is different about this type
    of file from regular Adobe Flash, that might help figure out what
    the ASA is objecting to. The ASA does not appear to generate any
    log messages about denying this type of traffic either.
    Thanks in advance for any help you can provide...

    Thanks, but I use publish/export settings with GPU hardware acceleration and flash version 11.2 (and 11.8) but nothing happening.
    And why gif file is not all transparenty then I insert on lightblue background? It can't export good quality? Also I use Photoshop, After Effects, Adobe Edge Animate. And nothing happening. Egde animate file .oam is not good for old website navigation. It can't be inserted in freeshop site from navigation... I use logo file .oam just for example here - http://e-shoptagras.graphicsrim.eu
    In reality I want swf file, but we don't find why logo flickering? here http://tagraseshop.graphicsrim.eu
    All file's are transparenty - https://mega.co.nz/#!f8B2CD5R!J8uCJt9Sdq4Suz4HLhTHz8bzJcSWXMBIKcKZgkD3z8c
    I need help! Please!

  • Load time issues FLEX swf vs. FLASH swf

    Hello,
    We are building FLex and Flash apps running on Flash 10.1.  In our situation, the load time for a 1080x768 swf is slower when building in Flex than in flash.  We have tried useing the preinitialize event to set at least a loading message, but the delay happens before the preinitialize event.  It seems to take 1-2 seconds to load the FLex API perhaps?  The only visula we can see is the background color of the stage.  Even with a simple nearly empty main canvas, the load is slow enough to be noticable.  More importanly it is faster when using a FLASH swf ( or pure AS3), so it must be related to the FLex aspect.  Is there anyway to cache the common classes or maybe exclude some that are not used?
    Thanks,
    Jeff Schuenke

    The main point of RSLs is to gamble on improving download time of the SWF at
    networks speeds.  The gamble is that someone has already loaded the RSL so
    it gets picked up off the browser cache at hard-drive speeds.  If it isn't
    true, you pay a higher penalty because you are loading an RSL that has code
    in it you aren't using.  That's why the total payload is more.  For the
    record, only the SWF or the SWZ gets loaded, not both.  But even then the
    total payload would be more.
    At home, my DSL/WIFI network gets me about 70KB/sec, so saving 300K would be
    a noticable savings.  If you are loading off a hard disk, 300K probably
    won't be felt.
    The startup sequence of a SWF over a network (http or https):
    -start streaming in SWF bytes
    -when the first frame is downloaded (generally about 80-100K) see how many
    bytes are left to download and if there is a lot, show a progress bar
    -load any RSLs and wait for their download and initialization
    -update the progress bar until the rest of the SWF downloads
    -after the SWF downloads:
        -initialize styles
        -initialize resources
        -prepare embedded fonts
        -setup managers for popups, tooltips, dragging if needed
        -instantiate Application
            -verify and initialize all classes needed by Application
            -dispatch Application preinitialize
            -instantiate the initial set of children for the Application
            -dispatch Application initialize
        -update progress bar to show "initializing"
        -start validation of Application and its children
        -continue to do so until all children are measured and layed out
        -dispatch Application creationComplete
        -add Application to stage (actually systemManager)
        -dispatch Application applicationComplete
    The startup sequence of a SWF on a hard drive is different.  The entire SWF
    must be sucked into memory, unzipped (SWFs are zipped by default) and only
    then do we get to the steps where we show a progress bar, check for RSLs,
    etc.
    At 3MB, there might be a noticeable hit.  You can find a big image file and
    zip it to see if it comes out to about 3MB.  Then use the file system to
    copy it and see how long that takes and then unzip it and see how long that
    takes.
    Another place that causes delay is in the validation of children.  If the
    children's size are not stable right away (because data is coming in that
    affects their size) then several validation passes might be taking place.
    A common error is to create every child in the app, even ones that aren't
    seen or needed right away.  That adds work at validation time and delays the
    startup process.
    I would recommend that you use the performance profiler in Flex Builder to
    see where all the time is being spent.
    However, 3MB is a big SWF. Use of modules to chop off stuff not needed until
    "later" is recommended and will probably be the answer.

  • SWF Loader scaling my SWFs

    Hello all,
    I have a Flex app that loads in a swf using 'SWFLoader' tag.
    the SWFloader and the swf being loaded in are the same height and
    width (see attached code) Now, the SWF getting loaded in is also
    468 X 351 however the designers that made it have crazy amount of
    random Movie Clips EVERYWHERE that isn't on the stage. My guess is
    that the actual height and width of the SWF is close to 1000 X
    1000. When I load this SWF in to my SWFLoader it scales everything
    down so all of the MovieClips are inside of this SWFLoader rather
    than just the SWF's Stage. Any Suggestions?

    "whomba" <[email protected]> wrote in
    message
    news:glq6j0$b20$[email protected]..
    > Hello all,
    > I have a Flex app that loads in a swf using 'SWFLoader'
    tag. the SWFloader
    > and
    > the swf being loaded in are the same height and width
    (see attached code)
    > Now,
    > the SWF getting loaded in is also 468 X 351 however the
    designers that
    > made it
    > have crazy amount of random Movie Clips EVERYWHERE that
    isn't on the
    > stage. My
    > guess is that the actual height and width of the SWF is
    close to 1000 X
    > 1000.
    > When I load this SWF in to my SWFLoader it scales
    everything down so all
    > of the
    > MovieClips are inside of this SWFLoader rather than just
    the SWF's Stage.
    > Any
    > Suggestions?
    >
    > <mx:SWFLoader id="mainMovieSWF" height="351"
    width="468"
    > source="{mainMovieSrc}" scaleContent="false"/>
    Try wrapping it as a component with the Flex component kit.
    That way you
    get to specify the bounding box.
    HTH;
    Amy

  • SWF loaded into MainNav SWF - Rollovers & Links Don't Work

    Hi all,
    This is probably a very basic question!
    I have a Fla file with Text and Movie clips in it. The Text
    is animated when rollover occurs and thumbnail images click and
    link to the full size versions.
    It works when published (Say "LatestText.SWF").
    But when I call it from my Main Nave FLA/SWF, upon loading
    the Text.SWF, the rollover anim doesn't happen and the picture
    links don't work when clicked.
    I have the latest flash player installed and the actual
    weblink cursor appears as if the SWF acknowledges everything is
    working, but nothing dynamic actually works.
    Any Ideas? THANKS ALL! Much appreciated!

    I'll try to flesh it out, although I don't think there's need
    for any code behaviours as they all work fine - until the info.SWF
    is loaded into the main.SWF.
    So i'll try my best to flesh this out:-
    I have a Navigation FLA which publishes to SWF (at the moment
    Allow access to Local Files - tried network).
    This Nav.FLA is the main bulk of the website, it has all the
    links and window panes.
    I have a downloaded window pane style component which is an
    autoscroller (in case this could be the problem).
    I can load my info.SWF's straight into the container, by way
    of an Actionscript Anim Frame (1) and when the Nav.SWF is tested or
    published, it indeed loads in the smaller info.SWF no problems and
    scrolls around beautifully,
    The Info.SWF's I'm creating is just basically embedded
    dynamic text, with a few movie clips that have Behaviours when
    clicked or rolled-over.
    These Behaviours do not seem to work when the Nav.SWF's
    window pane loads in the Info.SWF - they APPEAR clickable (mouse
    pointer changes to hand) but nothing clicks and THEN works. The
    rollover animations (actioned via behaviours from LABELS - not
    frame numbers) also do not work?
    Any ideas from those that know to those that struggle would
    be greatly appreciated! It's the first time I've encountered a
    problem with my Flash website that I can't seem to find an answer
    to in all my tutorials and books!
    There's a challenge!

  • Tweens don't work in multiple external AS2 SWFs loaded by AS3 SWF

    When I try to load a single external AS2 SWF in an AS3 parent
    SWF, scripted tweens using the mx.tween class work fine. However,
    when I load two or more external AS2 SWFs, the first will work, but
    in subsequent SWFs the tweens do not animate. Does anyone have a
    solution?
    Related post:
    http://www.actionscript.org/forums/showthread.php3?t=147637

    SymTsb,
    So what is the code to do that? To delete the TWEEN variable?
    easeTime = .5;
    var day_handlerX:Tween = new
    mx.transitions.Tween(daynightlabel_mc, "_x",
    mx.transitions.easing.Regular.easeOut, daynightlabel_mc._x,
    (left_point+daynightlabel_mc_leftDifference), easeTime, true);
    day_handlerX.onMotionFinished = function() {
    trace("day_handlerX="+day_handlerX);
    trace("day_handlerX onMotionFinished triggered");
    delete day_handlerX;
    trace("deleted day_handlerX="+day_handlerX);
    does not work. the TWEEN object is still there.
    Can ADOBE say something??
    AS3 is ...

  • My movie swf loaded into another swf

    Maybe I'll have better luck posting in this forum
    I cant get the movie I have loaded in ( a quiz ) to display
    the statistics about how many I have got wrong/right.
    is it possible to get it to show the data because it is the
    main part of the movie after the user has completed it.
    Do I need to put in the Drag and Drop things as well?
    Each quiz has one of these. Will the movie find the right
    details?
    Why should it do this?
    I am using load movie actionscript

    <A
    href="
    http://uk.geocities.com/[email protected]/indexgame.htm">thi
    s page</A>
    That URL is fubar. Tried
    http://uk.geocities.com/sarah/
    http://uk.geocities.com/sarah/indexgame.html
    But neither of those work either...
    Remove '_spamkiller_' to mail

  • Flash swf loading flashbuilder swf

    is there a trick for having a Flash CS4 website swf be able to load a flashbuilder4 generated swf?
    doesn't show up.
    i remember an issue from Flex3 concerning it locking up the gui unless you had a flex3 canvas or whatnot loaded prior.
    fb swf can load by itself fine via its html, and flash swf can load other flash swf's, but i can't get the flash swf to load the fb4 swf.
    thx

    If you have used fl.. classes in the CS4 swf it might prevent the Flex SWF
    from loading, but usually you get errors.

  • My Flash SWF file inside of my Flash Catalyst SWF won't play when previewed in Dreamweaver?

    However, when I preview the flash catalyst swf file, the flash swf thats inside, plays just fine. any suggestions or solutions?

    Does the one swf load the other swf?  If so, is the one swf in the same folder as the html file that embeds it?

  • How to Load/Unload external SWF

    Hey all, I'm in a desperate struggle to meet a deadline for college coursework. I am unable to UNLOAD an external SWF file that I have put inside another SWF file. The problem that is occurring is, although it loads successfully, when I attempt to navigate to another page after viewing the external SWF, I expect it to close as it goes on to another page however, it remains in place. If i then go back on to the page that it is loading from, it will start to keep adding more and more SWF's. The print screens should explain it easier... Below i'll post the code that I'm using currently. The external SWF I am trying to load/unload is an interactive hangman game (whether it being interactive has an effect I do not know), but any and all help with this would be seriously appreciated!
    The code currently being used is:
    var _swfLoader:Loader;
    var _swfContent:MovieClip;
    loadSWF("Real Hangman.swf");
    function loadSWF(path:String):void {
       var _req:URLRequest = new URLRequest();
       _req.url = path;
       _swfLoader = new Loader();
       setupListeners(_swfLoader.contentLoaderInfo);
       _swfLoader.load(_req);
    function setupListeners(dispatcher:IEventDispatcher):void {
       dispatcher.addEventListener(Event.COMPLETE, addSWF);
       dispatcher.addEventListener(ProgressEvent.PROGRESS, preloadSWF);
    function preloadSWF(event:ProgressEvent):void {
       var _perc:int = (event.bytesLoaded / event.bytesTotal) * 100;
       // swfPreloader.percentTF.text = _perc + "%";
    function addSWF(event:Event):void {
       event.target.removeEventListener(Event.COMPLETE, addSWF);
       event.target.removeEventListener(ProgressEvent.PROGRESS, preloadSWF);
       _swfContent = event.target.content;
       _swfContent.addEventListener("close", unloadSWF);
       addChild(_swfContent);
    function unloadSWF(event:Event):void {
       _swfLoader.unloadAndStop();
    removeChild(_swfContent);
       _swfContent = null;
    This printscreen is showing what it looks like in the Flash view (plain background and external SWF loads when this SWF is published)
    What it looks like when loaded as published swf
    Picture of the external SWF working inside the other SWF
    Picture of it not being able to unload when i navigate to another page!
    Finally, a picture of it doubling up when i proceed to go on the 'game' page again, it just keeps loading the SWF's rather than unloading them!

    for example, file1 consits of two buttons, and also considered as main page. As i click on these two buttons , it will lead me go to open the external file2.swf, and file3.swf respectively. (file2.swf and file3.swf could have other navigation buttons, however, i am just simplify here).
    the code you provided is working fine. but i want to totally remove/unlink the orginal file (file1.swf) when i click on either buttons which could lead me to other page (file1.swf or file2.swf).
    Besides that, in file2.swf and file3.swf could have another "back" button to turn it back to the main page (file1.swf). When the user click on that back button, the file2.swf will unloaded...and file1.swf will be called back again...
    can it  be done?
    so sorry if my poor explanation makes you confuse..
    thank you.

  • Flex Generated Swf Donot load in Flash On Publishing.

    Hello!
    I am facing one problem,I made a calendar.swf in flex.
    and I am trying to load that calendar.swf file in flash file get-calendar using Loader Class.
    calendar.swf is coming fine when I press cntrl+Enter
    i mean during compiling swf.
    But when I publish that using F12 then that flex swf donot load.
    What is the reason,,I dont understand it.
    Pls help!
    Thanks

    calendar.swf is compiled to run in the local-with-networking sandbox, while get-calendar.swf runs in local-with-filesystem. Loading one into the other causes a security error. Simplest solution is to change get-calendar.fla to local-with-networking:
    Publish Settings (Flash tab). Select Access network only in Local playback security.

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • How to embed Flex swf into existing Flash?

    Hello,
    I am brand new to Flex, so I desperately need your help!
    I have an existing Flash file, written in Flash 8. When I
    open this file, it plays in Flash Player 9, the latest player I
    have installed on my machine.
    This Flash file tries to dynamically load about.swf, a stub
    file created by the designer. It works.
    I am a programmer, so I want to create my own about.swf in
    Flex 2 and then substitue the existing about.swf written in Flash
    with my about.swf written in Flex. The problem is that the existing
    Flash file just displays a blank when I try loading about.swf
    written in Flex.
    Is there any way to load SWF file written in Flex 2 into an
    Flash file written in Flash 8?
    Thank you for your help!!!
    Evgueni

    I think no.
    Flash 8 uses Actionscript 2.0, but Flex 2.0 uses AS3. I think
    these will be incompatible, as they use different VMs.
    If the two swf's exist individually, in their res[pective VM,
    you can communicate between them using LocalConnection.
    Tracy

  • Calling flex functions from flash swf (AS3)

    Hi all, i'm stuck with communication between loaded AS3 SWF
    from Flash and Flex3 project. I use SWFLoader for runtime loading
    SWF, call functions inside SWF, but cannot find the way to call
    functions declared in Flex project. I try to use ExternalInterface
    class, but it does not help me, or maybe i use it incorrect. Is
    there a method to call Flex user declared functions from Flash SWF?
    All i need is a syntax sample, thank you in advance!

    Also, application.application will point to the top-level app
    scope, even from a loaded swf.
    I believe parentApplication will resolve to what you usually
    want as well.
    For looser coupling, consider using a bubbling event.
    Tracy

  • Loading a Flash 8 swf that loads another Flash 8 swf

    I'm trying to get a Flex swfloader component to load a Flash
    8 swf file at runtime, this works fine although the swf file...
    main.swf loads other swf files into levels e.g.
    main.swf contains:
    loadmovienum("menubar.swf",2);
    Everything works as expected unless I put main.swf in a Flex
    swf, where the menubar doesn't load up. Everything is in the same
    local directory and works fine if I run main.swf outside of Flex.
    Please help! I have run out of ideas.
    kimb

    Hey! It seems that when you load a Flash 8 (or AVM1) swf into
    a Flex application (or any AVM2 swf), it is unable to utilize its
    _levels correctly. To circumvent this issue, try creating an empty
    movieclip called level2, and that should work.
    Let me know if this work, because another issue can arise if
    you try to load multiple swfs on that same movieclip.

Maybe you are looking for