[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] startDrag with limits
From: |
Chris Pugh |
Subject: |
Re: [Swftools-common] startDrag with limits |
Date: |
Sat, 2 Jan 2010 09:49:37 +0000 |
.. 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 <address@hidden>:
> 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 <address@hidden>:
>> 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
>>
>>
>>
>