On 4/13/06, Peter Martin <[EMAIL PROTECTED]> wrote: > I have created a Window component (in Flex 2 beta 2) that subclasses > TitleWindow. It allows the user to resize the window by grabbing the > bottom corner. It works fine if you are making the window smaller, > however if you are making it bigger Flex can't keep up with the mouse, > unless you go very, very slowly. > > What I have is an event listener that handles onMouseMove and sets the > width and height to mouseX and mouseY.
Listen for "mouseMove" on the SystemManager object (see the "systemManager" property of UIComponent) instead of the TitleWindow object. You might have to do some mouse coordinate conversions, but it's more reliable. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

