Excellent example!
http://weblogs.macromedia.com/khoyt/archives/2005/01/drag-and-resize.cfm

Sree

Mink, Joseph wrote:
Hi all,
 
I have a rectangle that I'm drawing with the flex drawing API, and I want to allow the user to resize it (grab the bottom-right corner and change the dimensions).  I've seen this done in flash many times...does anyone know of an example that might shed some light on the way to go about doing this?
 
I recently solved the problem of using Flash's startDrag and stopDrag, which was a bit awkward because using Flex-style eventListeners seemed to interfere with startDrag and stopDrag.  So I had to make sure I did everything with the Flash mouse handling methods.  I assume this resizing trick will put me up against the same kind of wierdness?
 
Thanks,
Joey Mink
[Software Engineer @ Solers, Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
 



--
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




Reply via email to