开发者

Pass parameters to Flash Main (Document) class

开发者 https://www.devze.com 2022-12-29 01:45 出处:网络
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.\"

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).


(I've posted this a few times now :( )

to communicate between stage and document class, your usually in cahoots with the person making it.

But flash vars give you the ability to make them as your building the stage stuff, and tap into them in you document class.

http://kb2.adobe.com/cps/164/tn_16417.html

0

精彩评论

暂无评论...
验证码 换一张
取 消