Hi I’m creating a flash file that has a 2mb video that plays on frame three but for some reason any preloader I’ve tried to use doesn’t work, and I’m just not sure if I’m missing anything or what I am doing wrong.
On frame 1 I’ve got:
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
preloader._width = amountLoaded * 200;
loadText.text = Math.round(amountLoaded * 100) + "%";
frame 2 I’ve got:
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
}
else {
gotoAndPlay(1);
}
and then on frame 3 i have the video with a simple stop.
When I simulate the download it doesn’t shift from frame 1, it loads to about 90% and then goes onto frame 2, the preloader works for a second and then it goes onto frame 3.
What am I missing here? any help would be greatly appreciated.
Thankyou