How can u access a variable defined in 1 MXML file to another?



How can u access a variable defined in 1 MXML file to another?..

Answer / Sumit Choudhary

To access a variable defined in one MXML file from another, you can use Application or bindings. In Application, you can define shared properties that are accessible across the entire application. To use bindings, you can bind a property in one component to a property in another using the binding syntax {otherComponent.property}. This allows data to be shared between components.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

What are the collections classes available in flex?

1 Answers  


What are the three ways to skin a component?

1 Answers  


Difference between data grid and advanced data grid?

1 Answers  


What design patterns have you used in actionscript and java? : adobe flex action script

1 Answers  


What is over loading? Is method over loading possible in flex?

1 Answers  


When I have only a single record, why does not it appear in my datagrid? : adobe flex action script

1 Answers  


How do we identify a component created in a repeater using flex?

1 Answers  


Where can I download flex 3 beta 3?

1 Answers  


How to display the check box in data grid header?

1 Answers  


Is it true that I can now get the flex test automation framework with the purchase of flex builder 3 professional edition?

1 Answers  


What are the 2 ways to compile flex source file?

1 Answers  


How do I get flex to query my database?

1 Answers  


Categories