Flasher Archive

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


Subject: Re: FLASH: Snap Into Place
From: John Croteau
Date: Fri, 22 Oct 1999 20:51:06 +0100

Hi Eric,

To have the final position of a drop target to snap-to
just supply the snap-to positions such as Snap4x and Snap4y
and set the x and y properties of the MC as below.
Set Property ("", X Position) = Snap4x
Set Property ("", Y Position) = Snap4y
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On (Press)
Start Drag (GetProperty(_x, _y))
End On
On (Release)
Stop Drag
If (_droptarget eq "/target4")
Set Property ("", X Position) = Snap4x
Set Property ("", Y Position) = Snap4y
Go to Next Frame
Begin Tell Target ("/feedback")
Go to Next Frame
End Tell Target
Else
Set Property ("", Y Position) = PlaY
Set Property ("", X Position) = plaX
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
  RE: FLASH: Snap Into Place, Eric Smollin

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