0 Replies Latest reply on Apr 4, 2007 9:04 AM by KKurzweil

    Rotation Issue with drawFocus/FocusSkins

    KKurzweil
      I have run into an issue while trying to rotate a subclass of UIComponent that implements IFocusManagerComponent. The rotation of one focusable component causes all subsequent drawFocus calls to all other focusable components to also rotate. Am I doing something wrong or is this a bug?

      The code below demonstrates the issue. Use the tab key to cycle through the button controls. You should see, as I do, that after three tab key presses the first button's focus skin will be incorrectly rotated.

      Thanks for your time,
      Ken

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">
      <mx:Panel width="300" height="200" horizontalAlign="center">
      <mx:Button id="myButton1" width="50" height="20"/>
      <mx:Button id="myButton2" width="50" height="20" rotation="45"/>
      </mx:Panel>
      </mx:Application>