hey, this is about declaring a variable.
if i want to declare a variable called xpos
can i just write it on a mc like this
xpos = getProperty (bla bla bla bla);
by itself???
hey, this is about declaring a variable.
if i want to declare a variable called xpos
can i just write it on a mc like this
xpos = getProperty (bla bla bla bla);
by itself???
var xpos = getProperty should do it I think
yeah that should work…
but you can jsut do it like this:
xpos = movieclip._x
im assuming you want the x location
getProperty and setProperty are deprecated in Flash MX. Instead, use xpos = _root.movieclip._x, to store the x position of a movieclip with the instance name “movieclip” in the variable xpos.
:: Copyright KIRUPA 2024 //--