-
1. Re: documentReady versus creationComplete
elainefinnell Jun 19, 2013 10:52 AM (in response to AMULI)Hi, Gil-
All symbols have a creationComplete event, including the Stage (which is itself just a big symbol). documentReady only fires when the page is loaded, but the Animate events (creationComplete, compositionReady) will only fire after the Animate runtime is loaded. If I were to hazard a semi-educated guess, I'd say that documentReady likely will fire before the Animate runtime events, though you might hit a race condition where both of them will fire at about the same time.
If you're looking for initializing variables, etc., I'd suggest compositionReady.
Hope that helps,
-Elaine
-
2. Re: documentReady versus creationComplete
AMULI Jun 19, 2013 11:35 AM (in response to elainefinnell)Thank you, Elaine. This clarifies greatly.
By the way, I discover documentReady and compositionReady, that up to now I got mixed up ! Learning everyday
Gil
-
3. Re: documentReady versus creationComplete
elainefinnell Jun 19, 2013 12:10 PM (in response to AMULI)Ah, okay! Glad to have been of help!
-Elaine
-
4. Re: documentReady versus creationComplete
Shawn Kelshaw Oct 21, 2014 9:15 PM (in response to elainefinnell)I was hoping to reignite this topic by adding another curiosity to the mix...
How does Edge's preloader ability work with all this? I am having trouble getting a dependable and consistent preload on a ehhhe kinda large homepage intro...
- If I add a preloader to the animation do I uncheck "autoplay" on the stage (as an fyi, no user interaction is necessary to start the animation; it should begin after everything is loaded and ready to play a smooth animation)?
- Does adding a preloader also add a "documentReady" in the background? If not, do I add this in conjunction with a preloader?
- If adding a preloader, is it also wise to add a creationComplete for the stage AND turn-off autoplay?
- Does autoplay have anything to do with jerky playback and preloading??
- If I recall some old Flash knowledge, we had to take a few frames on the main timeline and dedicate them to a loop which watched for last frame or bytes before proceeding to another point in the timeline..(I'm showing my age here cause that was AS2). Not sure why I added this bullet if only to suggest I have a little knowledge about this stuff...
- Can someone point me to a comprehensive tutorial or documentation on how to properly handle larger than normal (but not necessarily huge) animations? The ones I have come across tell me what is already obvious
thanks in advance!
s




