Copy link to clipboard
Copied
I have created a rectangle and made it into a movie clip symbol with text on it. I want to use it as a button. The problem is when I test my movie and I click on the rectangle and the button only activates when I click outside the text. If I try to click where the text is to activate the button it doesn't work. The cursor changes and all you can do is highlight the text. Is there a way to create a movie clip symbol with text that the entire symbol is clickable? I know I can do it can be done with the button symbol but I wanted to use a movie clip symbol.
Hi.
Please take a look at the picture. It's located in the last row from the Character section.
About the code to disable mouse interaction for the children, you have to first give a name to the Movie Clip instance in the Properties panel. Then you must open up the Actions panel (F9) and write something like yourButtonName.mouseChildren = false.
Like this:
Hopefully this shed some light.
Thanks,
JC
Copy link to clipboard
Copied
Hi.
There two main options:
- Select the text field inside of your button, go to the Properties panel and set the text to not be selectable;
- Set the mouseChidren property to false. E.g.: yourButton.mouseChildren = false.
Regards,
JC
Copy link to clipboard
Copied
HI thanks for the reply. I looked in the properties panel and I don't see the choice to make the text not selectable. As for the second option my ActionScript code does not have mouseChildren property in it.
Thanks
Jennipher
Copy link to clipboard
Copied
Hi.
Please take a look at the picture. It's located in the last row from the Character section.
About the code to disable mouse interaction for the children, you have to first give a name to the Movie Clip instance in the Properties panel. Then you must open up the Actions panel (F9) and write something like yourButtonName.mouseChildren = false.
Like this:
Hopefully this shed some light.
Thanks,
JC
Find more inspiration, events, and resources on the new Adobe Community
Explore Now