Loading one .swf in another on the top layer

I load a drop-down list on the file menu in another animation. It works except the menus should fall on the animation below. As the images change in the low-level animation they hide menu drop-down that appears.

The command I use to load the menus is as follows:

var myLoader:Loader = new Loader(); addChild (myLoader); var url: URLRequest = new URLRequest ("ncjhs_Menus.swf"); myLoader.load (url);

I need to load menus - with all its layers - in the surface layer. Is there a simple way to define the target layer during the loading of a movie? I guess you must specify a container/object target in the target...?

Thank you
Sam

You can create a displayobjectcontainer (like a movieclip), add it to your main timeline and then add all your animations to this movieclip.  If you add your charger to the main timeline after this movieclip is added, your menu appears above all your animation objects.

There are other ways to accomplish the end although, depending on your configuration, there may be better ways to do it.

Tags: Adobe Animate

Similar Questions

  • Whenever I have move photos from one folder to another file, the picture is no longer accessible.

    I use Windows XP - perfectly up-to-date.  Whenever I have move photos from one folder to another file, the picture is no longer available and cannot be removed with using unlocker.  This has happened for several years.  I copy pictures and new folders whenever I want to move them, but sometimes I forget and move them and then I lose the picture I'm trying.  I also noticed that there is a strange file that opens in the trash that won't let me remove it without using unlocker. These files start with "Dd" followed be a number.  When I delete these use unlocker, another will appear the a different number on this subject.  It is a very maddening problem.  It is not possible for me to do a system restore because it lasts for quite awhile.  Please help - I'm tired of losing pictures that I can't replace.  Thank you for your help.

    Hi JB_11321,

    Thanks for the reply.

    Have you tried methods 1 and 3 mentioned in my previous post?

    We meet after completing the steps so that we can better help you.

  • How to migrate code from one environment to another in the MFT 12 c

    Hi all

    How to migrate code from one environment to another in the MFT 12 c.

    Thank you and best regards,

    Tilquin.

    MFT has t2p plugin that can be used to migrate the metadata for production test.

    There is an export option in the transfer page in the MFT UI that can be used to export metadata data transfer.

    This exported zip can be imported in any other environment after making the necessary changes.

  • Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - problem: cannot tab field one entry to another; Hit the tab hides instead all pallets; Is there a solution? It didn't happen in Adobe Indesign CC

    Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - problem: cannot tab field one entry to another; Hit the tab hides instead all pallets; Is there a solution? It didn't happen in Adobe Indesign CC

    This should be corrected in the next version.

  • MC of adjustment on the top layer

    I have 3 layers in flash on 1 keyframe in the timeline that is just good.

    Have a rotating banner that I bought and it's all scripts that works very well.

    But I want another video clip to be at the top of the rotating banner. It's on the top of the page whithin the range of layers, but when the SWF file is previewd my MC I want on top or underneath.

    How do I action this MC it is on the top layer

    Thank you

    You say that the banner is all scripted, so I assume you mean that it is dynamically added to the film.  You might try to target the banner to add an empty movieclip which is placed manually in the timeline panel to sit under the movieclip you want on top.

    Similarly, you could dynamically load the movieclip after addition of the banner so that it deals with a greater depth.

  • Create the top layer with transparency

    Hi all

    I created a SWF for the header of my site. On the top layer, I have an image that remains static, while the rest of the header changes images. I try to get the static image to be fairly transparent but am not having much luck. PS I recorded it with transparency, I created the image, but it doesn't seem right in the swf file.

    Any suggestions?

    Thanks in advance

    Chris

    When registering for the web of the PS use PNG24.

  • If you have two video layers, how did you composite the bottom of the top layer in the layer below mate in Premiere Pro?

    If you have two video layers, how did you composite the bottom of the top layer in the layer below mate in Premiere Pro?

    You have an element that contains the matte and the other clip contains the filling?

    Put the matte clip on a track directly above the clip to fill.

    Go to the effects Panel > video effects > Keying > overlay cache track and apply the overlay cache track for your video of filling on the timeline.

    Ensure that this clip is selected in the timeline panel and then go to the effect controls panel, whirlpool open orders the overlay to cover track by clicking on the triangle next the the name of the effect and Matte together: to the video track containing the Matte Clip.

    MtD

  • Interactive PDF layers appear behind the text. A script can move them to the top layer?

    I have created a form in InDesign CC (latest version on a Mac under El Capitan). I export the form in PDF format. There are some interactive tooltips (with suggestions on how to fill in each particular field) implemented as buttons. The control keys are static. When I click on the trigger, the bubble appears, when I click on the bubble, it disappears. The problem is that even if the bubbles are set up on the top layer in InDesign, in many cases they appear behind the text layer.

    Is there a script that I can add to each individual bubble that says "when this bubble is active, move it to the top layer?

    This project took over 3 weeks of troubleshooting. In the end I came up with my own results. The answer was "no, it isn't a script."

    With the help of the Adobe customer service, we found that because in the InDesign file, I had the pop-ups on a different layer than the triggers, it was causing a problem of overlap. I found myself by combining the layers into a single, moving pop ups to the elements high on the page in the layers palette.

    Then I exported (interactive) PDF from InDesign and in the PDF file, in edit mode, in the fields Panel, I've selected all the pop-ups and offers them to at the bottom of each page [z-index property]. A lot of manual labor, but in the end, I got most of the results I wanted.

  • addChildAt to the confusion of the top layer

    Level 2

    If (score == 10 & & score < 30) {}

    var myMovieClipbg:winbg = new winbg();

    myMovieClipbg.x = 0;

    myMovieClipbg.y = 5;

    addChildAt(myMovieClipbg,1);

    }

    level 3

    Else if (score > 30 & & score < 60) {}

    var lastmc: tired = new tired();

    lastmc.x = 0;

    lastmc.y = 0;

    addChildAt (lastmc, 1);

    }

    'lastmc' should be the bottom of the top layer when the score is greater than 30. but it's not working. also if I use addChild (lastmc) . He became top of all layers. so my heroes and enemies all go down. I can not play. but the need lastmc just top of myMovieClipbg background layer.

    I suppose the confusion coming from addChildAt


    Note addChildAt(myMovieClipbg,1); works very well for the second level. it brings the high bottom of the first background.

    but addChildAt (lastmc, 1); fails to put in the background of the second context

    Try:

    tanvira5454192 wrote:

    Level 2

    If (score == 10 & score)<30>

    var myMovieClipbg:winbg = new winbg();

    myMovieClipbg.x = 0;

    myMovieClipbg.y = 5;

    addChildAt(myMovieClipbg,1);

    }

    level 3

    Else if (score > 30 & score)<>

    var lastmc: tired = new tired();

    lastmc.x = 0;

    lastmc.y = 0;

    myMovieClipbg.addChild (lastmc);

    }

  • I have a modal using html and css that opens very well.  However, given that modal is on layer 2 layer 1 objects fade out (gray out) in the background.  I can't put the modal on the top layer, so that it appears on all my pages.  It is specifi c that

    I have a modal using html and css that opens very well.  However, the modal is on layer 2 that the objects in the layer 1 fade out (gray out) in the background when the modal opens.

    I can't put the modal on the top layer, so that it appears on all my pages.  It is specific to the single page on my site.

    Here is the link: http://www.ueonline.com/website_NEW/certificationsapprovals.html#openModal

    Any help is appreciate!

    You can create a separate mask for this specific page with modal to the top layer and then apply that master page.

    Thank you

    Sanjit

  • How to expose the layers beneath the top layer

    Only, I 4 days left on my trial and should know basically how to expose and layer transition under the top layer, leaving the top layer intact. I have seen a lot of adobe and Lynda.com videos, but can't seem to find what I need.

    I have recorded a concert of piano and you want to add a vocal part and images during the performance and the end of the performance.  Some of the videos may also contain a piece of music which I can't understand.  I hope that makes sense.

    I'm looking for just a source of help, videos or web pages to guide me.  I do not line-by-line instructions here.

    Thanks for any help and God bless you,

    MarkASam888 wrote:

    I'm very new to editing video and especially After effects and maybe it's not a better method, but it works for now.

    I'm glad it works for now, but here's a point to consider for the future.  From your description of the project, it would probably easier and faster to do in editing instead of AE application.  AE is an extremely modest editor.

  • Best way to move data from one page to another within the app

    Hi all as I started to write that and was way to complicated to explain in full without a novel.

    Brief description. I use the query string that begins in the parent (from href in JSON) window must then be moved in the iframe url when moving to other pages to avoid security as a page and iframe is conflicting http and https. and are not accessible... It seems that there must be a better way.

    So my question is what is the best way in a platform open to move data from one page to another?

    You do it this way, it's in the menu.json, but when you work within the iframe and if your loading pages in applications using vairable relative URLS cross they come through.
    Discovered only this framework using the browser and you can se the construction and scope of all URLS used.

    The apps are sandboxed you cannot access aything in the parent frame, this is a feature of derliberate if something you can not do.

    As I said, you have a few methods to your own data storage space.

  • load a SWF into another domain and access its functions and variables

    I need to load a swf file into another domain and call its functions and access to its variables, in the same field, I can load and access its functions successfully, but in different areas not.

    control the class security.  Depending on the browser version that you're targeting you might be able to get out of the allowDomain() method, but you'll probably want to use a cross-domain security file.

  • problem with one.swf in another.swf setMask() method


    I want to apply a dynamic mask to an another movie.swf who is responsible in a mc.
    It should work, but it s not - what is hell is wrong?
    I ve works with this problem for about 3 days.

    Please tell me if it's my lack of knowledge or if it's something that
    Flash 8 can not handle properly.




    1. I ve had navigation.swf that contain 6 buttons
    and a movieclip called containerMC which act as a support for loaded movies
    in this examle load galleri.swf.

    2. galleri.swf contain a layer mask with a mc called mcMaskGalleri
    (acting as a mask) and a layer mask with a mc called mcGalleri.

    3 when I pressed a button in navigation.swf I want to hide
    mcGalleri in galleri.swf by the present code on each button in navigation.swf:

    {We (Press)}
    this.containerMC.mcGalleri.setMask (mcMaskGalleri);
    }

    But it don't work and even tried to I ve:

    {We (Press)}
    _parent.containerMC.mcGalleri.SetMask (mcMaskGalleri);
    }

    {We (Press)}
    _root.containerMC.mcGalleri.SetMask (mcMaskGalleri);
    }

    But nothing works
    Yes, that works if I put a mc in the galleri.swf and let it act as a button and run this code:

    this.mcBtnTest.onPress = function() {}
    trace ("hurry mcBtnis");
    mcGalleri.setMask (mcMaskGalleri);
    };



    What could possible be wrong?

    I appreciate every response

    You are welcome.

  • Moving files from one event to another in the same library

    When I try to move the file by dragging the clip from one event to another, I get this message that "the file could not be opened because there is no file of this type." I have Final Cut Pro X was last updated.

    I find it interesting since when I imported the raw images from an SD card for Final Cut Pro, I copied all the files in the library. I even played the files and they worked.

    I would be very grateful for any answer I can receive. If worse comes to worse, I can always import the images even once to the appropriate event, because I still images raw on one SD card.

    You can post a screenshot of your browser?

    In addition, what happens when you use the reveal based on the Finder.

Maybe you are looking for