Help with a preloader (small prob)

  • Stephan
  • Born
  • Born
  • Stephan
  • Posts: 3
  • Loc: UK - Scotland

Post 3+ Months Ago

Implemented a pre-loader to main.swf to call a external.swf , now this works great using the loadmovie() external.swf , frame 1, the problem I have the pre-loader is loading the ex movie but the loadind my next frames page on top of the ex .swf or behind the ex.swf ?

hmmm well here is the loadmovie() method , have also called a stop method but seems to run to the next frame ?
Code: [ Select ]
}

onClipEvent (load) {
    
    p = Math.round((_root.getBytesLoaded()/tkb)*100);
    
    _root.percent = p;
    
    if (p == 100) {
        
    unloadMovieNum (1);

  loadMovie ("pine.swf", 1);

stop ();



    }
}
  1. }
  2. onClipEvent (load) {
  3.     
  4.     p = Math.round((_root.getBytesLoaded()/tkb)*100);
  5.     
  6.     _root.percent = p;
  7.     
  8.     if (p == 100) {
  9.         
  10.     unloadMovieNum (1);
  11.   loadMovie ("pine.swf", 1);
  12. stop ();
  13.     }
  14. }


Thanks for your help in advance .... cheers

Stephan
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Nunzio390
  • Student
  • Student
  • User avatar
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)

Post 3+ Months Ago

Posted in wrong forum. Can an admin/mod please move this to the Flash and ActionScript Forum , so this guy can get a proper response to his question?
  • Stephan
  • Born
  • Born
  • Stephan
  • Posts: 3
  • Loc: UK - Scotland

Post 3+ Months Ago

Sorry
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

if you have a problem loading it on the right plane/level than
simply put the loadMovie command on the right layer of the
main movie. It will display in the right visual order then.

I didn't look at your code, sorry. I think this is the issue.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.