i set my canvas element to be focused when a clik event occured;
<mx:Canvas click="this.setFocus()" id="mainCanvas"> <mx:Canvas> <mx:TextInput id="led"/> <mx:Label /> <mx:Label /> </mx:Canvas> </mx:Canvas>
But i dont want my canvas to be focused when i click to my TextInput. I want to edit my textinput but when i click to my textinput my canvas is focusing so it is not possible to edit.
Can u help me fix this
<mx:TextInput id="led" height="71" y="10" click="event.stopImmediatePropagation()"/>
You'll probably need a subclass that implements IFocusManagerComponent and sets focusEnabled properly on itself and its children.
Flex SDK Developer
Adobe Systems Inc.