-
cacheAsBitmap and Masks don't get along.
Hello,
I posted a little while ago about having artifacts appear in my movieclip using cacheAsBitmap. I had time to explore this issue further and found the problem. Using cacheAsBitmap on a movieclip under a mask looks to be the issue. The quick answer is use scrollRect on your movieclip instead of a mask.
Take a look at these examples. Mouse over the image thumbnails to get a tooltip (which will cause the problem).
Uses mask but cacheAsBitmap is set to false - no problem here.
Uses mask but cacheAsBitmap is set to true - Crazy redraw artifacts.
Uses scrollRect instead of maks and cacheAsBitmap is set to true - No problem.
I hadn't read anything on this issue so I hope this helps.
-
-
Yep, looks like a bug. I'd send it to Macromedia with a link to the url.
-
Flash Gordon
But in the third example, the mouse-over-lable flickers
(it gets unvisible twice a second - FF1.0.7,FP8.0.22).
-
But in the third example, the mouse-over-lable flickers
Actually that is a bug with my tooltip class. Sorry about that I'm still trying to debug. It has to do with using setInterval to delay the appearance of it.
I've changed the example so tooltips just appears on rollover, fixing that unrelated problem.
Last edited by rhodesbe; 11-09-2005 at 10:22 AM.
Reason: update
-
I had similar problems and was using alot of text in my movieclip so I NEEDED cacheasbitmap turned on the clip that was being masked for performance reasons. However, it would flicker at some spots. I managed to fix it by turning cacheasbitmap on for the MASK as well as the clip being masked. Although this worked I think these needs fixing as the mask is animated and it will use more processing the way I have to do it.
-
This problem seems to be fixed in the new 8.5/9 flash player.
-
Hmm, downloaded the update but still seems to have the problem in the test environment. The download said it would replace the both players for web and developement, but if I test from within flash 8 (ctrl-enter) it still has the problem, however if I double click the .swf file and run it outside of the developement area the problem seems to be fixed?
-
The 8.5 player download doesn't replace the player used when you test a movie from within flash. This has always been a seperate download in the past. I don't expect there will be a 8.5/9 version for Flash 8 Authoring. The Flash 9 Alpha is promised in the next month or so.
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
|