I added a preloader to my flash file, it is in a separate scene called loading, and it links to my main scene when fully loaded.
this is the code i used to set it up
if (_framesloaded>=_totalframes) {
_root.gotoAndPlay(“main1”);
} else {
_root.gotoAndPlay(1);
}
When it loads the main movie, it hangs on the first frame, it seems. Does not function. If i right click however and click “forward”, then the movie proceeds corectly, why is this, and how can i make it play on its own?
Also, this is super annoying…once my preloader has been added, all my graphics that have been imported become very low res, what is causing this, and how might i fix it as well.
Remove the scence. And put the code in the first frame of your movie. As i told someone else earlier i dont like scenes and i dont encourage people to use them. Just add the code to the first frame of your swf and have your content start from frame 2.
It works, thats a great tutorial there. The only thing is that my percentage number doesnt show up? I thought that was what the dynamic text box was for. It for some reason is not showing up at all.
Also, the graphics i imported are now all low res with jagged edges…what might be causing this? All my vector images are fine of course, bu the others are messed up. Should they all be symbols, or not, i think they are now!
Thanks for the preloader help, thats a great feeling to see it working.
Hi thanks for compliment, the tutorial is based on the one found here on kirupa.com. I just explained things in a bit more depth. I’m not sure why the text isnt showing. Double check your spelling for the variables. If you want, paste the code and i’ll look at it.
As for the quality, prehaps your viewing it in low quality. Right click on your swf and in the menu that appears go to ‘Quality’ and make sure theres a tick next to ‘High’.
Nice call, I had Loaded Text instead of load Text. makes a difference for sure
Thanks alot
I checked the quality, and it is on high, it is only some of my images, actually my photos i imported, some are fine and some are not. I have no idea why this is.