|
-
Masking dynamic content?
I'm loading images into an otherwise empty MovieClip called container_mc using UILoaders and spacing them horizontally. I also have the image names as TextFields below the images all within the container.
I'm masking the container clip using the following syntax:
container_mc.cacheAsBitmap = true;
mask_mc.cacheAsBitmap = true;
container_mc.mask = mask_mc;
This USUALLY works, but for some reason when I load over 20 images into the container -- the mask no longer works. At first it appears as though it's working but then the text disappears and when I mouse over the images to scroll them horizontally, the mask (which is magenta) appears and disappears -- flickering strangely.
Should I be caching? I was under the impression I had to for the dynamic text to show up. Maybe it's the where I placed the code (load-order)?
I've been working for hours and I can't seem to fix this...
Any suggestions?
Last edited by robmarston; 02-03-2009 at 07:58 PM.
-
-
I'm loading approx. 27 images at 100px wide with a 30px margin between them. I can try to scale them down further and see if that solves it although I doubt it will.
The swf does crash any browser I try to view it in, it's only when testing the movie within flash I'm able to even view the buggy masking...
I fear I might just have to remove the mask or create some sort of faux mask overlay.
Hmm...
-
 Originally Posted by robmarston
Should I be caching? I was under the impression I had to for the dynamic text to show up. Maybe it's the where I placed the code (load-order)?
You don't need to cache for dynamic text to show up.
-
hmm.. maybe it was AS2 where it wasn't working...
Either way, I'm under the impression I need to cache because my mask has gradient edges...
When I remove the cacheAsBitmap declaration, things get even stranger...
Thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|