Solved

Sound Keeps Playing in Flash Frame

Posted on 2007-03-30
3
298 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
3 Comments
 
LVL 11

Accepted Solution

by:
sibgig 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Question.. 3 78
use of cookies and regulations 1 77
Does it make sense migrate a website to MIcrosoft Azure 4 48
cookies analysis tools 2 73
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now