Check out http://kennethsutherland.com/2009/05/01/zooming-example/ for
an example.

 

HTH.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of flexaustin
Sent: 30 April 2009 14:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Draw rectangle to Zoom.

 






Was wondering if anyone knew of any examples of adding the ability to
draw a rectangle then zoom the stage to what was in the rectangle?

Think something like draw a rectangle.
Find its bounds.
Create a rect from these bounds.
Then maybe assign this rect to a displayobject scrollrect?



Disclaimer 
-------------------------------------------------------------------------------------------
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
-------------------------------------------------------------------------------------------

Reply via email to