Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyStatic
- {
- public static function myFunction(value:String):String
- {
- return "Returning " + value;
- }
- }
- import MyStatic;
- var str:String = MyStatic.myFunction("test");
- var mySharedFunction:Function = function():void
- {
- trace("foo");
- }
Add Comment
Please, Sign In to add comment