I went into having nothing on the stage and attaching everything in actionscript. Now my preloader is useless since it sees nothing to load.
Any tips or flat out answers for me to learn how do make it load?
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 6-7 years
- Interviewed on the Envato Notes blog
- Item was Featured
- Microlancer Beta Tester
- Referred between 200 and 499 users
I went into having nothing on the stage and attaching everything in actionscript. Now my preloader is useless since it sees nothing to load. Any tips or flat out answers for me to learn how do make it load?
When you export assets from library to first frame using the linkage command then flash loads the assets in the first frame before initializing the movie so if you even have a preloader it wouldn’t work as the code executes after the assets are loaded in the first frame.
There is a work around for this issue and that is that you place all the assets which you attach via actionscript on their 2nd keyframes and add a stop() on their first frame and then place all those assets somewhere off the stage, and that will solve the problem.
My preloader takes up the first 5 frames and all my actions are on one empty frame on 6.
So if I understand correctly, when it hits frame 6 all the assets were loaded before the preloader. I should create a frame 7 and physically put down everything I’ve attached through actionscript onto the stage. right?
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 6-7 years
- Interviewed on the Envato Notes blog
- Item was Featured
- Microlancer Beta Tester
- Referred between 200 and 499 users
My preloader takes up the first 5 frames and all my actions are on one empty frame on 6. So if I understand correctly, when it hits frame 6 all the assets were loaded before the preloader. I should create a frame 7 and physically put down everything I’ve attached through actionscript onto the stage. right?
Yes try that.
You could also make a preloader for extarnal files
Are there tutorials anywhere. It’s easier said than understood.
