I'm having trouble using a variable as a value while using setProperty. Any suggestions?
works:setProperty(_root.my_mc, _x, 50);
doesn't work:setProperty(_root.my_mc, _x, _root.myVar);
Just a guess, but maybe Flash is interpreting the variable as a string and not a numeral. :\
that's a deprecated format.
Use something like this instead:var myVar:Number = 50; //Whatever variable u want to use._root.my_mc._x = myVar; //The new example.