Solved

Sound Keeps Playing in Flash Frame

Posted on 2007-03-30
3
305 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 250 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This video teaches users how to migrate an existing Wordpress website to a new domain.

749 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