IDE :: Mediacontroller Sound Doesn't Unload?

Nov 11, 2006

i am working on a slide presentation, with audio commentary. There are several swf's each with a separate mp3, which i am playing with media controller. I am loading each swf file on a base swf. Problem is the sound of a particular swf doesn't stop even when it's swf is unloaded. So when the next file is loaded, two simultaneous audio tracks can be heard.

i tried putting stopallsounds on the button which loads the next swf, but it doesn't work either.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Does FLVController Use Constructor Of MediaController?

Oct 7, 2009

I know, every class needs a constructor. But, in the book there's a practical tutorial of a media player to demonstrate all of the concepts of OOP. So the author first created a class called MediaController and then another class called FLVController which extends MediaController. In the FLVController the author did not include a constructor function, instead he has just overridden some of the MediaController class. Actually, I never knew this is possible... but in this case, does FLVController use the constructor of MediaController? what if both class should be constructed differently, does that mean I have to include a constructor in FLVController as well or override it in some way?

View 2 Replies

ActionScript 1/2 :: Sound Control Adding Text Into The Linkage Field But Still Sound Doesn't Work

Jan 21, 2010

How to import sound with AS? Cuz i have tried it and my sound just wount play. Can you explain me where my sound should be and what is the as code for importing cuz i use

mysound = new Sound();
mysound.attachSound("SoundOn");
mysound.start();

and this SoundON from where i get it, i try to add linkage to the sound file but in CS4 i cant find the option;. I do it from the library, adding text into the linkage field but still my sound doesn't want to play?

View 15 Replies

ActionScript 2.0 :: Tutorial For Customizing The MediaController Component?

Aug 16, 2006

recommend a tutorial or guide to heavily customizing the MediaController component? Customizing components at the level my group is looking at for a project we have is way beyond what we've done before.

View 1 Replies

ActionScript 3.0 :: Sound Channel - Sound Doesn't Work?

Dec 5, 2010

The code seems OK but I can't hear the sound. I have it in the fla/swf and exported etc... I suppose something in this code is wrong. Haven't coded for ages - bit rusty I'm afraid.

[Code].....

View 3 Replies

ActionScript 3.0 :: Loader Unload Doesn't Work

Jul 18, 2011

I want to unload my loader when i click the unload button, and to check if it unloaded successfully, i typed a trace command [trace("unloaded")] in the eventListener "EVENT.UNLOAD", but when i click the unload button, it doesn't unload.[code]any help on how to make unload work?

View 5 Replies

ActionScript 2.0 :: Unload / Load Movie And Doesn't Get To The Second Action

Feb 13, 2009

[Code]....

I figure that it unloads the movie and doesn't get to the second action so it just shows a blank because if i don't unload the movie, it'll load a movie overtop of the old one. All of the stuff I found that could potentially help are overly complicated with variables and large amounts of code. Is a crazy amount of code required?

View 1 Replies

ActionScript 3.0 :: 3 Main Buttons Doesn't Seem To Unload Loaded .swf?

Jun 12, 2009

I'm trying to create app. that has 3 main buttons that goto 3 pages each with 15-30 buttons that each load external .swf that covers most of primary swf xpt 3 main buttons. Clicking on those 3 main buttons should unload previously loaded .swf and each loaded .swf should have preloader in its start.

1.) preloader works fine when i launch file separately, but when i load it from main .swf, it just shows "100%" at once...

2.) 3 main buttons doesn't seem to unload loaded .swf...

Main .swf code:

PHP Code:[code].....

View 2 Replies

ActionScript 3.0 :: Unload Swf But Still Playing Sound?

Feb 25, 2011

I have 10 swf's, i m displaying 1 swf for each question displaying 1 swf, but problem is i unload the swf and load the next question clip but old one is still playing sound..

View 1 Replies

ActionScript 3.0 :: Unload Sound In Swf File?

May 10, 2010

I have external swf files,i am loading these swf files in my main swf file,when i am unloading the external swf file ,sound in that swf file didn't unloaded it will be continued in the swf file also.how can i unload that sound while unloading the swf file.

View 2 Replies

ActionScript 3.0 :: Sound Still Persist After Unload?

Feb 16, 2011

I have unloaded the external swf that contains sound. but the sound still persist, how do I get rid of this sound?I'm pulling my hair here.I've tried:- _loader.unloadAndStop();- flash.media.SoundMixer.stopAll();all doesn't work because stopping sound that way only works when the sound has already playing. If the sound is "about to play" (but not play yet) the stopAll() cannot prevent the upcoming sound from playing

View 5 Replies

