Yes, after the score order has been used, the cast order comes into play.

Palettes & Fonts get an exception & come down first, because any 
bitmap or Text member could need that corresponding associate member.

One byproduct of knowing that the score order is primary, is that you 
can control this ordering by placing a sequence of single-width 
sprites in the score and then have the playhead hop over them.

There had been a Tech Note about this at one point, but I can't find 
it in the support center anymore.

-Buzz

At 12:58 PM -0700 6/20/01, Kerry Thompson wrote:
>>Cast order doesn't matter
>>Score order matters.
>
>Doesn't cast order matter if you're loading images with Lingo, but 
>they aren't in the score?
>
>My understanding is, Shockwave will download the assets it needs for 
>the first n frames (however many you tell it), then the rest of the 
>assets in the score.
>
>After that, though, it downloads members by cast order. So, say I 
>have 100 jpeg images that I'm swapping in and out with Lingo. The 
>score doesn't know about them, so Shock will download them in cast 
>order, right?
>
>Since my style tends to be Lingo-heavy, I usually create a dummy 
>cast member *after* all the other assets, and loop on the mediaReady 
>property of that dummy cast member. When it's loaded, I know it's 
>safe to go out and use my assets.
>
>It seems that an alternative would be to check the mediaReady of a 
>particular member before you use it. There are some problems 
>inherent in that, though--lots of extra code, and the possibility 
>that the script you need hasn't been downloaded yet.
>
>
>Cordially,
>
>Kerry Thompson
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to