Re: [flexcoders] What is the substitute for eval() now?

2006-10-10 Thread Ralf Bokelberg
You need to roll it on your own. You could split the given path into its parts and try to evaluate one piece after the other until you come to the end. public function eval( scope : Object, path : String ) : Object { if( path == null ) return null; var result : Object = scope;

[flexcoders] What is the substitute for eval() now?

2006-10-10 Thread pilby1
Sorry if this had been covered before, but I searched the archives, even the Macromedia site, even just Google search, and I can't seem to find anything that addresses eval() other than it having been removed in Actionscript 3. Nothing seems to state what took its place, if any. If I wanted to