Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

loading........

poop kzopoop kzo Member Posts: 6
I have seen on flash that you can show the percent % of the file loaded. I dont know but i think they use _framesloaded, but i cant figure it out. i would like ot know how to use this number as dynamic text to show how much longer it will take to load. thanks

limpskunk@hotmail.com

Comments

  • JomacJomac Member Posts: 231
    : I have seen on flash that you can show the percent % of the file loaded. I dont know but i think they use _framesloaded, but i cant figure it out. i would like ot know how to use this number as dynamic text to show how much longer it will take to load. thanks
    :
    : limpskunk@hotmail.com
    :

    What you need to do is make the second frame in your first scene check if:

    [b]_framesloaded >= _totalframes[/b]

    if it is then the movie is loaded otherwise, send it back to frame 1 where it can play and check again.

    You can work out the percentage with simple math, and display it in a text field or resize an image to look like a progress bar.

    Regards Jomac.


Sign In or Register to comment.