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


Similar Posts:


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 3 :: Control The FLVPlayback Component's Volume Using The Slider Component In Flash?

Mar 20, 2012

I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:

import fl.events.SliderEvent;
var mysong = new music();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
myChannel = mysong.play(0,10);

[Code]...

But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?

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

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

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

Professional :: Possible To Control Timing Of Audio Placed Within Symbol Movie Clips?

Feb 18, 2011

I have created a series of Symbol MovieClips which I load through ActionScript on the first frame of the main timeline so that they play sequentially. I dynamically create each MovieClip, add it to the Stage, and setup an enter frame listener.On the last frame I stop and remove the clip, and repeat the process with the next clip.These animations play sequentially as intended. However each clip has an audio sequence on its timeline.These play simultaneously at the start of the main timeline.I've tried each of the Sound Sync options on the first frames within the Symbol clips.With the Stop setting the audio doesn't play, but Start, Event, and Stream all cause the audio to play at the beginning of the main timeline which seems to contradict the documentation I've looked at.

Is there a straight-forward way to sync the audio to the Symbol clips, or does the audio need to placed on the main timeline?I'd rather not do this as it is much easier to sync up the audio for each symbol clip with the animation when I can work with the smaller audio snippets and not have to test the whole movie.

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

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 :: 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 :: Use FMS To Stream Audio/Video And Control (powerpoint) Slides?

May 15, 2009

My compnay provides webcasting services to numerous clients, and we currently use Windows Media Encoder as our base software for these projects. However, I'm interested in switching to Flash Media Server, but need to figure out one issue and how to implement it in such a way like how we are currently using Windows Media Encoder.
 
We need a way to stream out a live audio/video feed AND have a way to control a presenter's POWERPOINT slides and have them advance by our command when streaming live.
 
Basically, the way we do it is we will stream out audio/video from WME and also use the encoder's SCRIPTING functions to send out a "url"  from the encoder to the actual page in which the viewer is watching the live embedded stream.  On that page is an embeded/internal frame which we can specify (using the id/name) that the url gets loaded, and this actually advances the slides (or more so pulls up a pre-created html page of the next slide in the person's powerpoint, which is actually a screenshot or exported image of that slide and embedded within a specific HTML file and hosted on the same server as the embedded player/html file)
 
Would there be a way to send out this same type of script using FMS?   I've been playing around with it and notice the interface itself does not have a built in scripting function like Windows Media Encoder does. However, I did read somewhere that it supports ActionScript... but I have no clue how to implement this feature.
 
I am just curious how it might be able to go about doing this?  Is there a way to use an [action]script with FMS and have it send out a URL to a specific frameset embedded on the same page as the Flash Media Encoder Playback?
 
Hopefully this make sense and that someone can point me in the right direction.  Switching to FMS over Windows Media Encoder is the way I would love to go, just need to figure out how this could be done.
 
Would a better method be converting the powerpoint slides to a swf or flv file, embedding that file within the same page as the FMS playback, and somehow using a script to "advance" the frames/slides/scenes within that file? I also heard something about Flash "Shared Objects" and how this could be a way of controlling a swf file remotely.

View 1 Replies

Actionscript 3.0 :: Video Component Audio Won't Stop

Jul 27, 2009

I have a video component play on frame 1. When my movie goes to frame 2, the audio continues to play even though the video component is no longer on the stage.

View 14 Replies

Separate FLV Video And Audio Tracks In FLV Playback Component?

Jul 30, 2009

We're creating video that is destined for multiple countries - we've created a framework that has a video page (using the FLV playback component, w an external FLV w/ progressive download) for the given languages we're using, and subtitles for each, etc..  Until now, we've been using the same English video & audio for each, but the client is looking into having the videos dubbed into different languages.
 
We're hoping to avoid re-encoding the video for each language in order to accommodate for the different audio tracks.  Also, having different video files for each language would mean using more storage (since we're talking about a lot of video files, so it adds up). Is there a way to use FLV playback to progressive download an FLV file (video only) while playing a separate mp3 file?  Most inquiries into playing separate audio and video has led me to embedding video, which isn't feasible in our case.

View 4 Replies

Professional :: Video Component Disappears But The Audio Keeps Playing?

Jan 12, 2010

when a video is playing..and i click a button to play to a different label in the main time line..the video component disappears but the audio keeps playing.. all so the volume component, the slider indicator stays stuck to the stage.. what AS3 is needed..to stop the audio and fix the indicator..

View 5 Replies

ActionScript 3.0 :: Video Component Audio Can't Stop When I Use Back Button

May 20, 2010

I am putting together a basic video portfolio and have everything working except when I click the back button to get back to the thumbnail page (contained on frame 1) the audio from the video continues to play, I'm not an expert on as3.

I have tried a lot of code in the function below ( like "stopAll();" ) but nothing seems to work.

View 1 Replies

ActionScript 3.0 :: Back Button Stopping Audio On A Video Component

May 16, 2010

I am putting together a basic video portfolio and have everything working except when I click the back button to get back to the thumbnail page (contained on frame 1) the audio from the video continues to play.[code]

View 4 Replies

ActionScript 3.0 :: Embedded Video And External Video With Playback Component

Nov 9, 2010

I have trouble in choosing between external video with playback component and embedded video . I have tried adding video to dynamic page and everything is perfect .This video I have imported using the option File ->import video -> external video with playback component. If I try to execute flv on another system , the video is not playing eventhough it is in library.

So, I have imported video using the option of embedded video and this worked fine on another systems as it embeds video. The video plays for only 2 min 54 sec. I have compressed the bit rate to how much ever I can in premier pro. It resulted in reducing the size of the file but still I see the video occupying more than 3500 frames in the timeline. I feel this is not optimal.

View 1 Replies

IDE :: Video Streaming - Loaded An External Video With Playback Component?

Feb 18, 2010

I have loaded an external video with playback component in Flash CS4.

Now the question is do I need to add streaming script or not?

View 2 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

ActionScript 3.0 :: Getting External Audio And Video Files To Start At The Same Time?

Jan 16, 2010

I've got a swf which uses AS 3 to load separate audio (mp3) and video (flv) files. The reason they're separate is because the audio is just background music while the video is navigatable. The video kinda goes along with the audio, but it's not imperative that the two sync perfectly. However, the audio always starts playing before enough of the video has loaded to begin streaming.I'm at a loss as to how to get the two to at least START at the same time.

View 14 Replies

ActionScript 3.0 :: Call To Main Timeline, After External Video Or Audio Is Done Playing?

Aug 3, 2011

I am curious if there is a way to call back to the main timeline using AS3 after a video clip or audio clip that is being loaded externally, is done playing? For instance: you get to a page with a video on it, but when the video is done playing, instead of just sitting there, it automatically takes you to a new page (framelabel).

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

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

Flvplayback - Create Flash Video Swf Without An External Control Swf

Sep 9, 2010

Creating a simple video for embedding by importing a video into flash creates a separate swf for the controls. Is there a way to have the controls embedded in the main SWF, so you don't have to worry about paths to the control swf?

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

ActionScript 3.0 :: Playing External FLV On Clicking Video Component?

Oct 20, 2008

I have a button on stage names voices. When it is click the video component should play voices.flv.

Here is my code.
import fl.video.FLVPlayback;
import flash.events.MouseEvent;
voices.buttonMode = true;
voices.addEventListener(MouseEvent.CLICK, video);
function video(event:MouseEvent):void {
flvplayback.source = this.event.target + ".flv";
}

I get this when I click on the button:
Error #1010: A term is undefined and has no properties.

View 1 Replies







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