[flexcoders] Re: Problem with drawn lines appearing outside the bounds of container on resize.
I have the same issue. Did anyone from Adobe comment on this one? --- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote: Can anyone comment? Anyone from Adobe have any insight? Thanks. --- In flexcoders@yahoogroups.com, Steven Toth steventoth@ wrote: I have a Canvas that I'm drawing on using the graphics.lineTo() method of the Canvas. When I resize the browser window so the the Canvas gets smaller the lines that were in the Canvas now extend outside the bounds of the Canvas and show on other containers. The only thing I have been able to do to remove them is to call the graphics.clear() of the Canvas. The clipContent property of the Canvas is set to true and it still shows the lines outside of the bounds of the Canvas. Is this expected behavior? What needs to be done to have the lines drawn on the Canvas resize with the Canvas to stay contained within the bounds of the Canvas? I expected that to happen by default. I'm using Flex 2 Beta 3. Thanks. -Steven -- 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/
[flexcoders] Re: Problem with drawn lines appearing outside the bounds of container on resize.
Can anyone comment? Anyone from Adobe have any insight? Thanks. --- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote: I have a Canvas that I'm drawing on using the graphics.lineTo() method of the Canvas. When I resize the browser window so the the Canvas gets smaller the lines that were in the Canvas now extend outside the bounds of the Canvas and show on other containers. The only thing I have been able to do to remove them is to call the graphics.clear() of the Canvas. The clipContent property of the Canvas is set to true and it still shows the lines outside of the bounds of the Canvas. Is this expected behavior? What needs to be done to have the lines drawn on the Canvas resize with the Canvas to stay contained within the bounds of the Canvas? I expected that to happen by default. I'm using Flex 2 Beta 3. Thanks. -Steven Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM ~- -- 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/