Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My Preloader wont work

Status
Not open for further replies.

wikfx

IS-IT--Management
Dec 16, 2001
196
MT
ok I have a main scene called " main " I just finished it and now I want to add a preloader so I created another scene called " pre " and placed it before " main " now the preloader is a bytes preloader and it uses the _root command in the coding but my main scene also uses the _root command and I am thinking if this is wat is wrong anyway when I run my swf with the preloader all my buttons that are using the _root command get all mixed up I do not know what to do please help me :)

--WiCKED
 
Hard to say without seeing your exact code. You should post a link to your .fla, so we can have a look.

BTW... _root is not a command or an action, it's the path to your main movie's timeline, and using _root even in your preloader, seems appropriate. What may be happening, if you're using "gotos" with a frame number, is that you forgot to add the number of your preloader frames, now also part of your movie.

Thus, before adding your preloader, if you add such an action as _root.gotoAndStop(6); and that you've now added a 4 frames preloader, that goto should now be _root.gotoAndStop(10);

A better way, would be to use frame labels rather than numbers, you wouldn't have that problem.

_root.gotoAndStop("frame_label"); Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top