Reputation: 29
Hello I am quite new to flex and would like to know how do I get a value from another mxml. I have a vaule in the child mxml that i would like to parse to the parent mxml . Then use the vaule to create a search method.
Upvotes: 0
Views: 458
Reputation: 39408
In a nutshell, just create a public variable in the child that exposes the property to the parent.
Conceptually something like this in the child:
public var myValue : myType;
And the parent can access it like this:
myChild.myValue;
Upvotes: 1