ActionScript 3.0 :: Stopping Sound From An Intro Video

Jan 18, 2011

I'm new to actionscript, and don't understand the basics of the code's structure, but I've looked around a bit on here, and unless I'm missing it, I can't find how to stop a sound on the timeline. I'm using CS5, and the flash file is version 10 with AS 3.0.My website has an intro video that lasts for 16 sec with sound for all 16 seconds. I have a link to skip the intro, but when i click the link, and the time line advances to the frame that i've specified after the intro, the sound continues to play until all 16 seconds are finished.I've seen how to stop all sounds with the SoundMixer, but after the intro, I have another 2 second sound that plays as the buttons for my main links come flying into the stage. So I dont want to turn that sound off as well.here is to target the intro sound file (which i've placed in a movie clip) in the SoundMixer volume variable, but I don't know how to code that.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Stopping Sound From Video?

Sep 22, 2009

In my website i have some videos. When i import the video.swf to my main swf. everything works fine. But if i navigate away from the video part the video goes away but the sound keeps playing.

I dont want to use the flash.media.SoundMixer.stopAll() function becasue i have a jukebox player that i want to work inbetween. and dotn want it to stop when you navigate the menu. It only stops when you go to Videos.

Here is the code i use:

var image:Loader = new Loader();
addChild(image);
image.x = 95;

[Code]......

What can i put in the news button to make the sound from the video stop.

View 7 Replies

ActionScript 3.0 :: Stopping Video Player (sound) Before Unloading Swf?

Jan 21, 2009

The situation is I have a swf loading another swf. The loaded contains a custom video player. When I unload the loaded swf the audio continues to play though the player is now gone.

View 3 Replies

Media Server :: Add An Intro Video Before Main Video Starts

Aug 4, 2010

I have a 10 second Intro video that I would like to play before each main video plays. The videos are streaming through FMS 3.5. At the moment I have to attach the intro to the start of the main videos and render out in Premiere Pro CS5 Ideally I would like to set it up so that the intro starts for the 10 seconds and then auto switches to the manin video. To show an example of what I need to do here is a link to an Archery site ( I also do archery as a hobby and noticed this)[URL] If you click on any of the 8 parts for either day 1 or Day two, you will notice a couple the 5 second intro screens and it then automatically goes back to 0 to start the main video.

View 4 Replies

IDE :: Squeak Sound At Start Of Flash Intro

May 14, 2009

I decompiled a good working .swf file to .fla file to edit some text in it, but the decompiled .fla when exported creates a squeak sound at the beginning of the flash intro. I am not able to remove it. Is there any way of getting rid of that squeak? Is there some error with the decompiling software itself (I am using SoThink SWF Decompiler v5), because the exported file creates a squeak even when nothing is edited! but the original flash intro swf file works good.

View 1 Replies

ActionScript 2.0 :: Make Preloader W/ Looping Intro Sound?

Mar 27, 2005

I am still a NooB to Flash, but did finally get to build a successful preloader (ahem). Now that I have that built, I was wondering if it is possible to loop a sound within the preloader 'scene'. This is what I have built for final production:cene 1: Diesel Startup SoundScene 2: Preloader movie, while main movie loads (w/ loopable diesel engine sound?)Scene 3: Sounds stop, plays 10 sec movie, then 'goes to url'Can anyone point me in a direction to see a preloader w/ looped sound, or a project that shows how to do this? Or, even better, show me how the code should look? I'm getting lost in code!

View 2 Replies

ActionScript 2.0 :: Make Preloader With Looping Intro Sound?

Mar 27, 2005

I am still a NooB to Flash, but did finally get to build a successful preloader (ahem). Now that I have that built, I was wondering if it is possible to loop a sound within the preloader 'scene'. This is what I have built for final production[code]...

View 2 Replies

ActionScript 2.0 :: Sound Fade Out - Skip Intro Button - StopAllSounds();

Aug 7, 2006

I have an external SWF file and when I click on a "skip intro" button, right now I have a StopAllSounds(); on an onclick, so it stops the sound of the external swf, is there a way to fade out the sound instead on an onclick of an embeded sound on an external swf?

View 1 Replies

ActionScript 3.0 :: When Press Skip / It Stop At Next Frame But Sound Of Intro Still Playing

Nov 2, 2010

i've imported a flv video file to Flash for the intro and i create skip button to go next frame..but when i press skip..it stop at next frame but the sound of intro still playing.

View 3 Replies

Sound Not Stopping During Testing?

May 23, 2009

