1 person found this helpful
I feel that your loadProgress is firing prior to creation of _Player object in player.as.
So call loadProgress method on Player INIT event.
I tried your way and it works fine, but it defeats the purpose of getting the byteload and bytetotal in my Main.as...I wish to add my three byteload and bytetotal in my Main.as....any idea???? Thanks for the help!
I am not sure what Player.as actually holds as its a part of the whole code.
Check out for a progress event in Player.as and track that event in main.as.
Now add the loadProgress() method to the addEventListener for progress in main.as
Hope this helps
Nice. I got it work now...Appreciate the help!!