ActionScript 2.0 :: Control Volume For Sound On Main Timeline?

Feb 14, 2008

I have a few sounds on my main timeline for syncing to an animation. Does anyone know what code I would use to mute the sound on the main timeline?

FYI...I will not be using linking from the library for this project, the sound WILL be on the main timeline.

Here is some code which does nothing and traces undefined...so as you can see...I'm not sure where to go with this. I've placed a mute button in my file, but I need help on knowing how to control the audio.[code]...

View 3 Replies


Similar Posts:


F8 :: Timeline Sound Volume Control

May 22, 2009

I have an application with a collection of sounds in the timeline. One sound file is recorded at a slightly lower volume than the others. I know I could change this in Audacity but I'm wondering whether I could attach a line of actionscript to its button to raise its volume slightly.I know its possible to do this when playing sounds with actionscript directly from the library, but that would be too big a departure from the development style used.

View 1 Replies

Professional :: Control The Volume Of The Sound In The Timeline?

Nov 19, 2007

I have a timeline with a sound in it set to sync because I am scrubbing the main timeline.... I now want to control the volume of the sound in the timeline..is that possible in AS3??

sometime like : var my_globalSound:Sound = new Sound(stage); that of course doesn't work, but how would I get access to the sound set in the timeline...

View 6 Replies

ActionScript 2.0 :: Control Volume Of A Timeline Sound?

Jul 20, 2009

However, is there a way to control the volume of a timeline sound?

View 7 Replies

ActionScript 3.0 :: Sound Volume Control?

Dec 23, 2008

If I have library song playing using a simple code like: var mySong:Song = new Song();mySong.play(); How do I use a button to control its volume so that each time it is clicked the volume goes up or down by a little.

View 14 Replies

ActionScript 3.0 :: How To Control Sound Volume

Aug 11, 2011

how to control sound volume via AS3?[code]

View 4 Replies

IDE :: Multiple Sound Volume Control?

May 3, 2010

I'm having issues with controlling multiple sound volumes in flash. What I need to have happen is a Background music softly playing while a voice over is also playing.

This is what i have in the first frame of my main timeline

Code:
firstSound = new Sound(BGMusic_mc);
firstSound.attachSound("LatinRockMusic");
firstSound.setVolume(10);

[Code]...

but when it starts to play the voice sound the volume jumps up to 100. I need the first sound to stay at 10 and the voice sound to be at 100.

View 2 Replies

ActionScript 2.0 :: Buttons To Control Sound Volume

May 12, 2009

I have to buttons that control the volume. They work fine just that I want to stop when the volume hit 100 and also when you go down to stop at 0. Right now it will go up and down then start the opposite way. I am not quite sure how to stop that(with a if statement).

[Code]...

View 1 Replies

ActionScript 2.0 :: [MX] Control Volume Without Using Sound Objects?

Dec 18, 2003

I have some sounds in movie clips, this is because that is the only way to be able to select SYNC Stream mode (to keep the movie in sync with the narration). Thus I don't want to use Sound Objects because they can get out of sync... Is there any way to control volume (so I can mute) without using Sound Objects?

View 2 Replies

Sliding Volume Controller For Main Timeline?

Apr 29, 2009

I am trying to change the volume on my sound files which are located on the main timeline.(sync = streaming) I can use a allSound.setVolume(#) to control the sound level across the timeline.

[Code]....

View 5 Replies

ActionScript 3.0 :: Possible To Control The Volume (and Other Properties) Of A Sound That Has Been Generated?

Jan 21, 2011

possible to control the volume (and other properties) of a sound that has been generated with Actionscript using the SoundTransform object.I've got the code below generating a sound, but modifying the soundTransform of the _channel object does nothing. I can multiply the amplitude variables by a number 0-1 to change the volume, but I would much rather use the soundTransform object if possible.

Code:
_sound.addEventListener(SampleDataEvent.SAMPLE_DATA, onSineWaveGenerate, false, 0, true);
_channel = _sound.play();

[code].....

View 1 Replies

ActionScript 3.0 :: Mp3 File In Main Timeline - Change Its Volume?

Nov 23, 2010

I Have  one Mp3 file in main timeline. how to change volume

View 1 Replies

ActionScript 3.0 :: Change Volume Of A Sound On The Timeline?

May 9, 2009

I have several sounds of same length playing on the Timeline, each playing in loop on their own layer so that they can be syncronised on the same tempo (i did not managed to do this through pure AS3).

Is it possible to manipulate the sounds on this timeline individually via actionscript (ie: add listeners, change volume, read position) ?

View 5 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

ActionScript 1/2 :: Reducing The Volume Of A Sound On A Timeline?

Mar 7, 2011

I have a sound running on a timeline and I want to have an AS2 script that will reduce the volume by, say 50%, and have the reduction in volume happen over a number of seconds so it is not an abrupt change.

View 1 Replies

ActionScript 2.0 :: Control The Volume Of A Movieclip Directly Without Using The Sound Class?

Jun 14, 2010

I was wondering if there is a way to control the volume of a movieclip directly without using the sound class? Or is there a way to control the volume of the entire swf?

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 :: Global - Attach A Sound To The Main Timeline (rollover Sound)

Jun 28, 2004

I want to attach a sound to the main timeline (rollover sound) that i can call from on(rollover) button events. I will be attaching the same sound to several buttons.

View 1 Replies

ActionScript 2.0 :: Attach A Sound To The Main Timeline (rollover Sound)

Jun 28, 2004

I want to attach a sound to the main timeline (rollover sound) that i can call from on(rollover) button events. I will be attaching the same sound to several buttons.

View 1 Replies

ActionScript 1/2 :: Control A Mc Timeline From The Main Timeline?

Aug 30, 2009

On my main timeline, I load a mc from the library with:

text_content.attachMovie("text_content", "text_content", 10);
There is a marker inside this mc called "news". I need a script in the main timeline that will gotoandStop "news" within the "text_content" mc.I have tried, amongst others

[code].....

View 4 Replies

Professional :: Control Swf From Main Timeline?

Jul 13, 2006

i know i've done this before! i have a swf. 4 labels. a stopat frame 1. i embedd this into my main timeline. i have 4 butons inan MC in my main project, going to specific labels in my maintimeline, where i have the following code, attempting to load theswf and jump to that label:

this.container_shell.loadMovie("interact01.swf");
interact_shellb.gotoAndStop("label1");

its not working. the swf loads, but i can't jump to thelabel

View 5 Replies

Variables Within Movieclips That Control Main Timeline?

Aug 26, 2009

I built my website on the main timeline with a fade in animation...stop(on the page) and a fade out animation. At the end of this fade out animation i would like it to call upon a variable to know what page to go to next.I am trying to tell my main timeline to gotoAndPlay a frame based off of a variable within a movieclip(about_mc this movieclip contains another movieclip which acts like a button(factsheet_mc)) that i have set in my main timeline.I set the variable with:

var buttonFrame; in the first frame of the main timeline

then within my movieclip i have another movieclip which tells my main timeline to play the out fade and remember a variable:

this.onRelease = function(){ --------"this" meaning the movieclip factsheet_mc------------ [code]........

View 1 Replies

ActionScript 2.0 :: Control Mc By Main Timeline Position?

Oct 2, 2009

I have a mc with thumbnail images ('thumbs_mc'). Within 'thumbs_mc,' I have mc instances that change alpha on rollon and rollout. When clicked, these mc instances also control the main timeline. That's all good and working fine.Now, however, I want something over each thumbnail to indicate which of them is currently active. (I thought about using the same mc for both the mouseover and current marker, but it's problematic since rolling off the mc sets the alpha to 0, destroying the current marker.)

So I figured that I could use another mc (one instance is 'mark_red_btn') and just control its visibility, based upon the where the playhead is in the main timeline.This is what I have in the first frame of the mc that contains the thumbs the mouseovers and the current markers:

mark_red_btn._visible=false;
if (_root._currentframe == "red") {
mark_red_btn._visible = true;
};

Unfortunately, it is not working. The mc 'mark_red_btn' stays invisible even when the main timeline is on the frame labeled 'red.'

View 9 Replies

Movie Clip Control Main Timeline?

Dec 22, 2009

I am simply trying to tell my main timeline to go to the next frame when a movie clip reaches the end of its timeline (using AS3). Here is what I have which does not work.

Code:
MovieClip(root).gotoAndPlay(nextFrame);

View 2 Replies

CS5 :: Float Window To Control Main Timeline In It?

Jul 29, 2011

I'm an ActionScript noob so I'll try as best I can to explain what I need to do. I have a project where I need to have a floating window that controls a main timeline. The idea is to have a floating window that can be seen only by the operator. This window would control the main timeline or content on a separate screen viewable to the audience. So I'll be using a dual monitor setup. The controller window would have about 40 buttons on it that would turn items on or off on the main timeline. This seems like a relatively simple thing to do but being the noob that I am I'm not sure how to go about it. I essentially need one flash file, the controller, to talk to the other one, the content.

View 3 Replies

ActionScript 2.0 :: Nested MC Control Main Timeline MC?

Dec 1, 2011

actionScript 2.0
flash mx4 pro

here is a description of the flash movie.I have a map of the world on the main timeline that is a movie. The map is compiled of buttons that navigate the main timeline to named frames. -Ex. If you click Africa from the world map you are taken to the �Africa� named frame on the main timeline. This works perfectly.At the Africa named frame on the main timeline I have replaced the world map with a large map of just Africa. This large Africa map is a movieclip instance that has script on it to be draggable. This works perfectly.

The Africa map contains little movieclips that blink. I would like the little blinking movieclips to control the alpha of a movieclip (when rolled over/off) that is on the main stage and timeline.

View 4 Replies

ActionScript 3.0 :: Slider To Control Main Timeline?

Sep 9, 2009

What code would I need to take the Slider Component and have it control the Main timeline? I have created a presentation with audio embedded and images coming up and moving as the person is talking about it. I need a way to scrub back and forth down the timeline.

View 28 Replies

ActionScript 3.0 :: Access A Control In The Main Timeline?

Nov 18, 2009

I need to access variable that lies on the main timeline first frame from a action script inside a movieclip that is inside a movieclip.

View 2 Replies

ActionScript 3.0 :: Control Main Timeline From Loaded Swf

Aug 24, 2010

I'm using a textfield for debug information.I'm loading an swf on the main timeline and I'm showing the status in the debug textfield.[code]I'm loading a png file in the loaded swf. , I'm trying to show the status of the png file as I showed the status of the swf.[code]I can't control the main swf from inside the loaded swf. Even gotoAndStop or calling a function doesn't work.Do I need to add something when I load the swf, saying it's a MovieClip or something?URL...

View 3 Replies

ActionScript 2.0 :: External Swf To Control Main Timeline?

Feb 9, 2009

I apologise because I know this has been covered but none of the code I've found seems to have sorted my problem.On my main timeline (_level0 right?) I have the following code:

var loader:MovieClipLoader = new MovieClipLoader();
this.createEmptyMovieClip("container2",2);
container2._x=28

[code]......

View 9 Replies







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