Flasher Archive

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


Subject: Re: Sound problems.
From: Marc Hoffman
Date: Thu, 18 Jun 1998 02:19:52 +0100

This is how I place buttons in my movie, each one controlling a looping
sound independent
of all other sounds:

FIRST: create a button to associate with the particular sound loop,
with its up, over, release, and hit states. Exit the button editing window.

SECOND: create a symbol that's a movie clip. Give it two frames and three
layers.
In layer 1, place the button in frame one and add an identical instance in
frame two
by adding a keyframe.
In layer 2, place your sound. I start with it off, so frame one's
properties (under the "sound" tab)
has the specific sound listed but Sync is set to "Stop." Frame two's
properties lists the sound, Sync is
"event" and Loops is set high (I use 999). Effect can be whatever you
like. I often create a fade
in for the first second or two of the sound. Note: to change it so the
sound is On by default, just
swap the actions of the two frames in this layer.
Layer 3 holds frame actions. Frame 1 says "Stop." Frame 2 says "Stop."
Now put the playback head over frame 1 and double click the button on the
stage.
Assign it this action:
On (Release)
Go to Next Frame
End On
Now put the playback head over frame 2 and double click the button on the
stage.
Assign it this action:
On (Release)
Go to Previous Frame
End On
Exit the editing window. Place the clip you've just made anywhere on your
movie stage.
It can even move around if you want it to. When the user clicks on it, it
will either start or
stop the sound that has been placed in it. It won't affect any other sounds.

This structure can be used for any kind of on/off event, not just sound.
For example,
in layer 2, you could have an animated object (movie clip) in frame 1 and a
non-animated
version of the same object in frame 2. The effect of the button would then
be to
freeze and restart the animation.


At 06:52 PM 6/17/98 -0400, you wrote:
>Hiya Flashers,
>
>Someone said that by creating a soundtrack as a movie clip that any "stop all
>sounds" action along the main timeline would not effect it. This simply is
NOT
>true.
>
>Does anyone know how to keep a (looping)sound going while other sounds on the
>main
>timeline can be stopped?
>
>"Stop all sounds" stops ALL sounds, reguardless of what type of symbols its
>been
>created as.
>
>Any work arounds here?
>
>-DG-
>
>
>------------------------------------------------------------------------
>To UNSUBSCRIBE send: unsubscribe flasher in the body of an
>email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
>N.B. Email address must be the same as the one you used to subscribe.
>For info on digest mode send: info flasher to list-manageratshocker [dot] com
>
>


Marc Hoffman

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: Sound problems., David Gary

Replies
  Re: my first Flash Movie, Barcillo
  Sound problems., David Gary

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