Jump to content
Search Community

How to load facebook profile image using LoaderMax?

phuongngoc test
Moderator Tag

Recommended Posts

Hi and welcome to the GreenSock forums.

 

The url you are using doesn't contain a file extension so LoaderMax has no way of knowing what type of loader to create (SWFLoader, ImageLoader, VideoLoader etc). 

 

http://api.greensock.com/as/com/greensock/loading/LoaderMax.html#parse()

 

You will have to construct an ImageLoader for that asset

var profile:ImageLoader = new ImageLoader("https://graph.facebook.com/100005284152430/picture
", {});
  • Like 1
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...