A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Load Movie Problem Help Please!!!!

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    7

    Load Movie Problem Help Please!!!!

    I have loaded an external swf into my timeline using a frame and this actionscript

    createEmptyMovieClip("anim", 0);
    //create a new but empty movie clip (anim)
    anim.loadMovie("3DlikeNews.swf");
    //load "3DlikeNews.swf" into the empty (anim) movie clip
    anim._x = 0.5;
    //Adjust the position of the imported "3DlikeNews.swf" file
    anim._y = 320.5;

    everything works good except the navigation does not work anymore when you go to this frame with the loader.

    here is the url
    http://dirtyrattrecords.com/test/
    If you click the news it loads a swf but all other buttons don't work. To I need to add an unload movie function.

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    you're setting the new movieclip to a level of 0 so it will replace everything. try this instead:

    createEmptyMovieClip("anim", this.getNextHighestDepth());
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    7

    Still Not working

    This is a clip I bought from flashden and it seems like it is taking over the entire movie. I know it is something small and minor.

  4. #4
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    hmm ok. try this. right below
    createEmptyMovieClip("anim", 0);

    add

    anim._lockroot = true;

    if the clip you bought uses _root anywhere it will break upon being loaded, _lockroot will take care of that if it's the problem.
    Evolve Designs Interactive Media
    the natural selection

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    7
    That didn't do the trick either. Can I send you the Fla? Once i know the problem I can help someone else. I am more a designer than action script but I know my way around the kitchen.

  6. #6
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    sure ryan at evolvedesigns dot com (include a link to this thread with the email so i remember what it's for)
    Evolve Designs Interactive Media
    the natural selection

  7. #7
    Junior Member
    Join Date
    Jun 2007
    Posts
    7

    Email Sent

    Email Sent

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