FORUMS: list search recent posts

preloader movie

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
john mason
preloader movie
on Dec 1, 2005 at 6:22:16 am

Thanks for all your help. ok here is my question, i have a movie that is 35 frames long and i want to turn it into my preloader i want the % loaded to load that % of frames not sure how to scrip it any help would be great thank you very much.


Return to posts index

LeeBrimelow
Re: preloader movie
on Dec 1, 2005 at 6:28:19 am

Something like this should work...

var perc:Number = _root.getBytesLoaded()/_root.getBytesTotal();
yourLoaderClip.gotoAndStop(Math.floor(35*perc));

I haven't tested this but it's generally how I would do something like this.

Lee


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]