StartDrag, possible to move two objects?


hi, reply. possible link x y coordinates of 2 objects if there startdrag on one, when dragged other move it?

many thanks,

frank

frank,

> possible link x y coordinates of 2 objects
> if there startdrag on one, when dragged
> other move it?

sure thing. exact syntax differs between actionscript 2.0 , 3.0,
but 1 of ways handle onpress/mousedown
event starts dragging, separately, each object, paired
onrelease/mouseup event stops dragging. normal
drag-n-drop approach. in addition, then, assign mousemove
event handler updates x/y coordinates of other object in
reference 1 being dragged -- remove event handler when
the mouse lifted.

langauge using? i'll happy give relevant sample
code.


david stiller
adobe community expert
dev blog, http://www.quip.net/blog/
"luck residue of design."




More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums