ThemeForest

attachMovie vs. Preloaders

63 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 200 and 499 users
  • Sold between 100 and 1 000 dollars
coupdegrace says

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?

2478 posts Premium Scripts, Plugins and Themes
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 200 and 499 users
+1 more
LucidStudios says
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.

63 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 200 and 499 users
  • Sold between 100 and 1 000 dollars
coupdegrace says

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?

2478 posts Premium Scripts, Plugins and Themes
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 200 and 499 users
+1 more
LucidStudios says
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.

609 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Sold between 10 000 and 50 000 dollars
Richardson says

You could also make a preloader for extarnal files

63 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 200 and 499 users
  • Sold between 100 and 1 000 dollars
coupdegrace says

Are there tutorials anywhere. It’s easier said than understood.

by
by
by
by
by