Search Results

Search found 2 results on 1 pages for 'codexdraco'.

Page 1/1 | 1 

  • Callable objects on ActionScript?

    - by CodexDraco
    Hi, is it posible to have callable objects on ActionScript? For example: class Foo extends EventDispatcher { Foo() { super(); } call(world:String):String { return "Hello, " + world; } } And later... var foo:Foo = new Foo(); trace( foo("World!") ); // Will NOT work

    Read the article

1