Jump to content
Search Community

Preloading a Starling project

icekomo test
Moderator Tag

Recommended Posts

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

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

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