Flasher Archive

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


Subject: Re: FLASH: _droptarget question
From: Roxtar1
Date: Tue, 22 Feb 2000 17:04:29 GMT

In a message dated 2/22/00 8:34:29 AM Pacific Standard Time,
frankatjoerdens [dot] de writes:

> I am trying to understand how this is supposed to work. My experimental
> setup consists of a blue and a red circle, each in its own layer and
> each assigned Movie Clip behaviour and Button behaviour, to make them
> draggable. That works; I can drag both around on the screen. Now I want
> to trigger some sort of action when I drag the blue circle onto the red
> circle (which is somewhat larger than the blue circle - how does flash
> evaluate the limits of a target by the way?). To this end, I have added
> a second keyframe to the movie and assigned a sound to it. I also added
> to the Actions tab of the Frame properties dialog box of the 1st Frame,
> in the layer which contains the blue circle, the following code:
>
> Stop
> If (_droptarget eq "/red.clip")
> Go to Next Frame
> End If
> Go to Previous Frame
>
> which is intended to play the sound if I drag the blue circle onto the
> red circle, which does not work.
-------------------------
you need to make the blue circle a button and put the script inside of the
button action not the frame

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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