Hi All,

I have a preloader.swf that loads the main "content" swf of my website. All is working alright, except once the preloader is done, the content swf doesn't start at frame one.

Basically in the content swf I have some images and text that scroll onto the screen at frame one before the 'home' screen, but when preloader finishes it skips the animation and goes straight to the home screen. This isn't a big deal, but obviously it would be nice it people could see the animations at the start...

The script for the preloader is:

var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent .PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLET E, done);
l.load(new URLRequest("content.swf"));

function loop(e:ProgressEvent):void
{
var perc:Number = e.bytesLoaded / e.bytesTotal;
percent.text = Math.ceil(perc*100) + '%'.toString();
}

function done(e:Event):void
{
removeChildAt(0);
percent = null;
addChild(l);
}
If anyone has any suggestions I would be most grateful!

Cheers

Leesome