did you enable the cacheAsBitmap property of the target movieclip AFTER loading was complete?
Yes, I thought of that and made sure I set cacheAsBitmap after I loaded the png.... still no go
if you set your mask and enable cacheAsBitmap AFTER loading is complete, there is no problem.
if you think you're doing that and having a problem, copy and paste your relevant code.
Thanks for the help kglad, I greatly appreciate it, as this has had me pulling my hair out...
Here's the AS I'm using:
In the actual application I'm using nested movie clips, this is just a basic
example I'm working with, first to see if there was a problem with the
nested clips... which there wasn't, they worked fine as long as the
png was physically on the timeline.
that's going to fail. you're not waiting until AFTER loading is complete to apply setMask() and enable cacheAsBitmap:
this.onEnterFrame = loadProgressF;
color.cacheAsBitmap=true; // this can be done before loading is complete, but not the other lines of code
Thanks man, I see what I was doing wrong now. I actually wound up using the MovieClipLoader class with a listener
and that did the trick. Thanks again for your help!