Variables for object names
Hi all,
Is it possible to use variables in place of object names? So i have a function that looks like this:
public static function xmlText(OBJECT,TEXT):void
{
some_mc.[OBJECT].some_mc.text = lodedXML.someNode.[TEXT].someNode;
}
I'm trying to create a function that changes the variables in the paths to the objects passed when the function is called.
This might be a daft question but i just cant seem to find an answer!
Many Thanks
Matt
