Jean-Michel => J.M.
i mean that the second parameter is imperatively a rectangle object
( i have done the first try ( stupidely) with on sprite )
Chris Pugh a écrit :
.. because they are all sprites.
.. then again, I think I have misunderstood you. Do you mean use a
sprite intesd of
a rectsangle? Remember, sprites are supposedly independent. Example?
Chris.
2010/1/2 Chris Pugh <[email protected]>:
Sacre bleu!! You've done it again jean-paul! ;o)
Change line 26 in 'function m_down(evt)' from,
evt.target.startDrag(false);
to,
evt.target.startDrag(false,rect);
and all will be fine!
Résultat ! :o)
Salut,
Chris.
2010/1/2 jean-michel.voicechat_fan <[email protected]>:
i want to add a precision to my last post on startDrag
the second param of startDrag is not a sprite but a rectangle .
flash.geom.Rectangle
that does not work with a sprite
http://jeanmichel.gens.free.fr/swfc/dragtest3.sc