Flasher Archive

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


Subject: Re: FLASH: Drag and drop
From: John Croteau
Date: Thu, 9 Dec 1999 02:29:05 GMT

Hi Quack,

> I need to have a ball snap into place in a certain area of the screen
Below, I have showed how to modify the ball to do a snap instead of
'falling' in the Drop Target Tutorial. Make the change to the ball in
frame 4. You should change the code in both instances of the tween.
http://www.FlashBible.com/Members/Drag/DropTarget.htm

On (Release)
Stop Drag
Set Variable: "/:DropName" = GetProperty ("", _droptarget )
If (/:DropName eq "/DropZoneC")
Set Property ("/TBall", X Position) = "900"
Set Property ("/TBall", Y Position) = "200"
End If
End On

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Drag and drop, Quack the Duck

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