Preloader with tiff sequence

i exported a video to a bitmap or tiff sequence then imported it to mx. how would i make the frames play as a loading bar for the site.

if you dont get what i am saying please pm me…

thanks

Import the sequence into a movie clip, and put this code in the frame actions of the main timeline:
[AS]sequence_mc.onEnterFrame = function() {
var loaded = this._parent.getBytesLoaded();
var total = this._parent.getBytesTotal();
var frame = Math.ceil(this._totalframes*loaded/total);
this.gotoAndStop(frame);
};
sequence_mc.stop();
this.stop();[/AS]
Where sequence_mc is the instance name of the movie clip into which you imported the sequence. :wink:

And welcome to kirupa forum! :stuck_out_tongue: