Actionscript 2.0 :: Controlling Volume On External Audio Clip

Jan 26, 2010

I've designed a website for a client and it's completed but she's complaining that the music on the website is too loud. I made a button so you can turn the sound on and off, but i have no clue how to make a volume button for an external audio clip and i haven't found a single tutorial on the internet that can help me with this specific issue. Can someone help me with this and give me a step by step instruction, including any code i need.

View 1 Replies


Similar Posts:


Javascript :: Controlling Left/right Audio Channel Volume In A Youtube Video Player?

Sep 4, 2011

I want to know if it is possible to use javascript, flash or flex to make a youtube video player that is capable of controlling left/right audio channel volume. For example, mute the left channel and play right channel audio on both left/right speakers.

View 1 Replies

ActionScript 3.0 :: Control The Volume Of Multiple Audio Tracks Embedded Within A Movie Clip?

Jun 9, 2010

What is the script to control the volume of multiple audio tracks embedded within a movie clip?

View 1 Replies

ActionScript 2.0 :: Use Video Component Control To Set Volume For External Audio Clips

Mar 10, 2009

hope i'm explaining this the right way. i'm using the flash flvplayback component to play a video. i've stripped the audio from the flv and am playing it, along with another audio clip, on the timeline at the same time. volume has been set for both clips, but i need to allow people to adjust the volume from the volumeBar that exists inside the video player. it's built in as2.

View 1 Replies

Controlling A Movie Clip In An External Swf?

Nov 4, 2010

I'm working from main.swf and I need to call another swf to display one of four flvs once the appropriate button is clicked.

main.swf = my main content
player.swf = contains mc_playMovie
mc_playMovie = embedded in player.swf and contains four frames, each with a different flv movie.

My code so far:

butDelmar_thumb.onRelease = function() {
createEmptyMovieClip("targetMC", this.getNextHighestDepth())
targetMC._x = 0
targetMC._y = 0

[Code].....

View 1 Replies

ActionScript 2.0 :: [MX] Controlling External Clip Timelines?

Dec 5, 2005

how to control the timeline of a movie clip which is contained within an externally loaded swf. I have a central window where images fade in and out of one another and I want the user to be able to pause the fade and play it as they This is the code I am using to load the external clip:

_root.createEmptyMovieClip("profilesCentre", 3);
loadMovie("profilesCentreEX.swf", "profilesCentre");
profilesCentre._x = 17;

[code].....

View 3 Replies

ActionScript 2.0 :: Controlling Frames Within A Movie Clip From External Swf?

Jun 23, 2009

I have my files set up to where a main swf has the main navigation and a container which draws each sub page into it. The sub pages have a navigation as well that was telling buttons where to go on the main movie timeline (with _level0.) I had to move my navigation down in the main swf file so i took the nav off the main timeline and put it in a movie clip so i could move all at once. Now my sub pages on external swfs with _level0.gotoAndPlay("frame"); dont work.

Is there any way to direct an external swf to play a certain frame within a movie clip in another swf?

I've tried changing _level0 to _level1, _root, _parent, _child, and using _root.mc_name.gotoAndPlay("frame"). none of which has worked.

View 0 Replies

ActionScript 3.0 :: Controlling The Users Pc And Mac Volume?

May 31, 2011

I've been asked to hard code in playing the video at full sound. I'm using the flash video component and I have several videos where the sound needs to be played at full volume. I have set up the actionscript to play flash full volume and taken the volume control off the skin but I want to know if its possible to get flash to control the users computer volume too?

View 4 Replies

ActionScript 3.0 :: Code For Controlling Volume?

Jul 7, 2010

the code with which i can turn on and off the sound.

View 1 Replies

ActionScript 2.0 :: Playing An Audio Clip From Local Library, When Clicking On An External SWF Button

Mar 7, 2007

I currently have random external swfs of "Buttons" loading and unloading into mc_containers into my main movie. These load and unload every couple of seconds.

What I would like to do is have sounds associated with these.. So if you was to click on one of the buttons, it would play a sound.

I have tried this by placing the sound in the button "down" section. However, it starts to play the audio and then as soon as the SWF unloads to load the next, the audio stops.

My question is: Is there a way that when you click on the external SWF loaded button - that it would then link to an audio file in the "main" timeline/library ? This way the audio would continue playing even though the SWF has unloaded.

View 1 Replies

ActionScript 3.0 :: Controlling Volume Of Sound On The Timeline?

Aug 23, 2009

i've discovered that the only way to sync loops adequately in flash is to put them together on the timeline.

is there any way to change the volume of each layer with actionscript? i'd like to dynamically mix between loops.

View 4 Replies

Flex :: Controlling Volume Of Microphone With Slider?

Apr 24, 2010

How to control the volume of the microphone with a slider?

View 1 Replies

Actionscript 3 :: Flash Slider Controlling The Volume Has Become Unresponsive

Jun 23, 2010

I have a flash movie playing some music, but the slider controlling the volume has become unresponsive. I have no idea why. msg me if you want the see the actionscript.

View 1 Replies

ActionScript 2.0 :: Controlling Volume In A Flash Slide Show?

May 19, 2008

I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play some short voice clips. How can I "turn down the volume" a bit on the main sound file so as to hear the short voice clips? And then turn it back up when the voice clip ends?

View 1 Replies

ActionScript 2.0 :: Script For Controlling Volume Of Entire Movie?

Nov 25, 2002

Flash 5: I am making a children's game with tons of different buttons that make different sounds. I would like to make two buttons (up and down, respectively) that control the volume of ALL sounds in the movie, not just one sound. Is there one singel script that I can do that with?

View 3 Replies

Professional :: Controlling Volume In Flash Site W/Embedded Video?

May 7, 2010

I have this site I'm doing in Flash with an embedded video.The site has background music that is loading automatically, but when the embedded movie loads, the volume on that is mixed in witht he sites music.If you mute the sites background music, it mutes the video sound as well. Make sense?How can I seperate them out or make the sites background music not load on that particular page.

View 1 Replies

ActionScript 2.0 :: Control Volume Of ALL Audio?

May 10, 2006

I'm creating a flash presentation that contains some externally loaded video's (flv), voiceovers and a background music. I would like to be able to control all these audio streams with one control. So basically I'd like to change the volume of the entire movie. Is this possible?

I know there's something like the Sound object with a setVolume() method, but that's only to control one stream as far as I know.

View 1 Replies

ActionScript 2.0 :: Keep The Volume As It Is Once The Audio Loops Again?

Jan 14, 2009

Im able to stream audio with the following code:

Code:
sonido = new Sound();
sonido.loadSound("images/warp.mp3", true);
sonido.onSoundComplete = function() {
sonido.start();
sonido.setVolume(50);
}

I use this code to disable the audio file:

Code:
sonido.setVolume(0);
}
As soon as the audio file repeats, the volume goes up again.I need to know if I can keep the volume as it is once the audio loops again.

View 2 Replies

Flex :: Algorithms Use For Audio Volume Level?

Jul 22, 2009

Let's say I have a slider that can go between 0 and 1.The SoundTransform.volume also ranges between 0 (silent) and 1 (full volume),but if I use a linear function,let's say SoundTransform. volume = slider.volume, the result is rather not pleasing.I really haven't studied the human ear,but I overheard once that human perception is logarithmic, or something similar. What algorithms should I use for setting the SoundTransform.volume?

View 7 Replies

Flex :: Control The Audio Volume Of A Video?

Sep 9, 2009

i have something like this

private var video:Video;
...
private function init():void {

[Code]....

which property should i change or bind a slider to in order to be able to change the sound volume ?

View 2 Replies

Actionscript 3 :: Flash Audio Player Volume Setting?

Sep 18, 2011

i am creating a audio flash player and i want to set the volume of the sound to 0 and then again to 60. Means i want to toggle between these values on a single button click.

View 1 Replies

Flash :: Audio / Video Element Control Volume Programmatically?

Nov 10, 2009

Flash has an API to control the volume for a Sound object. Can volume be controlled like this currently or is there support planned for <audio> or <video> html5 elements?

View 2 Replies

Actionscript 3 :: Monitor / Change System Audio Volume In Adobe AIR?

Nov 9, 2011

I am making a game in AS3 / Adobe AIR that requires the user to react to certain sounds. Is there a way to inform the user up front if the system volume is muted? Moreover, is there a method to change the volume? If not, does an external cross-platform application exist that lets me monitor the volume and that I can call from Adobe AIR?

View 1 Replies

ActionScript 2.0 :: Volume Slider Won't Work Since Changed Audio To Streaming?

Jun 20, 2010

it worked fine when i had the audio within the swf.slider:

slider_1.onPress = function(){
this.startDrag(true, groove_1._x -8, groove_1._y, groove_1._x -78, groove_1._y);
}
slider_1.onRelease = function(){

[code]....

i thought that in this method i had named the sound object foffMusic (streaming the file ftomm.mp3). the sound plays fine but ive gone through alot of trial and error and trawled every forum for the solution bu i can't get it to work!

View 3 Replies

ActionScript 2.0 :: Creating Volume Mute Button For Audio Player?

May 2, 2008

I'm creating a mute button for an audio player that I pieced together, and it seems to be working alright except when I advance to a new track. If the volume is NOT muted and I click a new track it's fine, but if the volume is muted (i.e. at "0") and click a new track it remains at 0 and won't un-mute when I click the button.. though if I click the button to un-mute it and then select a new track it's fine, so I think there's something in my playSong() function that's interfering, I just can't tell what it is.

Code:
stop();
Player Variables
volume = 100;
current_song = 1;
[Code] .....

View 1 Replies

ActionScript 1/2 :: AS2 Independent Volume Control Of Sound Object And Streaming Audio

Mar 8, 2010

I've got a presentation that features an audio loop for background music and streaming audio on the timeline for the voice over.When I try to lower the volume of the background music (sound object), it also effects the voice over (streaming).I'm a total novice, so try to use laymen's terms.[code]And this is on the Frame that contains the movieclip with the voice over.I'm trying to fade the background music ONLY:[code]

View 10 Replies

ActionScript 2.0 :: Get The Levels Of Volume Of Multiple Sound Frequencys From An Audio File?

Jan 9, 2005

How can I, in Flash, get the levels of volume (peak levels) of multiple sound frequencys from an audio file, so that flash would recognize them?

View 1 Replies

ActionScript 3.0 :: Controlling Audio In Loaded SWF

Jan 23, 2009

I have several flash swf's that are about 10 - 20 min. each. I load these in a player that I have created as the user selects them from a menu in the main swf (a swf player basically). I can pause start and stop the swf's with no problem, but I can't seem to get a handle on controlling the audio. I have the audio in the loaded swf's timelines because I need to sync the audio with the animation taking place in those swfs. I could, take the audio out of the timeline (after syncing it), and then load it separately, but it would be much cleaner for me to just have it in the timeline.

I've resorted to the SoundMixer of the main swf to mute and change the volume, but I can't get hold of the Sound(), soundTransforms etc. of the loaded swf. To assign a play location for the soundChannel I need to access the loaded swf's Sound().Play() function, but I can't seem to do that. I have exported the timeline audio in it's actionscript, supplied a name (same as it's class name), and then tried to access it, but I can't seem to do it (yes I wrap the loaded.content variable in a MovieClip cast--that's how I can control the pause and play of the animation). Tutorials I have found only seem to work with sounds loaded into variables, and none refer accessing timeline sounds in a loaded swf.

View 5 Replies

Professional :: Controlling Audio In Flash CS3?

Feb 1, 2010

I've a number of audio files and six menu items in my presentation.respond with instruction on how to stop the currently running audio when a new menu item is clicked (launching a new audio file)?

View 2 Replies

ActionScript 2.0 :: Controlling Global Audio In My Project?

Apr 7, 2009

I'm working on a flash project consisting of 25 separate .swf file. each file has a audio narrative in it which is controlled by "play", "stop" button.the way my project works now is every time you unload a current .swf and load a new one, you have to press "play" to turn on the audio narrative. since there are 25 narratives in total, you can see how annoying having to press "play" every time you load a new movie would get.

what I am trying to do is add a global audio control in first "index" movie which would allow a user to globally turn the audio narrative "on" or "off".so for example, if they like to hear the narrative, they can turn audio on and have the audio start automatically each time a new .swf loads. if they choose to turn the audio "off", then the audio should not come on automatically.as a added twist to this, I would like to give my user an additional control over the audio by allowing them to use the "play", "stop" buttons within each of the .swf files.

View 5 Replies







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