开发者

How do I create my own Classes/Objects in Flex?

When I try to do this in an AS CDATA block, it tells me I can't have a class declared within a class (the MX:Application itself). Makes se开发者_运维知识库nse. But where and how do I do it?


You create a new file with a .as extension, and put your class definition in there.


You may want to watch the screencast for the Components chapter of First Steps in Flex. It walks through how to do this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