View Single Post

  #4 (permalink)  
Old 21-08-08, 16:53
Aaron24 Aaron24 is offline
Junior Member
 
Join Date: Aug 2008
Posts: 6
Rep Power: 0
Aaron24 is on a distinguished road
Re: declaring variables

on (press) {
var x:Number = _122;
var y:Number = _223;
startDrag(this, true, 0, 0, 550, 400);
}
on (release) {
stopDrag();
_223=y
_122=x

this is the code i have the movieclip can someone please tell me where I am going wrong as it will not snap back to its starting position
Reply With Quote