kingrhomby
Technical User
hi, i would like to acheive an animated drag and drop effect and do not know how to do this.
what i want to do:
the user clicks on the object. and then moves their mouse to the right. the object then follows the mouse. for example if the user moved the mouse only slightly across. then the object would only animate to the second frame. if the user moved the mouse further across. then the object would animate to the third frame. and the same for moving the mouse left except it goes backwards. here is an example: (click the link)
please ignor the flashing arrow up the top. that was acidentally put in and i cant be bothered changing it.
if you understand what i would like to do then can you please post a comment with the action script. or a link to a tutorial that would show me how to do this. thankyou. if you have any questions just reply and i will happily answer them.
what i want to do:
the user clicks on the object. and then moves their mouse to the right. the object then follows the mouse. for example if the user moved the mouse only slightly across. then the object would only animate to the second frame. if the user moved the mouse further across. then the object would animate to the third frame. and the same for moving the mouse left except it goes backwards. here is an example: (click the link)
please ignor the flashing arrow up the top. that was acidentally put in and i cant be bothered changing it.
if you understand what i would like to do then can you please post a comment with the action script. or a link to a tutorial that would show me how to do this. thankyou. if you have any questions just reply and i will happily answer them.