Re: [FlexJS] Probable design to support enable/disable state to TextInput

2017-01-12 Thread sankar
How can I restrict the mouse events to TextInput's TextField? I saw /TextField.mouseEnabled = false/ didn't helped. /mouseChildren/ also not available. Is there any way I can prevent the internal TextField's mouse activities in a TextInput component? Thanks! -- View this message in context:

Re: [FlexJS] Probable design to support enable/disable state to TextInput

2017-01-10 Thread yishayw
I missed the part in the JIRA issue where you already implemented... A quick look at the code has me making the following comments: 1) I noticed on the swf side, you hardcoded the disabled/enabled colors. I would probably try to externalize those somehow. 2) On the swf side you check to see if a

Re: [FlexJS] Probable design to support enable/disable state to TextInput

2017-01-10 Thread yishayw
Hi Sankar, I think you've got the usage example right. A basic implementation of a DisabledBead already exists in org.apache.flex.html.beads.DisableBead. You might want to take a look. It controls whether mouse events are dispatched from the disabled component. It also throws a 'disabledChange' ev