|
-
Flash Game Developer
function progressHandler (event:ProgressEvent):void {
status_txt.text = int((event.currentTarget.percentComplete)*10) + "%";
}
function completeHandler (event:Event): void {
progressBar.removeEventListener(ProgressEvent.PROG RESS, progressHandler);
progressBar.removeEventListener(Event.COMPLETE, completeHandler);
removeChild(progressBar);
this.parent.removeChild(status_txt);
this.parent.removeChild(progressBar);
bgtUI.alpha = 100;
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|