Question
reset button and movie color change
hi all
I have created a drag and drop interaction. i am trying to get the reset button working. But i can't i have attached my code.
On my main timeline i have a draggers, droppers and actionscript and button layer. The drag and drop is working. however the reset button doesnt, im not getting any error messages either when i preview my code. when i preview i can drag and drop but then when i press my reset button i get nothing. the instance and button name are the same name 'reset_btn'. Almost seems like my button isnt attached to my reset_btn code code. All my code for the drag and drop and reset button lies in a actionscript layer in a frame on the main timeline.
Also i wanted the object that dragged objects are placed on too to change colour depending on if the person drags the drag object on to the correct object. I have also added the code for this, but when i preview my work it just loops and go through the different colours that i have specfied on the keyframes. I have tried adding a stop(); to the moive clip but then when i preview it. The clip doesnt change colour when i drag and drop an object on to it.
can anyone help with my two problems. the worst thing is no error messages so dont know what to do.
I have created a drag and drop interaction. i am trying to get the reset button working. But i can't i have attached my code.
On my main timeline i have a draggers, droppers and actionscript and button layer. The drag and drop is working. however the reset button doesnt, im not getting any error messages either when i preview my code. when i preview i can drag and drop but then when i press my reset button i get nothing. the instance and button name are the same name 'reset_btn'. Almost seems like my button isnt attached to my reset_btn code code. All my code for the drag and drop and reset button lies in a actionscript layer in a frame on the main timeline.
Also i wanted the object that dragged objects are placed on too to change colour depending on if the person drags the drag object on to the correct object. I have also added the code for this, but when i preview my work it just loops and go through the different colours that i have specfied on the keyframes. I have tried adding a stop(); to the moive clip but then when i preview it. The clip doesnt change colour when i drag and drop an object on to it.
can anyone help with my two problems. the worst thing is no error messages so dont know what to do.