Archive

Posts Tagged ‘binding’

Data Binding expressions

March 7th, 2008 No comments

In MXML, you may use expressions as a source of data binding.

Example:

The Label will only be displayed if the person is 18 or older.

Did you try a more complex expression?

Ah ha! You get a compiler error. Why? Because you’re inside MXML and the & character is special.

Solution: replace the & with &

Tags: ,