Hi,
Can someone help me out with this example:
Suppose I want to write this code in Flex
No what I want to do INSTEAD is instead of "b1" i want to refer to the component inline, like the "this" keyword. So my new (compact) code would be
Ideally "this" should have referred to button but by design it refers to the mx:application. Is there another keyword like "self" or something to provide a shortcut to creating the id and then using it?
Just curious.
Thanks in advance for any help.
Regards,
San
---
cheers!
san
print length "The answer to life, universe & everything!
Can someone help me out with this example:
Suppose I want to write this code in Flex
Code:
<mx:Button id="b1" includeInLayout="{b1.visible}">
No what I want to do INSTEAD is instead of "b1" i want to refer to the component inline, like the "this" keyword. So my new (compact) code would be
Code:
<mx:Button includeInLayout="{this.visible}">
Ideally "this" should have referred to button but by design it refers to the mx:application. Is there another keyword like "self" or something to provide a shortcut to creating the id and then using it?
Just curious.
Thanks in advance for any help.
Regards,
San
---
cheers!
san
print length "The answer to life, universe & everything!