I'm using Adobe Flash CS4 on Mac (windows i'm sure i can figure out how to fix it on the mac version)I'm trying to sync some animation to sound, and my sound is all in one big file. I'm wanting to go through frame by frame and tweak it (Yes, it's a frame by frame animation, no tweening here don't ask why, it's just not), anyways, I keep trying to use the "Control -> Play" button to keep playing the sound from the area I'm working on so I don't have to start at the beginning everytime. After I hear the section I want, I want to just push "stop" and everything stop, including the audio. It would stop everything before, but now it's not stopping the audio so it will just keep playing even though I had hit stop.?

View 1 Replies

ActionScript 3.0 :: My Sound Keeps Stopping

Apr 21, 2010

I am trying to get music to play continuously, it works, but everytime you click on a button, the song restarts on the new frame.The sound code is on frame 1, and is loaded from and external file.[code]...

View 17 Replies

ActionScript 1/2 :: Stopping Only One Sound?

Mar 14, 2012

just looking to stop one sound without stopping all sounds with a buton click

View 11 Replies

Sound Not Stopping When Navigating Away

Jan 27, 2009

I have several swf files which are completed screencasts with voice overs, which I need to integrate into a flash application to distribute on CD to new students.

To play the screencasts in my flash file, I'm navigating to a new frame for each one which has a movie clip on it (instance name myscu3 for example). The myscu3 movieclip has about 20 frames of animation to grey out the screen behind, and then a couple of frames with actionscript on them, which 1) first frame shows a loading screen while the screencast swf is loading via a Loader and then navigates to the 2) second frame where the screencast coords are set and addChild is used to show the screencast via the Loader.

All works fine EXCEPT ... if I navigate away from the parent timeline frame where the myscu3 clip is ... the screencast disappears (as it should, as the myscu3 clip isn't on other frames, but if the screencast hasn't finished playing before I navigate away, the sound keeps playing.

how to stop the sound playing, as the loader is in the child movieclip, and the navigation away from the frame containing it is accomplished by clicking on any of the tabs at the side (on the main timeline). Any ideas? Is there actionscript code which will just stop any current sound playing (without stopping the ability to play sound) which I could add into the tabs navigation code?

View 1 Replies

ActionScript 2.0 :: [CS3] Stopping One Single Sound?

Jan 30, 2009

I want to use a button to stop just 1 single sound. (Ill have a background track playing, and a voice over on top, and want a button to stop just the voice.) I was able to get an mc with 2 frames inside with 2 buttons and have this code:

on (release) {
tellTarget ("../sound") {
stopAllSounds();
}
}
on (release) {
nextFrame();
}

That will work but it stops all sounds. Can i stop just the "../sound" portion??

View 2 Replies

ActionScript 2.0 :: F8 Stopping A Timeline Sound

Apr 2, 2009

I am creating an e-learning to put into an LMS which has sound files. in order to play in the LMS, the sound file has to be in the timeline of the flash file, and not called through attachSound, or attachAudio. I would like to trigger an event after the end of the sound, so i have made a movie clip, placed the sound in the movie clip, and put the event at the end.whenever i advance, or back up in my file, the sound continues to play. i've tried stopping the sound by:[code]neither of those will stop the sound. The movie will advance, but the sound also continues to play. If I go back to the sound, it restarts, but I will need a way to stop it.

View 3 Replies

ActionScript 3.0 :: Stopping A Sound In A Loaded Swf?

Jan 4, 2010

Is this possible? I've loaded an external swf into my movie - the swf stays on stage but loses focus throughout a users interaction.When it loses focus, I need the sounds within it to stop.It was mentioned that I should cast my swf as a movie clip but when I try I get errors.

View 4 Replies

ActionScript 3.0 :: Stopping A Stream Sound?

Aug 5, 2009

how do we stop a streaming sound?

sound.stop();
or
sound.close();

View 1 Replies

ActionScript 3.0 :: Stopping Sound Without A Button?

Apr 4, 2010

Is it possible to stop a sound playing without a button? I have background music on frame 1 but before I move onto frame 2 I want the sound to stop. I have 5 buttons on frame 1 to lead to different frames but I do not want them to control the sound. I also do not want to use stop all sounds on the next frame as I want sounds to work on those pages. The script below is to start the sound so how do I stop it from continuing onto the next frames when the control buttons are clicked.

View 6 Replies

ActionScript 3.0 :: Stopping A Sound Track

Jun 13, 2010

I am using an addChild() method to place an intro MovieClip into a website. It has a short ten second musical track. I also have a skip intro button on the stage which does a removChild(). I keep trying to write code that will also stop the sound, which continues to play. I tried loading the sound separately and used the channel.stop(); So far nothing is working. It seems like I've been here before.

[Code].....

View 5 Replies

Actionscript 3 :: Stopping The Sound Of A Child Swf?

Oct 10, 2011

The timeline of my child swf, there are layers with specific sound files in them to be in sync with my animation. Now the problem arises when I try to import this swf into my main flash website using a loader and the sound will continuously play everytime the button is clicked in the parent. My question is how do I get the sound to completely clear itself and restart from frame 0 of the child swf upon every click of the button that loads the child into the loader within the parent.

var myLoader:Loader = new Loader();// create a new instance of the Loader class
var project1:URLRequest=new URLRequest("Projects/Q1/Flash_Projects/Greeting_Card/GreetingCard.swf");

[code].....

View 1 Replies

ActionScript 3.0 :: Stopping Sound On Mouse Out?

Feb 12, 2009

I am having a very difficult time stopping the sound when I mouse Out. I originally included the sound directly on the Mouse Over frame in Flash, but it wouldn't stop, so i removed that and wrote the following code:

var snd:sherrin = new sherrin();
var channel:SoundChannel = new SoundChannel();
var Symbol1:SimpleButton = new SimpleButton();

[code]....

I got this to where I get no Output or Compile errors, but the sound still doesn't play.

View 0 Replies

ActionScript 3.0 :: Stopping Sound From Overlapping?

Aug 31, 2009

How can I control sound in flash so that:

1) the music starts when the user clicks on a play button but when they click on the play button again while the music is playing, the music DOESN'T overlap?

2) the music doesn't overlap when going back to the homepage where the music first started playing??

