Created
September 18, 2010 13:05
-
-
Save mnem/585648 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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