How to Create a Button From a Shape?
Hi,
I'm a starter in ActionScript and I want to create a custom shaped button.
By a custom shape, I mean a piano button.
I know how to draw the shape with Shape.graphics.lineTo(); and moveTo() ' s,
but I don't know how to add an eventListener to that certain shape.
I mean, when the user clicks inside that custom shape, I want to call a function. How do I do that?
Thanks !