开发者

Flex: fx:Script vs. fx:Declarations

开发者 https://www.devze.com 2022-12-14 20:58 出处:网络
What is the difference between <fx:Script> and <fx:Declarations>? Do I need both, or is one the 开发者_如何学Gonew replacement of the other? Script is a place to put some AS3 code onto the

What is the difference between <fx:Script> and <fx:Declarations>? Do I need both, or is one the 开发者_如何学Gonew replacement of the other?


Script is a place to put some AS3 code onto the MXML class. Declarations are a way to put public properties defined in MXML on a class.

0

精彩评论

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