Hi guys
I have two classes. A main class called core.as and a bg.as class which loads a background.
I want to send the loaded percent from bg.as to core.as
private function progressHandler(event:ProgressEvent):void {
var percent:Number = Math.round((event.bytesLoaded / event.bytesTotal )*100 );
}
This is my progressHandler where i get the percent loaded and stores it in the variable called “percent” - How do i get this out to my core.as file?