flipp
May 14th, 2005, 01:20 PM
FMX
Hello, I am trying to generate this line of code dynamicly...
movieclip.somefunction = b2._x;
and below is what I'm using...
movieclip.somefunction = ("b" + thisnum + "._x");
and I am storing a variable called thisnum. My line of code seems to return the correct value when I 'trace' it, but will not call the function correctly. Anyone see a problem? thanks in advance.
Flipp
Hello, I am trying to generate this line of code dynamicly...
movieclip.somefunction = b2._x;
and below is what I'm using...
movieclip.somefunction = ("b" + thisnum + "._x");
and I am storing a variable called thisnum. My line of code seems to return the correct value when I 'trace' it, but will not call the function correctly. Anyone see a problem? thanks in advance.
Flipp