there is nothing wrong with your code. So since the
error is indicating you are trying to treat a MovieClip as if it is a
SimpleButton or any , somewhere in your design you have done something to
attempt to coerce that MovieClip into being a Button (or possibly vice versa if
it is actually a Button). Check the properties panel and elsewhere to see
if you have selected something that would be trying to make that button a
different type of object than what it is.
Try
creating a new movieclip and assign it that name (removing it from the other)
and see if you still get the error. If that works, then I recommend just
creating a new movieclip and replacing it for the current one that is giving
you the problem.
No comments:
Post a Comment