icekomo Posted April 10, 2013 Share Posted April 10, 2013 Has anyone used Loadermax to preload a starling project? I have used Loadermax in the past, but seem to be stumped on how to get it working for a starling project. Does anyone have any suggestions or some sample code they could should me. I am using Flash Pro 6, if that makes a difference. Thanks! Link to comment Share on other sites More sharing options...
Carl Posted April 11, 2013 Share Posted April 11, 2013 Hi, I have zero experience with Starling. From my limited understanding Starling does not use the typical DisplayObjects like Sprite and MovieClip. ImageLoader's place the loaded bitmaps into a ContentDisplay Object which doesn't have any place in the Starling world. After loading an image with ImageLoader you can grab the raw Bitmap via the ImageLoader's rawContent property http://api.greensock.com/as/com/greensock/loading/core/DisplayObjectLoader.html#rawContent I'm pretty sure once you get your hands on the bitmap you can pass it off to Starling. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now