Jump to content
Search Community

how to save the loaded content in LoaderMax

@flash test
Moderator Tag

Recommended Posts

I have loaded some list of swf's using LoaderMax, In the complete event, i parsing the data like below

 

var myData = LoaderMax.getContent("file1");

.

.

then i clear the loaders through queue.dispose();

 

now i want that "file1" data and need to pass this data(myData) into another class(which doesn't have any loader max libraray import).

 

 

Link to comment
Share on other sites

The content of a SWFLoader is a ContentDisplay object (a customized Sprite created by GreenSock) http://api.greensock.com/as/com/greensock/loading/display/ContentDisplay.html

 

You may want to get the rawContent of the SWFLoader which is either a native DisplayObject  or Loader as described here:

 

http://api.greensock.com/as/com/greensock/loading/core/DisplayObjectLoader.html#rawContent

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...