PDA

View Full Version : Problems masking image INSIDE a button clip


bkohsl
06-20-2005, 08:55 PM
Hi.

I made a button, and it works fine as a button. I have an masked image as the background/hit area of the button. Works fine when I make the button, even when I drag an instance of it onto the main movie ... but ...

When the .swf is made, the mask is completely disregarded. Instead, I get the entire image, with the desired mask shape on top of it (and not masking off the excess image area), and the whole entire thing is now a huge button.

So the question is: how do you make the mask (inside the button clip) stay, work, and survive the .swf creation process?

Any and all help would be greatly appreciated.

Thank you.

Ruben
06-20-2005, 09:32 PM
Put the two layers (the masking layer and the masked layer) in a movieclip placed inside of the button...that should do the trick..

- Ruben

bkohsl
06-20-2005, 10:23 PM
Heya Ruben,

Thank you so much for the help. That worked, but only halfway ...

Visually, now the button appears correct, with the unwanted areas of my image masked away.

But ... those masked areas are still clickable. Literally. I can click on the empty space around it, like an invisible button, and it takes me to the destination. Not what I want. So I am again stumped.

Any input Ruben? Or anyone else?

Ruben
06-21-2005, 11:00 AM
Ah bummer ;) Well you might wanna try using two different layers; one for the button and one for the graphics...and then of course using a button which is transparent (0% alpha).

:rolleyes: - Ruben