Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use labels for preloaders

Status
Not open for further replies.

soulknite

Technical User
Jan 11, 2002
11
US
Hi is there a way to use labels instead of frame numbers when determining when a preloader starts a movie?

I want to preload a movie and play it once it gets to a label in a scene. All I see are ways to load from frame number (ei. _framesloaded >= 32)

Thanks in advance.
 
Don't you know the frame number of this labeled frame?

In any case, most preloaders are now usually based on bytes loaded ( getBytesLoaded() - getBytesTotal() ), and/or on a percentage of bytes loaded.

Regards,

cubalibre2.gif
 
Yes I know the number. However I wanted to find of if there was a way just in case I increase or decrease the number of frames in a scene. but i can use 'frames' or 'bytes' for the time being and I saw good examples. Just didn't see a way to do it via labels.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top