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


Similar Posts:


IDE :: Turn Flash Animation Into A Video Clip?

Apr 18, 2010

I'm trying to turn this flash animation into a video clip. > the swf in question <

1) How do I get the first frame of the second "photo" (which is actually a short video clip) to be still for maybe half a second, before the video starts playing?

2) When I tried exporting it as an avi, it didn't play properly. The animation of the first photo coming in was fine, and then the second photo came in but the video clip didn't play. (it just looked like a still photo).

I'm making a video with Windows moviemaker (unfortunately) and all I wanted was that short animation to be made into a a video clip (either avi or some format that is compatible with Windows moviemaker).

Or if anyone knows a site that converts an swf to an avi online, for free, please let me know, that would be great. Because it didn't work when exporting it as an avi from Flash, but maybe if I can convert the swf to an avi then it will play properly.

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

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

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

Game Engine :: Flash Multiplayer Turn By Turn?

Oct 7, 2011

I'll start off by saying I'm a newbie, just putting that out there. How do you make a turn by turn multiplayer flash game? I don't know if an engine is made in AS3, PHP, Javascript, or whatever,I made my game already, it's just that it isn'tmultiplayer yet. Basically, there are lines, and each player crosses out a number of lines, and the last player to cross out a line is the loser. I want it where one user crosses out some lines, then presses End Turn, then the other does their turn and then presses End Turn to allow the other player to move his cursor. But how can I get both players to see the same frame and only have one player have the ability to move the cursor during a turn? Is there some easily adaptable multiplayer engine for flash for newbies out there

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

ActionScript 3.0 :: Sound Detection And Visual Output - Trigger A Video When It Hits A Certain Volume

Dec 15, 2011

So i found a code on the adobe site which pics up input from the mic. I need that to trigger a video when it hits a certain volume. I'm a complete novice to AS3 and i need this for a proof of concept in the morning. Here's the code that i'm using to pick up the mic -

[Code]...

View 0 Replies

ActionScript 3.0 :: Simple Volume Slider That Controls The Master Volume Of The Entire Swf?

Oct 6, 2009

does anyone have an example of a simple volume slider that controls the master volume of the entire swf?

View 1 Replies

Flash :: Volume Slider - Volume Doesn't Change Until Mouse Over?

Nov 21, 2009

I've created a small music player with a sliding volume control. I'm having trouble with the volume. Though it does control volume properly, if I set the initial volume to less than 100%, the volume always starts at 100% until I move my mouse over the player. At that point, the volume changes to whatever the initial volume is set to.Is this a flash bug, or am I missing something? Here is the affected code (code for other buttons/functions omitted for brevity):

var song_initvolume:Number = 100;
slider_1._x = groove_1._x + song_initvolume;
playSong(0,song_play);[code]....

I'd like to be able to set the volume at say 50%, but the above mentioned behavior happens each time.

View 2 Replies

Flash :: Reverse Sound Volume Math For Volume Slider?

Feb 1, 2010

I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :(

Dragging the slider down will make the sound louder, while dragging up lowers it.

Here is my code below dealing with the volume slider.

[Code]....

The (-4) is an offset value so when you drag it all the way to turn it off, it's 0 and not 4. I need to reverse this somehow, so the traces above will swap... going down will make userVolume = 4 and going up will make it 30.

View 4 Replies

C# :: Create A Slider On Desktop To Access Some Of The Controls Of The YouTube Video Player Like Volume - Pause - Play - Playback Speed?

May 7, 2010

Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's provided by the Enounce MySpeed application (control over play back speed).

View 1 Replies

Actionscript 3 :: Volume Controls - Volume On Or Off Through The Games?

Apr 12, 2012

I've got a serious of games which in turn load off a main main swf.I have mute and unmute buttons on the main menu and the same buttons in each game.When I unload/load a game I want the volume to stay as it is so they player doesn't have to keep turning the volume off. AudioOff is the button shown when the volume is off and AudioOn is the button shown when the volume is on.The code I've got now keeps the volume on or off through the games but the buttons aren't showing up correct with this code..

if (SoundVolume.volume == 1)
{
AudioOn.visible = false;[code].....

View 2 Replies

ActionScript 2.0 :: Volume Slides But No Volume Change?

Sep 10, 2011

I converted the slider bar and slider button to buttons. Then, I made the slider button into a movie clip.

Here is the code I placed while slider button was a button:

Code:
on (press) {
startDrag(this, false, left, top, right, bottom);
}

[Code]....

It seems right to me but I don't know. The movie button slides down the slider bar but it just doesn't affect the volume. Going to try to attach my FLA to offer better insight. Just tried to upload it and no matter if it's FLA or zipped FLA, it says it failed.

View 1 Replies

ActionScript 2.0 :: Make A Mute Button For The Video That Can Instantly Make The Volume 0?

Nov 22, 2009

Im have an flv playing on my stage. I want to make a mute button for the video that can instantly make the volume 0 or 100 depending on what it is.So i have tried using this code:

ActionScript Code:
m.onPress = function() {

[code]........However, it doesn't seem to work.

View 0 Replies

ActionScript 3.0 :: Flash Video Sites - Add Video And Resize The Video Acoording To The Page Size

Aug 18, 2011

Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..

View 3 Replies







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