TwelvestoneFlash

preloaders and dynamic content


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
dave_boo
 
2008-08-19

its been a while since I've worked with the dreaded 'preloader' and have a few questions ...

if i am calling audio files using unique identifiers (so no physical instances on the timeline) will the file weights of the audio be accounted for in the preloader, or will it only reflect content that is actually sitting on the timeline?

Storm
 
2008-08-19

if they're brought into the Library and exported as linked items, then your calculations of bytesLoaded versus totalBytes will be accurate....

but if you're calling them externally from a folder beside the .swf then NO.

scudsucker
 
2008-08-20

I strongly recommend with the dreaded preloader, to make sure the instances in the library are not set to "export on first frame", as they will then be loaded before any preloader code can kick in.

Better to have a 3 frame movie- frame 1 has preloader code, with a gotoAndStop(3) when the movie is loaded. Frame 2 has instances of the linked items on the stage - which will never be seen/played but will thus be included in the preload, frame 3 has the actual website.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

preloaders and dynamic content