Is there a shortcut way to reference the current component that you are 
using Binding Brackets with in its tags without using "id" ?
Like using "this" but it would be for the current component instead of 
the class of the MXML file.

I just feel it's redundant and tiresome when I have to retype the id of 
the component.
This would help in situations where it's not necessary for me to bother 
giving the component an "id".

Currently I do:
<mx:CheckBox  id="myCB" click="{someComponent.prop=myCB.selected}" />

I don't want to use "this":
"this" is a reference to the class of the MXML.
<mx:CheckBox  click="{someComponent.prop=this.selected}" />


-- Keith H --
www.keith-hair.net



Reply via email to