Manish,

That sounds like the right track - however I am fairly unfamiliar with both masks and/or setting the scrollRect property.  Other than the docs, do you know of or have any examples of using them? While I've not done an exhaustive search on masking (not sure how this is done), I spent a fair bit of time trying to better understand the finer points of using a scrollRect and there is not much documentation out there.

-Mark

Manish Jethani wrote:
On 5/4/06, Mark Wales <[EMAIL PROTECTED]> wrote:

  
 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.
    

Does the Canvas/Panel create scrollbars when the drawing becomes large enough?

I'm guessing what's happening is that at some point the Canvas/Panel
does not realise that the drawing is large enough to clip it and show
scrollbars. When the drawing gets a little larger, it does the
clipping and scrollbars thing.

You can clip the Canvas/Panel by setting a mask over it or by setting
its 'scrollRect' property.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It¿s easy and it¿s free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/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/
 




  


--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to