[flexcoders] Re: curly braces and functions in mxml

2009-03-06 Thread oneworld95
Both in this case do the same thing. Curly braces tell Flex that it should treat the contents as ActionScript (thus you can Ctrl-click it). It's basically a function call. Take a look here for an explanation: http://www.onflex.org/ted/2005/06/property-binding-in-flex.php In the case of your

[flexcoders] Re: curly braces and functions in mxml

2009-03-06 Thread Tim Hoff
Hi Rick, Both will work, but you don't need the binding (curly) braces for events (click). This is a common mistake; one that I've made myself. In essence, when you use the curly braces to bind, you are creating an event listener; usually to a variable. When the variable changes (except for