Jack Zach Tibbles
Jack Zach Tibbles

Reputation: 800

How do you add resize functionality to flex components?

I'm creating a flex drag and drop interface of sorts that will have a range of different components. Is there a standard way of adding resize handlers to a component or does the component need to be overridden?

Upvotes: 0

Views: 398

Answers (2)

Jack Zach Tibbles
Jack Zach Tibbles

Reputation: 800

I found quite a useful example that is easy to implement. It gives support for changing cursors, setting bounds, rotation and fixed aspect ratio. I think its worth a look for anyone needing to add resize support.

https://github.com/marc-hughes/ObjectHandles/tree/master/flex-object-handles

The above link is a flex project download. Import the flex project and run the MoveAndResize.mxml example.

Upvotes: 1

Sander van Leeuwen
Sander van Leeuwen

Reputation: 3033

Do you mean front-end resizing? Senocular wrote an excellent transform class for that: http://www.senocular.com/flash/tutorials/transformtool/

http://www.senocular.com/demo/TransformToolAS3/TransformTool.html

Upvotes: 1

Related Questions