I'm currently using the code below but the music overlaps when I press the play button more than once while the music is playing and when I go back to the page where the music started playing...

Code:
var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var lastPosition:Number = 0; // pause button
mySound.load(new URLRequest("that_tune.mp3"));

[code]....

View 2 Replies

Actionscript 3.0 :: Stopping A Sound Variable?

Mar 21, 2009

How can I stop a sound variable playing? Say I have sound playing on the first frame.

var nar1:Narration1 = new Narration1();
nar1.play(0,0);

I have a button and when it's clicked, I want "nar1" to stop playing, and a new sound to begin. I would imagine this works, but it doesn't:

var nar2:Narration2 = new Narration2();
nextbutton.addEventListener(MouseEvent.CLICK, playnar2);
function playnar2(e:MouseEvent):void{
nar1.stop(0,0);
nar2.play(0,0);
}

Instead, "nar1" keeps going and "nar2" just plays over it. I tried SoundMixer.stopALL, but that just stops all sounds and I don't want that.

View 1 Replies

ActionScript 2.0 :: Stopping Sound Loop?

Oct 19, 2003

In the tutorials, there is a sound loop that you start with a button, The fla didn't have a stop script to add to a second button.

View 4 Replies

ActionScript 2.0 :: Stopping A Currently Playing Sound?

Jun 14, 2007

I am making a kiosk based on another designers layout where I work... I am not going to get in the details, but the work seems sort of an unorthadox way of using flash - anyways...

It is basically an interactive slide show... play, pause, previous slide, next slide...

Each SWF that is loaded in is around 15000 frames in lenght (right under that magical 16000 number) - the audio voice overs are on the time line one after another... so when the slide changes the voice over matches the slide current slide... there are 31 slide JPGs and 31 mp3 files that are divided between 8 SWFs.

The issue I am having is that when you are one the first "SWF" (slides 1-5)... and you move from slide 1 to 2 before the audio is done playing... it will keep playing the audio from slide one and then start the audio from slide to ... so on and so forth until you get to slide 6 - which is a new SWF that is loaded...

I know that I need to use a stop sound script somehow... on the first frame of each of the following slides so that it stops the currently playing sound... if it hasn't already finished...

if you let the presentation go it works fine... but when you move forward and back... the sound gets garbled....

View 8 Replies

IDE :: Sound Starting And Stopping Across Scenes?

Oct 2, 2007

I've set a music sound to play across three scenes in my movie. However, when the user clicks to enter the fourth scene, I'd like the music to stop. Simple enough.

Here's the problem...the fourth scene contains individual keyframes in the scene where I have separate voice overs for each frame. The user navs forward or backward among the scene's keyframes using arrow buttons for forward and backward. How can I have the voice over stop playing on frame 1 if the user clicks the arrow to go to frame 2 if the frame 1 sound isn't finished playing? Frame 1 plays out until finished, even if the user has clicked to go to frame 2.

Then, on return to the main scene where the general music file played, I'd like it to resume playing upon the user clicking 'return home.'

Incidentally, I set up my sound files to play on a soundtrack timeline.

View 4 Replies

ActionScript 3.0 :: Playing One Sound While Stopping The Others?

Feb 26, 2009

I'm stuck while trying to playing some sound and stopping the others. What I do is : I'm using a linkage to get access to my sound. For example I have 5 linkage sound. I need to play just one specific sound and stop the others. I create a new Sound() and a new SoundChannel() for each one , and put it all in Array. But when I'm trying to stop the others by stopping it's channel, it won't work: The snippet is somewhat like this :

Code:
for(i=0;i<song_.length;i++)
{
if(snd==song_[i].clas)

[Code]....

I have an array of object that have a sound and channel for each one.

View 1 Replies

ActionScript 3.0 :: Playing And Stopping Sound?

Sep 13, 2010

I had been through your post which telss about playing sound using AS3. It was really helpfull. I just wanted to know how we can stop the sound using a Button click event.

View 1 Replies

ActionScript 3.0 :: Flash Stopping A Sound?

Apr 10, 2012

i'm using this a tutorial of republic of code to play sound and it works well for short sounds on there own however i'm trying to stop a song from playing when i click a button but i dont understand how it works. i know i have to use SoundChannel Class but i dont know what this is or how to use it. i use this to play my sounds.

var mySound2:Sound = new BgSong();
mySound2.play();

how would i get this to work using SoundChannel Class im confused.

View 1 Replies

Professional :: Create An Intro For A Music Video?

Jan 15, 2011

I want to create a short intro for a music video using digital pictures, as I don't have a camera.[URL]

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved