Professional :: Turn Off Sound When Playing FLV Movie?

May 26, 2010

I can download video from youtube as FLV.Want to play back in my Flash swf file without sound.How do I mute the sound during user playback?

View 1 Replies


Similar Posts:


Professional :: Movie Clips / Sound Keeps Playing After Navigating Off Frame/page?

Aug 17, 2010

Basically I have a flash website built on different frames of the timeline, the simplest way I think.Some of these frames have movie clips embedded into them using the flv playback component class.The problem I have is the following, the site works fine and videos play fine, but whenever I navigate offa part of the website to another, from a frame to another - the sound of the clips that were playing keepsplaying on the background and never stop and it keeps building up every time I navigate of.f each page.I want to remark that I believe is not only the sound that keeps playing "invisible" but the whole clip butThis is the AS code for my buttons on an example frame, would you be so kind to tell me what I should add or change

stop();cvbtn15.addEventListener(MouseEvent.CLICK,onClick25);function onClick25(event:MouseEvent){  gotoAndStop(27);}showbtn15.addEventListener(MouseEvent.CLICK,onClick26);function

[code].....

View 3 Replies

Professional :: Stop A Sound From Playing If It Is Playing Already

Dec 6, 2011

ok so i have a button that plays an animation for fire when held down. and when realsed goes to and stops and frame one. when it reaches the end of the time line it goes to and plays at frame 10 and goes back to the end of the timeline. I have a sound for the fire animation that plays for the effect. The problem is the sound keeps going untill its over even if the button isnt held down. and when the playhead reaches the end of the timeline it goes to and plays and frame 10 and it replays the sound. if i hold it down it will just keep playing the sound over and over from start to finish. what i want it to do it when i hold the button down i want it to play the sound and when released it stops the sound where ever it is at. I also dont the sound to play again if there is a sound already going to stop it from playing 20 sounds at one time it gets loud and you need asprin after about 5 seconds of that.

View 2 Replies

Professional :: Playing Scenes In Test Movie Animations Stop Playing?

Dec 4, 2011

I am using AS2 in CS5.5.I am creating a project for a class that introduced me to adobe flash.  The issue is I have gotten to a certain point about 15 scenes.  During say the 15th scene scrolling through the timeline animations works fine, playing it on test scene works fine.  When I go to play it on test movie it stops at a certain point.  At first I thought it might have been a misplaced stop action but there is none to be found.  The weird part is every other scene I create after that continues to freeze as well, the images are there, but the animations won't play.  All my previous animations play before those with the issue, it's justThese new ones won't play for some reason in test movie, but work completely fine in test scene and the timeline.

View 4 Replies

ActionScript 2.0 :: Script For Sound Control - Turn The Sound Off And On?

Jan 21, 2003

I want to incorporate sound into my main movie but I also want to be able to turn the sound off and on.

View 1 Replies

Professional :: Playing Sound In Timeline (For Lip Sync)

May 16, 2010

I've run into a bit of a problem using Adobe's CS3 flash program in terms of lip syncing... I can place the sound files in the timeline at whichever point I like and so forth, but I have no way to play them in such a way where I can adequately make lip syncs. It's hard to explain, but in flash MX I would merely click the timeline, drag the cursor along it, and it would play the sounds as it did the frames, one piece at a time. That way I could tell where the consonants were and therefore where to change my characters' lips. This is not the same as simply hitting "enter" and letting the sound play in its entirety.

View 4 Replies

Movie With Button On Stage - No Sound Playing?

Oct 17, 2010

I have 1.mp3 beside my .fla file and when I tried to run a movie test, it doesn't play any sounds. Only the stage has a glitch was it keep loop frame 1 and 2.
var mySoundReq:URLRequest = new URLRequest("1.mp3");
var mySound:Sound = new Sound();
mySound.load(mySoundReq);
mySound.addEventListener(Event.COMPLETE, playSong);
function playSong(event:Event):void {
mySound.play();
}
My test Movie with button on stage: [URL]

View 1 Replies

Professional :: Stopping Sound Playing On Button Click?

May 3, 2010

I found this code to play sound:

myButton_btn.addEventListener(MouseEvent.CLICK, buttonIsClicked); [code]....

I got it working fine, but was wondering how to program a function for another button to stop stop playing that sound?I tried a function with snd.stop(); but that seems to be incorrect.

View 6 Replies

Professional :: Flash - Animation With Stream Sound Not Playing In Mac?

Jul 29, 2011

I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60.When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.I am using VMware Mac OS x leopard in window xp for testing purpose.

View 2 Replies

ActionScript 3.0 :: Sound Continues Playing When Replaying Movie

Jul 20, 2010

I'm fairly experienced with AS2 and not very with AS3. I've run into a problem with sounds repeating and have set up some simple test files. Yes I'm sure they could be set up in a smarter way, what I'm curious about is why the AS3 behavior is different from AS2.

I'll explain what I've got:

A file with five frames. Nothing on frames 1-4. On frame 5 there is a stop() action, and a movieclip with a sound embedded into it set to "Stream". There is also a button that triggers a gotoAndPlay(1) event when clicked.

In AS2, clicking the button stops the sound (because the clip doesn't exist on frames 1-4), replays the .swf and on frame 5 starts the sound over.

In AS3, the .swf replays, but the sound continues to play (in spite of the clip not being on frames 1-4) and on reaching frame 5, starts playing a second copy of the sound over the first.

View 3 Replies

ActionScript 2.0 :: Playing Sound File When Movie Loaded

Aug 5, 2004

I have a problem with sounds in this movie. I have a sounds file that I would like to play as soon as the movie is loaded, but I dont want it to stream because I want to loop it and I want it to be done with AS. I saw a Tutorial where the sound would load as soon as the movie started but it wouldn't play until the play button was pressed. I want the song to play as soon as the sound is loaded. The Tutorial is Creating a Volume Control Silder. [URL]

View 5 Replies

Actionscript 2.0 :: Detect If Stream Finished Playing Sound/movie?

Apr 29, 2009

how to detect if stream finished playing sound/movie?

View 1 Replies

Way To Turn Sound Off

Mar 27, 2010

I have added a flash sound file to our homepage. How do I add an option for the visitor to turn the sound off? I don't have the .fla file for it.

View 1 Replies

Sound - Turn On/off Feature

Sep 10, 2009

I have a very simple project. I just need a flash video that has a sound file and a button to turn on/off.

View 1 Replies

ActionScript 3.0 :: Turn Off All Sound In The Swf?

Dec 27, 2009

I have some sounds in a timeline ( i purposely put them on time line rather then through AS3). But is there a way to turn off all sound in the swf, like is there a global sound channel?

View 1 Replies

ActionScript 3.0 :: How To Turn Off Sound Only

Oct 23, 2011

How do you turn off the sound in a game only? I ask because I have two buttons in my settings: turn music on/off and sound on/off. turning music on and off is really easy because it uses a specific sound channel. But How do you turn off the volume the sound only (e.g. music is still playing but not the sound of the game)?

When I mute the sound via SoundMixer.soundtransform you can't hear anything so that's not what I wanted to have. In my game all sounds are thrown into an array. My first idea was that I go through all sounds listed in the array and turn off the volume but that's not working.

Code:
//not working
private var sounds:Array;
private var soundChannels:Array = [];

[code]....

View 1 Replies

Actionscript 3.0 :: If Press Play Button While The Sound Is Already Playing It Has The Same Song Playing In The Background

Nov 13, 2010

I have a sound clip that I'm loading externally into my flash file. The code I'm using looks like this and is placed in the as layer on the first frame,

var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
var lastPosition:Number = 0;
mySound.load(new URLRequest("introaudio.mp3"));
myChannel = mySound.play();
[Code]....

View 14 Replies

ActionScript 1/2 :: Stop Other Sounds From Playing While Current Sound Is Playing?

Apr 10, 2011

I am creating a game that has 6 movieclips all on the main time line of the game. Each movie clip has three buttons that when clicked plays, pauses or stops a sound clip.When I press any of the sound clip play buttons that sound starts playing, the problem is when I click any of the other sound clip play buttons those sounds also start to play. Is there a way I can disable the other sound clip buttons while the current sound is playing then enable all of the buttons when the current sound has stopped.
 
This is the code that creates one of the sound objects

[Code]...

View 3 Replies

ActionScript 3.0 :: Turn A ByteArray Into A Sound?

Feb 3, 2010

I have a sound-file (.wav, could be any format) saved in a ByteArray. How can I play it as a Sound? I've heard it should work with SoundChannels and stuff, but I don't know how...

View 9 Replies

ActionScript 3.0 :: Flash Turn Off Sound Only?

Oct 23, 2011

How do you turn off the sound in a game only? I ask because I have two buttons in my settings: turn music on/off and sound on/off. turning music on and off is really easy because it uses a specific sound channel. But How do you turn off the volume the sound only (e.g. music is still playing but not the sound of the game)?

When I mute the sound via SoundMixer.soundtransform you can't hear anything so that's not what I wanted to have. In my game all sounds are thrown into an array. My first idea was that I go through all sounds listed in the array and turn off the volume but that's not working.

[Code]...

View 2 Replies

Stop The Playing Sound And Start Playing The Button?

Oct 3, 2009

So I made a few buttons with sounds within them and when I publish it they work just fine. But what I want them to do is;

Say I click a Button.The sound starts playing.Then I click it again, before the sounds done playing.I want it to stop the playing sound and start playing the button I just clicked on, whether it be the same button, or a different one.Right now it just ends up sounds like an echo because it'll play it as many times as you click it.

View 2 Replies

ActionScript 1/2 :: Turn On Audio For External Flv On Replay When Previously Muted While Playing?

May 3, 2011

I have a project where an external video plays with cue points that  trigger the elements on my main timeline (captions). I have a custom mute button  for the video so that the guy talking on the video can be muted if necessary (did not use a skin for video controls but set it up as a button). The problem is, when I reach the end of the video and I click  a "replay" button to restart at the beginning, the timeline and video start but if the video was muted previously, the video remains muted while my button shows that it isn't. How do I  get the audio to turn back on automatically when restarted, or at a minimum show that it's still muted when replaying? My replay button AS2. mcPlayer is my flv.

[Code]...

View 9 Replies

ActionScript 2.0 :: Checkbox To Turn On/off Sound Effects?

Nov 30, 2003

I have an animation that plays a couple of different sound effects (depending on what button is pushed). I have a checkbox that I would like to use to turn on/off the sound effects. I have read somewhere that it is possible to set up sort of a global sound that if stopped, stops all sound effects. I have tried to set this sort of thing up but no success . When I test getValue() of my checkbox it seems to work (defaulted to true) but nothing happens when I uncheck the box. What am I doing wrong? p.s. In what forum would I make the suggestion to have a new category for just sound problems? Does anyone else think it would be a good thing to sequester sound issues in their own category?

View 8 Replies

Professional :: SWF Files - Playing More Than One Movie

Nov 19, 2011

I want a swf file that will play other swf files one after the other. They are swf, not video files, as I need to change everything on the page when the video stops playing. So, one swf opens with a custom page - plays a video - and then the next swf will open and do the same thing. There's much talk about 'typing stop(); on the last frame of a video" - As far as I can see - everything is automatically sitting on a single frame in Flash - whether it's scene 1, or I open the movie file - the movie is all playing in one frame. If try to simple put different material on a second frame, it loops back and forth between one frame of each movie (it will change the background, and video - but I get only ONE frame of each movie - not the full movie before switching).

View 9 Replies

Flash :: Playing Sound From Data Acquired From Sound.extract()?

Aug 1, 2011

I'm trying to play a sound using a technique found here (play the sound by sampling raw sound data gathered from the original with extract()), with the difference that the mp3 sound is embedded in the swf, not loaded externally. This is my code:

var soundBytes:ByteArray = new ByteArray();
var mp3sound:Sound = Sound(new Sound1_design()); // this is the embedded sound
mp3sound.extract(soundBytes, int.MAX_VALUE);

[Code]....

This works, in a way, except that the resulting sound is distorted (it has a kind of a metallic ring).

View 1 Replies

ActionScript 2.0 :: [FMX] LoadSound - Sound To Keep Playing While The Rollovers Load Sound

Jun 22, 2003

I am loading small sounds dynamically with the loadSound command. These small sounds are activated with a rollover. see script below. This works ok. however. i want the first sound to keep playing while the rollovers load sound. a bit like playing the piano. This works ok when i import all the sounds into the library and place them on their very own button. however the size of the flash movie increases to 140k. whereas when i load them dynamically the size of the movie is 20k. obviously i want to load dynamically.

But with dynamic loading each sound stops when another sound is rolled over, so that there is only ever one sound playing at once. I need to load the sound into a different level or something, so that the first sound can keep going while the smaller, shorter sounds play over the top. this is my script below. The first sound loads when the movie starts. This is the one i want to keep playing. Then there are the smaller ones with rollovers. does this make any sense? there's actually 13 little sounds.

[Code]...

View 3 Replies

ActionScript 3.0 :: Turn Off Sound Of Swf When Popup Page Closed?

Oct 14, 2010

I have a pop up page with a swf file that will call a second swf file: var myLoader:Loader = new Loader(); addChild(myLoader); var url:URLRequest= new URLRequest("File2.swf"); myLoader.load(url);But the sound keeps playing even after the popup page closed.I did some research, got this code, but don't know how to implement it into the codes above:

SoundMixer.stopAll();

View 5 Replies

ActionScript 3.0 :: Make A Button Turn On/off A Sound When Pressed?

Jan 29, 2009

I am trying to make a button turn on/off a sound when pressed. I have tried to code it, but it does nothing everytime.

I have a sound in the library, with a linkage name of "sound" it is on the first frame in the main timeline. And i need a button to turn it off, and then on again.

View 0 Replies

Professional :: Movie Not Playing On Production Server

Jun 4, 2010

I am relatively new to Flash development. I created my first movie with a poster board.  It appears to work fine on my local machine, however, when I publish it to my production server, the poster board displays, but the click to play button does not play the movie. The page is located at: [URL]. I copied all of the published files directly to the production server.

View 1 Replies

Professional :: Nested Movie Clip Not Playing

Oct 17, 2010

I have some movie clips nested and at some point one on the left side should call one on the right side and it's not working and I'm pulling my hair, and I'm opening this thread for therapeutic purposes, I'm so angry I can't see straight
 
one frame in the left MC calls this

_root.pages_mc.cpr_mc.charr_mc.right_mc.gotoAndPlay("Sidney");
 
and it doesn't work and I don't know why, as I have a root who has a frame with a pages_mc that has a frame with cpr_mc that has a frame with charr_mc that has a frame with right_mc and there is a label 'Sidney'well, that's all. I don't even know flash very well, but looks to me that logically I'm doing it right, but flashly I'm doing it wrong...

View 9 Replies







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