Skip to main content
Known Participant
May 29, 2014
Question

Dynamically Changing Shape On Mouse Move

  • May 29, 2014
  • 1 reply
  • 289 views

I want to dynamically change the shape of a shape in as3. Say for example, on clicking and dragging on shape square the shape should change according to my mouse movement, direction. I have pasted a link below which display my requirement, selecting one shape and edit edges option, then click the shape and drag, the shape will change according to mouse movent and direction based on some math calculation. Is that possible in AS3. Thanks in Advance

http://www.shodor.org/interactivate/activities/Tessellate/

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 29, 2014

yes, it's possible.

you can use the bitmapdata class (easier to control) or the displacementmapfilter (more difficult to control).