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;
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
2 matches
Mail list logo