[as3]

var myVar:String = "foo";

public function foo() : void
{
trace("A var called me");
}

this[myVar]();
[/as3]

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation