weihuoya / redtamarin

Automatically exported from code.google.com/p/redtamarin
Other
0 stars 0 forks source link

re-add getClassByName to anonymous package #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
because we wanted to move most of the toplevel stuff to flash.* package
we moved getClassByName to flash.utils.*

but we need to keep it at the toplevel for when we load *.as file
or when we use the -repl mode of the redshell

eg.
{{{
$ ./redshell -repl
avmplus interactive shell
Type '?' for help

> var sys:Class = getClassByName( "avmplus.System" );
[class System]
> trace( sys.apiVersion );
673
> trace( sys.apiAlias );
AIR_2_7
> .quit

}}}

Original issue reported on code.google.com by zwetan on 20 Apr 2011 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 20 Apr 2011 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 25 Apr 2011 at 7:42