ActionScript 2.0 :: Volume Buttons For External Video List?

Oct 8, 2010

I have an external video list (array) that is set up to load and play in an FLVPlayback component. The client wants individual audio control buttons: 1) Up volume 2) mute 3) Down volume. I have AS on each of the buttons but it's not controlling the volume of any of the videos. The only one that works is the mute or "stop all sounds." I'm unsure on how to go about getting what I want.

View 9 Replies


Similar Posts:


ActionScript 1/2 :: Volume Buttons For External Video List?

Oct 8, 2010

I have an external video list (array) that is set up to load and play in an FLVPlayback component. The client wants individual audio control buttons: 1) Up volume 2) mute 3) Down volume. I have AS on each of the buttons but it's not controlling the volume of any of the videos. The only one that works is the mute or "stop all sounds." I'm unsure on how to go about getting what I want.

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

ActionScript 2.0 :: Two Buttons To Set Volume

Jan 14, 2009

My site is nearly ready, but I still want to add two buttons: one to set the volume to a normal value; another one to set the volume to 0 (like a mute button). I don't have a background music, I just want these two buttons to make effect on several other buttons with "click" sounds attached.

I have my buttons ready, and tried using this code for the "no sound" button:

ActionScript Code:
on (release) {
set.volume(0);
}

[Code].....

View 3 Replies

ActionScript 2.0 :: Make Volume Up And Down With Two Buttons?

Mar 7, 2012

I want to make a variable sound level. I want to be able to lower the sound with one button and make it louder with another button.

the buttons are name btnplus and btnmin. I thought using the current sound level and the change it, but the code i am using doesn't work.[code]....

View 4 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 3.0 :: Turn On / Off Video Volume

Jan 26, 2009

How can I turn on / off the volume of a specific video in my project? (i've many of them, but i want to turn off the volume of only one.)

[Code]...

View 4 Replies

ActionScript 3.0 :: Volume Slider For Video Player?

Mar 12, 2009

I'm trying to set up a slider that will adjust the volume of the video that is playing. I currently have a slider that adjusts the progress of the video that works just fine. I set my volume slider up the same way (as far as making it slide and the bounds it's contained within) but it fails to actually be draggable. I click on the slider and it disappears from view instead of allowing me to drag it. It's been a while since I've done any AS work and I'm struggling to figure out the problem here as everything appears to be correct.

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

ActionScript 3.0 :: Adjust Volume In NetStream Video?

Jun 13, 2007

I would like to ask, how can I adjust the volume for the video playback ? here is the code

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
video.attachNetStream(ns);

[Code]...

View 7 Replies

ActionScript 3.0 :: Create Html Video List That Uses A Flash Video Player?

Oct 21, 2010

Create a html video list that uses a flash video player?

View 14 Replies

ActionScript 3.0 :: Unable To Change Sound Volume On Roll Over Buttons

Dec 17, 2010

I have a file with 12 roll over buttons that make a sound on roll over, but I'm unable to change the volume to lets say .5.

View 0 Replies

Lower Sound File Volume During Video Play?

Jun 4, 2011

I have a Flash CS4 project with sound that starts to play in the first scene, set to event/loop so that it plays all through the entire time.
 
But I have a piece of video with audio in another scene and I would like to have the sound file playing at a lower volume while the video is playing, then get it to return to normal volume when the video is over.
 
I have no actionscript at this point. Just timeline animations, etc.

View 7 Replies

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

IDE :: Adding Skin To Video File - Volume Button

Jan 10, 2010

I am relatively new to Flash CS3. I need to create a video file add a skin and put a voice over or background music. I have done all of it but I have a problem with the skin. On the skin there is a volume button for the video. How can I mute or control the volume of the video? Just like in youtube for example. You can turn it up or down. What is the code for it? Because when I click on the button to mute ir or turn it down it doesn't do anything to the volume. I had a separate video and a song but I went to Windows Movie Maker and associated the song with the video so now it is a whole: video with a song. So basically I just want to know what I need to do in order to control the volume of the video.

View 1 Replies

ActionScript 3.0 :: Volume Controller And External SWF

Jul 8, 2009

The first is that when loading an external swf in my main SWF I get this in the output window:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at audio_fla::list_1/frame1()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at audio_fla::MainTimeline()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at audio_fla::MainTimeline/frame1()

But it still works. Its an mp3 player. The other problem is that the loaded SWF has a volume controller. When I test the external SWF by itself it works fine. When I load it on my main SWF when I start to drag the handle on my volume slider and MOUSE_UP outside the handle it still keep dragging the handle.

The code of my main SWF is:
import caurina.transitions.*;
var _currentCategory:String = "";
var percent:String = "";
var loader = new Loader();
loader.name="videoLoader";
[Code] .....

View 1 Replies

ActionScript 3.0 :: Set A Volume To External Sound?

Aug 26, 2010

