FORUMS: list search recent posts

IF statement help!!

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
John Hammond
IF statement help!!
on Feb 10, 2009 at 11:49:32 am

I am pretty new to Actionscript. I know a bit about IF statements from coding in after effects.. basically I have a 20 second FLV movie on my homepage.

I'm after a bit of code that says, when loading,

If, after 10 seconds --(i.e. 50% of the length of my flv)--,
over 50% of the file has downloaded,
then go to frame 2 (where my flv will start playing)

--so that basically people with quick web connections don't have to wait for 100% of the file to download before it starts to play.

Any pointers with the code/syntax would be greatly appreciated!

PS. my movie is a seemless loop. Is there a way to code a fade from black that only happens on the first play?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved