Step 3 : Define X and Y:
Put a stop frame at frame 1 on the timeline. (You can add extra things in here after but for now we will use just an object to shoot at, for example on mine i have a scaling circle when youy roll over the object.)
Double click on your object and set up two variables in the properties of it. These will be to recognise the position of the object. As it will have to randomly move around after each click or length of time.
Apply this code
On (Release) Set Variable: "Xp" = Random (400 ) Set Variable: "Yp" = Random ( 300 ) End OnChange the random number depending upon the size of your movie.
|» 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!|