ActionScript 3.0 :: Unload And Kill The Sound Of An External SWF?

Sep 6, 2011

I have the following program to play a .flv movie on a webpage made by myself:
 
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;

[Code].....

When I publish the preview, it works well and I can unload it and kill its sound by clicking on the close button. When I publish the page on the website and load the movie through "loader_btn", it works well, and when I click the close button, the image disappears but the sound is continued.

View 3 Replies

Actionscript 3.0 :: Unload Loader Wont Stop Sound From External SWF?

Mar 24, 2010

I have a menu on my main page where i can choose some videos to play, these videos are in external SWFs that are loaded in and displayed using Loader, URLrequest etc.. etc..

I have a close button on my external swf that sends a dispatchEvent to an eventListener on my homepage to close the external SWF however the sound from the video in the external swf is still audible even though the visual is gone

heres the code

main page code
Code: Select all
function playVideo(e:MouseEvent):void{
//stop maipage sound
channel.stop();

[Code]......

View 2 Replies

ActionScript 2.0 :: Make Movies Unload Before Movie Corresponding To Button Clicked Loads Up / Doesn't Overlay?

Jun 16, 2003

URL...How and where and what do I add to make the movies unload before only the movie corresponding to the button clicked loads up and doesn't overlay?I'm having trouble with the level and all that URL...

View 4 Replies

IDE :: When Click The "x" Button It Doesn't Unload?

Apr 29, 2010

This code that's attached to the current file works fine when you have it just in the time line. but when i put them into external files they dont work.

The problem is when you click the green box, it loads the "book" fine, when you click the "x" button it doesn't unload i am unsure how to fix this.

I have attached the test file here so you can have a look at it

[URL]

Uploaded here due to size

View 2 Replies

Flash Sound Doesn't Play

Dec 16, 2009

I have sound playing in my flash file. My index file is a html file which calls the flash file, and when i run the html file, the sound doesn't play. Does anyone know how I can rectify this?

View 5 Replies

ActionScript 2.0 :: Adding Sound - Doesn't Come Out

Jan 12, 2010

I am doing a game such that when the score++, there is a certain sound. And when the score--, there is another sound. Cause I'm not really sure if this is the correct way. So I have two sound files, linkage "hit" and "miss" The actionscript goes like this on my movie clip:

[Code].....

View 2 Replies

ActionScript 3.0 :: FLV Sound Doesn't Stop?

Dec 22, 2008

I have a swf with 4 scenes, in each scene there's a FLVvideo. I have buttons going to prevScene and nextScene and when goback and forward I hear the sound of another FLV,?the code for the buttons (for example) is

button1.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {

[code].....

View 3 Replies

Sound Playback Doesn't Stop?

Oct 14, 2009

I'm experiencing difficulty when playing sound files. When I start the playback of the timelime using the enter/return button everything plays as it should. When I press it again to stop, the visuals stop but the sound file in the timeline just keeps playing until it reaches the end of the track- even if I have cut some out of the timeline. I used to use mx 2004 and never had the problem. Note: I am using this in college not on a personal computer.

View 1 Replies

ActionScript 3.0 :: Sound Doesn't Stop SOMETIMES?

Jul 14, 2010

I have movie clip buttons with a dynamic sound withing a slide show. Slide show consists of 3 movie clips connecting on frames 1, 300 and 900. The movie clip buttons with sound over are within the connecting movie clips. My problem is that although the sound and buttons work fine most of the time, sometimes, particularly if I mouse over the button wile it's transitioning on one of the connecting frames (300, 900), the sound doesn't stop... I'm sure I'm missing something in the Action Script?? Here's the script I'm using for the buttons:

stop();
import flash.display.MovieClip;
import flash.events.MouseEvent;

[code].....

View 3 Replies

ActionScript 3.0 :: Fading Sound Doesn't Work

Jan 9, 2012

I have this problem when I try to fade in sound with the function below. It just doesn't work and I can't figure out where the problem is. I would like to fade in a looping sound but nothing happens.

this is used to play a sound via events

Code:
dispatchEvent(new CustomEventSound(CustomEventSound.PLAY_SOUND, Main.SOUND_AMBIENT, false, true, false, 999999, 0, 0, setSoundVolume));

this is the function to play a sound. the stop-function is almost identical to this one.

Code:

public function playSound(soundName:String, isSoundTrack:Boolean = false, fadeIn:Boolean = false, fadeOut:Boolean = false,
loops:int = 1, offset:Number = 0, volume:Number = 1):void {

[Code].....

View 7 Replies

Sound Doesn't Sync Properly In 24fps

Dec 12, 2009

im having a problem with sound in the animation. I noticed that sound doesnt sync properly in 24 fps.The sound actually does sync properly when the sound is an event, but when the sound is set to stream, it actually doesnt play properly, and i need my animation to have streaming sound especially for the internet. So for example, if i added a sound effect to start on frame 30, when i play the animation in swf, the sound effect actually starts playing at the wrong frame, in this case, the sound plays before frame 30. So in this case, the sound plays too early, and therefore the sound effect doesnt match with the animation itself. I wanted my animation to be at 24 fps, so i assume theres something that i have to do to get sound to sync properly with the animation at 24 fps.

View 2 Replies

Flash 9 :: Sound Sometimes Doesn't Compress To Mp3 Properly

Aug 7, 2008

The keyword is "sometimes".

I recompiled a Flash 8 project in Flash CS3 recently and noticed that some of the sound effects sounded like a painful chippy mess. It sounded like the mp3 bitrate was at the lowest Flash outputs (16kbps). I compiled again, and all the problems went away. Then I compiled again and different sounds went chippy!

Fine, whatever. Maybe it's a glitch between project versions.

This week I built a project from the ground up in Flash CS3 with AS 3.0 . The chippy compression is still there and happens most of the time. Both my global and local compression settings for sound clips are mp3, 160kbps, Stereo.

View 8 Replies

ActionScript 3.0 :: Sound Doesn't Play Correctly?

Oct 23, 2011

I have a button that when clicked, it's supposed to play a sound. Now, the sound does play when it's clicked, but it seems to be offset (meaning, it starts a few seconds later in the sound). As a result, only half of the sound plays.I have two buttons that do this, and I'm not sure what caused them to do so.I've never had this problem before, so I'm clueless where to go to fix it. I tried verifying the integrity of the sound, and it's normal. When I check it's proporties from the library, and "Test" the sound, it plays just fine, with no offset or anything.Here is the code I have for the button that causes this behavior:

Code:
var soundEffect_Button = new SND_EFFECT();
soundEffect_Button_instance_manual.addEventListener(MouseEvent.MOUSE_DOWN,SndEffectDown);
//Make the callback[code].........

View 4 Replies

ActionScript 3.0 :: Sound Tutorial Doesn't Appear To Be Preloading

Jun 17, 2010

I just tried this code from this url and it didn't preload my sound: [URL] is there more to it that I need to know? here is the link to the project. You can see that the sound takes several seconds, but the animation already plays: [URL]

View 9 Replies

ActionScript 3.0 :: Sound Loop Doesn't Stop Sometimes?

Feb 16, 2011

It stop sound sometimes and sometimes it doesnt

var soundReqTele:URLRequest = new URLRequest("sounds/telephone_ring.mp3");
var soundTele:Sound = new Sound();
var controller:SoundChannel = new SoundChannel();
soundTele.addEventListener(Event.COMPLETE, soundLoaded);

[Code]....

View 1 Replies

Actionscript 3 :: Flash Sound Doesn't Work In Most Browsers

Mar 1, 2011

I'm trying to play sound from url.

var s : Sound = new Sound();
s.load(new URLRequest("http://85.21.236.228:8000"));
s.play();

It's OK in Opera browser. But in IE, Chrome, Firefox there's no any sound.

View 2 Replies

ActionScript 3.0 :: Fade In A Looping Sound Doesn't Work

Jan 9, 2012

I would like to fade in a looping sound but nothing happens. this is used to play a sound via events.Code:dispatchEvent(new CustomEventSound(CustomEventSound.PLAY_SOUND, Main.SOUND_AMBIENT, false, true, false, 999999, 0, 0, setSoundVolume));this is the function to play a sound. the stop-function is almost identical to this one.[code]

View 2 Replies

ActionScript 2.0 :: Unload Movie Stuff - Current Swf To Unload And The New One To Load Only After A Transition Occurs

Jun 16, 2003

I want the current swf to unload and the new one to load only after a transition occurs. Is there a more efficient way to do this than if. switch()?

View 2 Replies

ActionScript 3.0 :: Unload The Previous Loaded .swf And Load The New .swf Without Having A Separate Button To Unload

Aug 9, 2008

I am working on a school project that requires me to load external .swf or .jpg files. I currently have all of the buttons working and are loading an external .swf file on to the screen. The problem I am having is that when I go from one button to the next the loaded .swf stays on the screen and the next .swf gets loaded on top of it. I know that I need to unload the file but I am not sure where to put the code for the unload or what code exactly to use. I would like when the button is pressed to unload the previous loaded .swf and load the new .swf without having a separate button to unload.

[Code]...

View 3 Replies







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