Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: assigning a sound when a mc is dragged |
From: | Robert Bleeker |
Date: | Thu, 4 May 2000 02:49:13 +0100 |
Hi Ruben,
Create a new MC which has a first frame with an actionscript "Stop" then a
couple of frames later you add a keyframe and label it "play" and in that
keyframe you set your sound to play. Place the newly created MC above your
stage, you should see a small white dot, and name that MC instance something
like "dragSound".
Now all you have to do is in your stop drag script add the actionscript:
Tell Target ("/dragSound")
go to and Play ("play")
End Tell Target
You can play around with the settings of the MC as you might want to create
the sound as a stream!?
Good luck.
Robert Bleeker
CADRE design
http://www.cadre.com.au
+61-2-96859889
-+-
on 4/5/00 6:31 AM, Ruben Fontijn at stagea2 [dot] nl wrote:
> Hello,
>
> I'm working on a drag and drop movie in flash.
> when a movieclip has been dragged i want to play a sound.
> But as far as i can see, there is only the possibility to play sounds on
> each button state and on keyframes.
> any1 an idea?
>
> regards,
> Ruben Fontijn
>
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 helpchinwag [dot] com
Replies
FLASH: assigning a sound when a mc is dr, Ruben Fontijn
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]