I have a questions. How would you pass a property from one mxml to another via the "constructor". Say for example I have a main appplication mxml and 1 or more compoent mxml files. When my Main app instantiates the component e.g. <components:ComponentOne x="26" y="10" width="269" height="161" /> how would I pass a property to it.
In actions script I would be as simple as var myvar:ComponentOne = new ComponentOne(properytIwantToPass:String); How would I accomplish this sort of thing via mxml?
MXML requires that classes have no required constructor parameters, and
there is no way to pass them one. By setting some other property, you can
dictate behavior in the instance.