ActionScript 2.0 :: Volume Control For Embedded Video Objects?

Aug 5, 2008

I have a video streaming application that uses a Red5 server. The stream from Red5 is represented through an embedded video object on stage. I need to be able to control the volume of this video object, but so far I've been unsuccessful despite following tutorials like this one: http:[url]....Here's the relevant code:

[code].....

I have a button calling volumeChange onRelease, but when I trace videoSound.getVolume() in volumeChange, it comes up as undefined. However, if I trace videoSound.getVolume() after I define videoSound, it comes up as 100, but any attempt to use videoSound.setVolume in initNetStream is futile.

View 2 Replies


Similar Posts:


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 :: Control The Volume Of The 3 Objects Separately?

Sep 20, 2005

On frame 1 from the root I've the following script:

[Code]...

For some reason all three sound objects play at 5% of the volume (the volume that was set for "WhenTextAppears"). I want to controle the volume of the 3 objects seperatly,.... I thought the code above should do the trick but it doesnt.

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

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

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

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

Control Flv Embedded Video With External Buttons?

Oct 5, 2009

I have embedded a flv video into my timeline, it uses the flv playback component to play and the SteelExternalAll.swf skin. I would like to control this flv using buttons that I have created that are postioned next to the video player. Ideally, these buttons would be thumbnails, similar to chapter thumbnails on DVDs and would serve a very similar function. As these thumbnail buttons are always present, I want them to change while the movie plays, I think a border around the currently playing would suffice.

The video is nearly 3 mins long, I have made cue points from Sorenson Squeeze.

View 1 Replies

Flash :: Control Flex Application From Embedded Control?

Mar 21, 2010

I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.

So when that button in the flash file is clicked, I want to perform an action in the parent flex application.

View 2 Replies

Actionscript :: Change The Volume Of An EMBEDDED Sound?

Feb 23, 2011

Searching for how to change the volume of sounds, I always get this irritating snd=new Sound(URLRequest), followed by snd.setVolume(val). Oh, fine, but my sound is not an URLRequest, it's an embed.

I've made a lot of random attempts (1) to no avail. How am I supposed to do that instead?

(1) including casting my class to Sound, creating a Sound with the embed class as argument, creating a SoundTransform and setting it to the channel, etc.

View 1 Replies

Javascript :: Gain Access To An Embedded Flash Video's Parameters That Is Embedded On A Site You Don't Own Via A Browser Extension?

Jan 2, 2011

I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:

Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)

Is this possible by using Javascript and HTML5 from a browser extension?

Would I have to use something like the SWFObject Javascript API [URL]

View 1 Replies

ActionScript 2.0 :: Getting More Than One Volume Control?

Jan 13, 2009

using action script2 flash cs3, and i need more than one volume slider/control and each control needs to be assigned to one sound, atm i have more than one volume slider but they all control the same sound!

View 1 Replies

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

Volume Control For Flash Player?

Oct 29, 2009

I got a code for a flash player but it only has a start and stop button . I would like to know how to add a volume control and a pause button.

Here is the code;

var nc:NetConnection = null;
var nsPlay:NetStream = null;
var metaDataValues:Array = new Array();

[Code].....

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

Configure/control The Volume Level Of A Mp3?

May 4, 2009

Is there a way to configure/control the volume level of an mp3 that automatically plays in your flash segment?  In other words I'd like for the volume to play at a 30 or 50% level.

View 6 Replies

ActionScript 1/2 :: Control Volume Of A Movieclip?

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 2 Replies

ActionScript 3.0 :: Make A Volume Control?

May 9, 2011

How to make the slider component into a volume control in ActionScript 3.0.

View 3 Replies

Flex :: Control SWFLoader Volume?

Jul 2, 2009

I am doing a elearning project in flex and it consist in a secuence of swf files and a player that load it based in a xml file, the problem is all swf files contents narrations and I need to control the volume of narrations from the player interface, anybody know how I can control the volume of a swf file from flex??

View 1 Replies

ActionScript 3.0 :: Volume Control Not Working

Nov 3, 2009

I am trying to write a very simple mp3 player with a volume control slider. My trace statements show that the value of the mp3 volume changes when the slider is moved but the actual volume does not change. I have attached my fla and here is my code:

ActionScript Code:
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundTransform;
[Code]...

View 1 Replies

ActionScript 2.0 :: Make A Volume Control?

Oct 29, 2010

I'm doing a game. sounds are too hard. how i make volume control

View 1 Replies

ActionScript 3.0 :: How To Control Sound Volume

Aug 11, 2011

how to control sound volume via AS3?[code]

View 4 Replies

ActionScript 2.0 :: Slider Bar For Control Volume?

Mar 30, 2004

i'm triying to do a slider bar for control volume but all scripts are for vertical or horizontal movement, but i need do it with a light inclination i have been thinking to give to the limits line a value of x an y for upper possition and other value for x and y for lower position but i don't know to do it.

View 3 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 :: Control Volume Of Loadmovie Swf?

Mar 15, 2007

Is it possible to control the volume of a swf which has been loaded using loadmovie ?

I have several loadmovie swfs on the same page so want to only have one animation play sound at the same time.

View 1 Replies

ActionScript 2.0 :: Volume Control For XML MP3Player?

Jun 7, 2007

I'm super stuck on this (getting into the days catagory!) before i start, here's the link to what my XML MP3Player functions like atm;[URL]..The foundations of the AS for this player are from the gotoAndplay.com tutorials, I'm having two problems with adding this volume slider control,

Firstly the SliderBar onload position, it is positioned on the far left of the screen, you can drag it towards the player, once you get it with'in the player it functions correctly moving between the designatd left and right x values correctly, but how can i get it to load into the player rather than out to the left?

And Secondly, by this stage you may have noticed no sound, i've tried alot of different things but to no avail?

[Code]...

View 1 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 3.0 :: Independent Volume Control Of A FLV?

Jun 8, 2011

I'm trying to control the volume of an flv in a video player I'm making. I want it's volume control to be independent of any other content on the page. The Video object is in a Component if that makes any difference.

I am able to adjust the volume of the root (aka MovieClip(this.parent).soundTransform ) but I cannot do it to the component itself.

I have tried applying the SoundTransform to the component itself (which is not a MovieClip I know), I have tried placing the Video object in a MovieClip inside the component and attempted to adjust the volume that way with no success...(obviously there's a lot more code than this)

Code:
_videoDisplay = new Video();
_videoVolume = new SoundTransform(0); // just using 0 so I can tell when it works
this.soundTransform = _videoVolume; // *this refering to the component

[Code].....

View 3 Replies

ActionScript 2.0 :: Do A Slider Bar For Control Volume

Mar 30, 2004

i'm triying to do a slider bar for control volume but all scripts are for vertical or horizontal movement, but i need do it with a light inclination i have been thinking to give to the limits line a value of x an y for upper possition and other value for x and y for lower position

View 2 Replies







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