A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Urgent! attachMovie/loadedMovie problem

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    250

    Urgent! attachMovie/loadedMovie problem

    How do I place an attached movie from the library above a loaded movie.swf-that is already loaded into level 100?

    Here is my hierarchy > I launch a movie that then loads a second movie.swf. Now, When I attach a clip(icomments) from the library, I would like it to appear on top of the current loadMovie("clip1.swf", _level100);

    I tried iclip._level10000; //but it still appear below thee loaded swf

    I tried the swapDepths function but it has no effect. Is my code correct?

    Urgent!!

    function fshow2()
    {
    attachMovie("icomments","icomments",_level60000);
    _root.icomments.swapDepths("_level100");//no effect
    }

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    35
    you must give the movie that is to be attach a linkage name, go to the librery then right click on the clip to attach choose linkage give it a name you can remember for this example we will use Repla_mc, then you can do this if you movie on the stage is named myMc;

    myMc.attachMovie("Repla_mc","Replace_mc",1);

    this should do it. hope it helps
    Post no bills

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Posts
    250
    no problem in attaching the movie. The problem is that it appears below a loaded SWF.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center