Re: [Bug] minor bug in SkinnableComponent

2013-05-30 Thread Justin Mclean
Hi, Fix checked into the Apache Flex SDK develop branch - it will be fixed in Apache Flex 4.10. Justin

Re: [Bug] minor bug in SkinnableComponent

2013-05-30 Thread Jagan Langa Sami Durai
Hi, Actually, this will not happen in normal case. I accidentally found this case. Here is the steps to reproduce, I added a component in a container (container is a skinPart of a custom popup). that container will not be added to the stage until the popup is changed to some view state. at this

Re: [Bug] minor bug in SkinnableComponent

2013-05-30 Thread Justin Mclean
Hi, Also would it be possible to provide a sample application that shows this issue. Thanks, Justin

Re: [Bug] minor bug in SkinnableComponent

2013-05-30 Thread Justin Mclean
Hi, Probably a better fix would be to change: if (isFocused) To: if (isFocused && focusManager) I'll test that out and check it in for you. Do you know if there any existing JIRA issue describing this issue? Thanks, Justin

[Bug] minor bug in SkinnableComponent

2013-05-30 Thread Jagan Langa Sami Durai
override public function drawFocus(isFocused:Boolean):void { if (isFocused) { // For some composite components, the focused object may not // be "this". If so, we don't want to draw the focus. /* *when the component is not added to the stage, focusManage