I am working on a box that I want to open when the user clicks on a button. I drew two rectangles and have them touching each other to form a box. I made each one a separate movie clip (topbox,bottom box). I want the top box to move up to y coordinate of 26.4 and the bottom box to move to y coordinate of 288.4 when the user clicks on the button. I wrote the following code.
on (release){
mc.topbox_y=26.4
mc.bottombox_y=288.4
{
Of course nothing happens. I do not even get error codes. What am I doing wrong? Do I need to use onClipevent or something else. Please help. The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
on (release){
mc.topbox_y=26.4
mc.bottombox_y=288.4
{
Of course nothing happens. I do not even get error codes. What am I doing wrong? Do I need to use onClipevent or something else. Please help. The secret in education lies in respecting the student. {Ralph Waldo Emerson}.