Skip to content

Instantly share code, notes, and snippets.

@mnem
Created September 18, 2010 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnem/585648 to your computer and use it in GitHub Desktop.
Save mnem/585648 to your computer and use it in GitHub Desktop.
package shadowed
{
import flash.system.ApplicationDomain;
public class TraceryFoo
{
private static var _trace :Function;
// Static initialiser block.
{
_trace = ApplicationDomain.currentDomain.getDefinition("trace") as Function;
}
private static function trace(foo :String) :void
{
_trace(foo);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment