views:

893

answers:

1

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

+2  A: 

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.

James Ward