I'm trying to set a volume to my external sound. I'm using the following code, there're no errors, but the volume is not affected...

var req:URLRequest = new URLRequest("squeeak3.mp3");var sound:Sound = new Sound();var controller:SoundChannel = new SoundChannel();var myTransform = new SoundTransform();myTransform.volume = 0.2;controller.soundTransform = myTransform;

View 3 Replies

ActionScript 2.0 :: Adjusting Volume In External FLV?

Apr 30, 2010

I'm looking for a way to adjust the volume in an external flv. The code below sets the volume, is there any way to have it start at one volume and fade to "0" over the length of the flv?

this.createEmptyMovieClip('snd', 0);
this.snd.attachAudio(this.ns); //attach NetStream
this.audio = new Sound(this.snd); //Set MC as source
this.audio.setVolume(80);

I also tried start/stop buttons, but they start and stop the flv also, any way to set them up so the flv keeps playing without the sound?

View 1 Replies

ActionScript 3.0 :: Adjusting Volume Of Video Component Inside Movieclip?

Apr 16, 2010

How would I adjust the volume of a video component nested inside a movieclip? I've tried the following methods:

Code:
mcName.vidName.setVolume(0);
Result: ReferenceError: Error #1069: Property setVolume not found on flash.media.Video and

[code].....

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

Professional :: Volume And Seek Bar Handles Missing From Video Player?

Dec 13, 2010

I am creating a custom flash video player for my friend's wife's surprise 40th birthday party. I was progressing through and everything was working fine, but now the seekbar and volume bar handles are completely gone. I was working on doing some buttons to load each video segment when I realized the missing handles. My actionscript is below:

import fl.video.*;
var flvPlayer:FLVPlayback = new FLVPlayback();addChild(flvPlayer);
flvPlayer.playButton = playbtn;  flvPlayer.pauseButton = pausebtn; flvPlayer.seekBar =

[code].....

View 5 Replies

Professional :: Change Colour On Volume Bar When Moving Slider For Video?

Mar 9, 2012

how one goes about changing the colour on the volume bar for playing videos like youtube does as the volume slider is moving. I don't think I need to go into depth using the graphics classes. What I'm looking for are ideas when a user changes the volume while playing a video, say in youtube, while dragging the volume control, the colour of the background bar changes. I've seen lots of help about creating volume bars for videos, but I don't see how to change the volume bar colour as the volume slider is moving.

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

Flash - Collecting High-volume Video Viewing Data?

Apr 5, 2010

I want to add tracking to our Flash-based media player so that we can provide analytics that show what sections of videos are being watched (at the moment, we just register a view when a video starts playing)

For example, if a viewer watches the first 30 seconds of a video and then clicks away to something else, we want the data to reflect that. Likewise, if someone watches the first 10 seconds, then scrubs the timeline to the last minute of the video and watches that, we want to register viewing on the parts watched and not the middle section.

My first thought was to collect up the viewing data in the player and send it all to the server at the end of a viewing session. Unfortunately, Flash does not seem to have an event that you can hook into when a viewer clicks away from the page the movie is on (probably a good thing - it would be open to abuse)

So, it looks like we're going to have to make regular requests to the server as the video is playing. This is obviously going to lead to a high volume of requests when there are large numbers of simultaneous viewers.

The simple approach of dumping all these 'heartbeat' events from clients to a database feels like it will quickly become unmanageable so I'm wondering whether I should be taking an approach where viewing sessions are cached in memory and flushed to database when they become inactive (based on a timeout). That way, the data could be stored as time spans rather than individual heartbeats.

View 2 Replies

Media Server :: Video Chat - Volume Controller Functionality Disabled

Apr 6, 2010

I am making a video chat application. When I start the application it running fine but after some time like 30-45 it creating some problem, like I have a volume controller in it, after some time when I use that volume controller for setting volume it is not doing changes in volume. But at initial stage all the functionality worked fine.

View 1 Replies

Increase (youtube Flash) Video's Sound Volume By Means Of Script?

Jul 30, 2011

Background story: many users (including me) browse the web from notebooks that are not constructed for sound performance. That means (besides other things) that the sound volume for most videos is too low, especially if the video itself is recorded at low volume.

Therefore...

I was wondering if there is any way of increasing the volume of such a video (especially Youtube, but could be extended to other types), because I'm interested in doing it and even publishing it as Firefox/Chrome/other browser plug-in.

View 2 Replies

ActionScript 3 :: Flash - Define Custom Behaviors For The Android Phone's Volume Buttons Using Adobe AIR?

Aug 19, 2011

For buttons like the MENU or BACK button you can just add a listener for KeyboardEvent and check if the event keyCode is Keyboard.BACK or Keyboard.MENU.However I don't see anything for knowing if the phone's volume buttons were pressed.Is there a way to listen for volume up and volume down keyUp/keyDown events in AIR (ActionScript 3)?

View 1 Replies

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

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







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