as3 help
- Started
- Last post
- 3 Responses
- Moo
I'm having a major issue with a flash preloader which seems to work offline but not online http://esaltoneurope.co.uk/dev/f… it seems to stay on the loading bar even though i've added a script to goAndPlay the next key frame but it only continues playing if you right click and select play again which is strange. Any ideas peps??
Cheers
m00Here is the as3 code i've used on the loader:
stop();
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, loadmymovie);
function loadmymovie(event:ProgressEvent... {
var pcent:Number=event.bytesLoaded/e...
loadingmc.scaleX=pcent/100;
textbox.text=int(pcent)+"%";
if(pcent==99){
gotoAndPlay(2);
}
}
- FixMiller0
works for me, i guess you solved it
- FixMiller0
works for me, i guess you solved it
- acescence0
i'm guessing it was the pcent == 99, should check if it's > 99