Tuesday, July 6, 2010

Functionality of URLLoader Class

To get data from outside world into our swf we need "URLLoader" class.

The URLLoader takes a URLRequest Object and allows you to load information from that location or send and load information from that location. The URLLoader is an Event Dispatcher, so it uses events to notify any listeners

  • When it begins loading data.
  • If there's an error.
  • What the status of the http request is 
  • When there's any progress and finally
  • When its complete
Load Method is used for loading.

No comments:

Post a Comment

Suggestions are heartily awaited.