Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: drag and drop
From: Robert Bleeker
Date: Wed, 10 May 2000 12:44:45 +0100

Chris,
You should be using the _droptarget function to see what MC you are dropping
onto, then get properties to find out the x&y position of the droptarget so
you can set the properties of your dragged MC to be the same as the
droptarget MC. You will have to set some variables when you start dragging
so you know what the original position was of the dragged MC, that way you
can send the droptarget MC to those positions.

Robert


on 10/5/00 10:59 AM, Christopher Douglas at cdouglasatfreei [dot] com wrote:

> They will be in the same spot to start with. The user will be able to drag
> each object. I have attached the fla. file. Basically I want to apply this
> drag feature to multiple boxes.
>
> -----Original Message-----
> From: Robert Bleeker [rbleekeratcadre [dot] com [dot] au (mailto:rbleekeratcadre [dot] com [dot] au)]
> Sent: Tuesday, May 09, 2000 5:52 PM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: drag and drop
>
>
> Hi Chris,
>
> Will the movie clips be in the same spot all the time to start with?
>
> Robert
>
>
> on 10/5/00 9:20 AM, Christopher Douglas at cdouglasatfreei [dot] com wrote:
>
>> I have two movie clips x and y. They are both draggable. Say x is
> dragged,
>> I want it to snap into y's place and y to snap into x's place. How can I
>> script this? Any help appreciated.
>>
>> thanks,
>> chris


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: drag and drop, Christopher Douglas

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]