?
Solved

Sound Keeps Playing in Flash Frame

Posted on 2007-03-30
3
Medium Priority
?
314 Views
Last Modified: 2010-04-03
When I have an audio file playing, loaded in as a Sound under the Frame Properties and I switch from one frame to another, like with a gotoAndPlay("newFrame") type statement, or with an XML command, the audio file continues playing.  Why does it do this, and how do I make it so that it doesn't keep playing when I change.
0
Comment
Question by:walker6o9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Accepted Solution

by:
Tom Ray earned 750 total points
ID: 18826799
you don't say how you switch from one frame to another

assuming its a button:

on(release)
{
   stopAllSounds();
}

or

on (release) {
      _root.mySound.stop(); //mySound = your linked name
}
0
 
LVL 5

Expert Comment

by:NickVd
ID: 18827856
You could also turn off your speakers ;)

Sorry, I had to post that :)
0
 
LVL 4

Expert Comment

by:D3SIGN3R
ID: 18833003
Mwahahahahaa.

Also, set the sound to "stream" and not "event" or "start", with a loop of 100, so if it loses focus, it would kill itself.

0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question