|
Manish, I can try and come up with a stand-alone example but I am basically using the scale property to "zoom" in and out of a very large drawing. If I zoom out (i.e. incrementally reduce scale) the elements in the drawing get smaller. If I zoom in (increase the scaleX and scaleY by some arbitrary percentage - i.e. c.scaleX = c.scaleX * 1.15), the picture gets larger. I am not adjusting the size of the lines or Sprites themselves. At some seemingly arbitrary step in scaling up or down, the elements of the drawing appear on top of the Canvas or Panel in which the UIComponent is embedded. If I continue to increase or lower the scale, the drawing ceases to overflow its borders but then after a few more adjustments to the scale it happens again. For reference, the UIComponent has a height and width that may be several thousand pixels in height and width. The Canvas that it is embedded within is only a few hundred so zooming in and out and navigating around the UIComponent is particularly critical. -Mark P.S. My impression is that this type of activity is what the ScrollRect feature/function is intended to address but I could not find sufficient documentation or examples to use it in my application. Manish Jethani wrote: On 5/4/06, Mark Wales <[EMAIL PROTECTED]> wrote: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Exceeding Component Boundaries Mark Wales
- Re: [flexcoders] Exceeding Component Boundaries Manish Jethani
- [flexcoders] Overlap? Darren Houle
- RE: [flexcoders] Overlap? Darren Houle
- RE: [flexcoders] Overlap? Tom Chiverton
- [flexcoders] Simple XML web service call Darren Houle
- RE: [flexcoders] Simple XML web service call Peter Farland
- RE: [flexcoders] Simple XML web service call Darren Houle
- Re: [flexcoders] Simple XML web service call Tom Chiverton
- Re: [flexcoders] Simple XML web service call Darren Houle

