Scratch top layer to show up hidden image below
can flash (5) do this? technically, no. Are there some work arounds? Yeah sure, kinda
1) cover the image with a series of small buttons which dissappear on rollover (or by using mc's with hitTest)
-problem is, based on how you manage your buttons/clips, more than likely you'll get this grid effect where its really noticable that you are doing exactly what you are doing and it can be processor heavy
2) Something similar to 1, by masking the image and covering it with movieclips that, when near the mouse, react and are propelled away.
-This one can be processor heavy depending on how many clips you use, and having clips with hitTest or using proximity calculations as opposed to buttons, can hurt performance more. This one might also be a little obvious in that you might not look like your scratching so much as waving your hand in a pool of spreading pond scum
3)attaching masked clips of the revealed image as the mouse moves, adjusting the masked image (mc) to the appropriate position based on where that clip was attached (basic move mask prinicple)
- problem there is that after a couple of swipes your flash movie will start to feel the pain of having so many attached masked clips of this image and start to slow down to a crawl. Also with this, there is no way to tell if the image is fully revealed or not as you would be able to with the buttons/hitTest
alternatives: Director. Does this beautitully by manipulating the actual mask bitmap of a masked clip
Otherwise you'll pretty much have to make due and play with tricks using placement and transparency to get an acceptable effect
senocular
|