----- Original Message -----
From: Kumar
To: [email protected]
Sent: Tuesday, February 20, 2007 7:35 AM
Subject: [flexcoders] Quick Question
Hi All,
Just a quick one guys just had a little confusion in two statements below
First:
<mx:Button x="23" y="242" label="Button" click="myFunction()" />
This is just calling "myFynction()" in response to the button click.
Second:
<mx:Button x="23" y="242" label="Button" click="{myFunction()}" />
Here, you have the same as above, but you are (for some reason) trying to wrap
the function call in a binding which is having no effect in this context, so
the effect is the same.
Perhaps some research on Flex binding will help.
Paul
Both Buttons give the same result.
Just a bit confused.