PDA

View Full Version : tracing x and y values



slyerguy
May 23rd, 2007, 11:49 PM
whats the code that is used to trace the x and y values of a certain movieclip? Ive looked everywhere i can think of but cant seem to find it.

irrationalistic
May 23rd, 2007, 11:52 PM
You couldn't find it? That kinda thing should be everywhere, but, tracing x and y values of a movieclip:

trace(myClip._x + ", " + myClip._y);

ajcates
May 24th, 2007, 02:54 AM
some one needs to write a tutorial on how to use the help button in flash, i was lost with out it, tell i stared figure out how it was laid out then the rest was down hill

btw im not trying to be mean, its just that the saying goes give a man a fish, he eats for a day, teach a man how to fish and he eats for a lifetime

pingnak
May 25th, 2007, 04:19 AM
The problem is, with 'trace' you get too much spew on on things.

You might want to track down the 'xray' debugger for Flash. It will let you watch things happen to the properties real-time in AS2 and interact with them. For instance, you can grab a slider in the debugger window for the '_rotate' property and see the thing rotate real-time.

http://www.wikihow.com/Use-Blitz%27s-Xray-Debugger-Under-Flash-8