Hi all,
I am trying to do this:
I have a movie clip symbol, and I put this movie clip symbol inside all the state of a button symbol.
Now, the mouse events will only be triggered if the mouse event happens within the bounds of the object in the first frame of the movie clip symbol. In essence, the Hit state of the button symbol doesn't animate with the movie clip!
If you want to see what I mean, do a simple test... create a movie clip symbol that has a rectangle, and do a motion tween on the rectangle so it go across the screen from left to right. Now, put this movie clip symbol you have just created into a button symbol. Then, drag the button symbol onto the scene. Test the movie, you will see that mouse event is only triggered when the mouse is over the left position, and when the rectangle get animated across the screen, the hit state of the button doesn't go with it.
How do I fix this?
Thanks!
Willy
I am trying to do this:
I have a movie clip symbol, and I put this movie clip symbol inside all the state of a button symbol.
Now, the mouse events will only be triggered if the mouse event happens within the bounds of the object in the first frame of the movie clip symbol. In essence, the Hit state of the button symbol doesn't animate with the movie clip!
If you want to see what I mean, do a simple test... create a movie clip symbol that has a rectangle, and do a motion tween on the rectangle so it go across the screen from left to right. Now, put this movie clip symbol you have just created into a button symbol. Then, drag the button symbol onto the scene. Test the movie, you will see that mouse event is only triggered when the mouse is over the left position, and when the rectangle get animated across the screen, the hit state of the button doesn't go with it.
How do I fix this?
Thanks!
Willy