Jump to content
Search Community

How do you listen for a netStatus event on a VideoLoader?

jguthrie test
Moderator Tag

Recommended Posts

  • 4 weeks later...

The confusion is due to an error in the ASDocs.

 

netStatus event

Event object type: flash.events.NetStatusEvent

 

Line #28 in VideoLoader.as is currently:

 

[Event(name="netStatus", type="flash.events.NetStatusEvent")]

 

and it should be:

 

[Event(name="netStatus",type="com.greensock.events.LoaderEvent"]

 

It is just using the same string as NetStatusEvent.NET_STATUS, but it is actually a LoaderEvent that is dispatched.

 

Hope that helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...