From: Daninator on
The summary pretty much sez it all. I need a pause button that will pause a sound halfway through. i work in Flash 5. Any ideas?
From: David Stiller on
Daninator,

> The summary pretty much sez it all. I need a pause button
> that will pause a sound halfway through. i work in Flash 5.

The subject line doesn't quite say it *all,* I'm afraid. ;) You
haven't stated if you want to restart the sound where it left off. You
haven't stated if you're using the Sound object to create your sound or if
this sound was dragged by hand into a frame (and then, if its Sync value is
Event, Stream, or what). So there are quite a few ways to handle your
summary, but for starters, you should look up the stopAllSounds() function
in the ActionScript Language Reference.


David
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."


From: Daninator on
Thanx uv been a big help. To save making a brand new topic could someone tell
me how to make a Play button morph into a pause button? And I need it so that
when it pauses it becomes a play button again and can be clicked to resume from
where the speaking left off.

From: David Stiller on
Daninator,

> Thanx uv been a big help.

Glad to be of service.

> To save making a brand new topic could someone tell
> me how to make a Play button morph into a pause button?

Flash doesn't really do morphing. Do you mean a dissolve transition?

> And I need it so that when it pauses it becomes a play
> button again and can be clicked to resume from where
> the speaking left off.

Now your requirements are getting more complex. The stopAllFounds()
function does nothing more than what its name implies. It doesn't start
sounds again. Re-starting your sound where it last left off is going to
depend how you got your sound to make noise in the first place. Would you
elaborate, a bit? :)


David
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."


From: Daninator on
i do need it to continue when you press play. Do you know how? Or is it impossible?
 |  Next  |  Last
Pages: 1 2
Prev: picture animation
Next: Press "spacebar....."