Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
thomas_b

ImageLoader _load() fails

Recommended Posts

Hi,

the ImagLoader fails in _load() when it tries to copy bitmap data from previous loaded images

 

Line 282: _content = new Bitmap(ImageLoader(loader).rawContent.bitmapData, "auto", Boolean(this.vars.smoothing != false));

* VERSION: 1.89 * DATE: 2011-10-20

 

it occurs if previous load attempts have generated a Error #2048: Security sandbox violation: ..., i.e. there is no rawContent accessible.

 

workaround is to switch caching off noCache:false

 

I assume above function should check if rawContent IS BitmapData

 

love the greensock stuff - thomas

Link to comment
Share on other sites

Thanks for pointing that out - it should be fixed in the latest version.

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