I have a Rectangle Box called (Panel1_mc). And inside it there is a button called (BoardMessage1_btn). When I click on this button, the Rectange Panel should move upwards. Right now the rectangle box is at the bottom of the page. The following code throws an 1010 error:
Panel1_mc.BoardMessage1_btn.addEventListener(Mouse Event.CLICK, clickSection);
What is wrong with this code? Please help. Using Flash CS4 AS3.
Except for the space in "Mouse Event" which is likely a copy paste issue with these forums, there is nothing wrong with the code. So your problem likely lies elsewhere than the code itself.