Step 4 : Using X and Y to move:
The next step is to use this figure to actually alter the position of your object The following code should be added after what you have previously written.
On (Release) Set Property ("../Target", X Position) = Xp Set Property ("../Target", Y Position) = Yp End OnThis code will then re-position your object. The `../Target` is the name of your object in the main scene of your flash movie. Which we will name later. Now if you drag an instance of this movie clip into the main scene and name it correctly it should show your object and when clicked on should move.
|» Level Intermediate|
Rating: 8 Votes: 51
|No details available.|
|Download the files used in this tutorial.|
|Download (650 kb)|
|More help? Search our boards for quick answers!|