Flex: fx: Script vs. fx: Ads

What is the difference between <fx:Script>and <fx:Declarations>? Do I need both, or is it a new replacement for the other?

+3
source share
1 answer

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

+5
source

Source: https://habr.com/ru/post/1726403/


All Articles