Pass parameters to Flash Main (Document) class

Posted by loto on Stack Overflow See other posts from Stack Overflow or by loto
Published on 2010-05-02T07:59:20Z Indexed on 2010/05/02 8:07 UTC
Read the original article Hit count: 207

Filed under:
|
|

In Flash CSn/AS3 you associate a Main class with a flash file which when loaded in the flash player "automatically creates an instance of the program's main class."

I'd like to know how to pass arguments to the main class, since you don't write it yourself (you put its name in the Document textfield in the IDE).

© Stack Overflow or respective owner

Related posts about flash

Related posts about parameters