
21-08-08, 01:17
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 6
Rep Power: 0
|
|
|
Re: declaring variables
Quote:
Originally Posted by Onsitus
Hi, declare your var to start with, recall them when the drag stops
Esempio to start:
var xStart:Number = clip._x; //could also be a number
var yStart:Number = clip._y;
when the drag stops:
clip._x=xStart;
clip._y=yStart;
Then to apply to your code. 
|
thanks for that |
|