And the reason why your code does not compile is that it's using the
ActionScript 2 APIs. Flash Player 9 and AS3 introduced new APIs:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS2E9C7F3B-6A7C-4c5d-8ADD-5B23446FBEEB.html

- Raju

Reply via email to