ActionScript 2.0 :: Volume Slider Won't Work Since Changed Audio To Streaming?

Jun 20, 2010

it worked fine when i had the audio within the swf.slider:

slider_1.onPress = function(){
this.startDrag(true, groove_1._x -8, groove_1._y, groove_1._x -78, groove_1._y);
}
slider_1.onRelease = function(){

[code]....

i thought that in this method i had named the sound object foffMusic (streaming the file ftomm.mp3). the sound plays fine but ive gone through alot of trial and error and trawled every forum for the solution bu i can't get it to work!

View 3 Replies


Similar Posts:


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 :: Manage To Work On / Of Music Button With Simple Volume Slider

Nov 24, 2005

I have made small site:[URL] But I can manage to work my on/oof music button with my slider. Can somebody give me the most simple codes for this? I have already song inside the project, so it doesn't need to be loaded from the web. I have try everything, but nothing. I manage to turn on/off music, but to slide it... noup...

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

Media Server :: Fms 3.5.2 - Video / Audio Streaming Application - Audio Stops Or Lags Behind

Aug 25, 2009

I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)

Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.

I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.

View 8 Replies

IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

Actionscript 2.0 :: Can't Get Zoom Slider To Work With The Position Of The Slider

Mar 25, 2010

What I have is a map that you can click on points and it will zoom in, you can also click on a "plus/minus" buttons to zoom in and out (I even have the mouse wheel zooming in and out). The client wanted me to add a "zoom slider bar" to it so you know you could move it up and down to scale it. Everything is working except the slider, I can't seem to get it to work with the position of the slider. All of the zoom functionality is there but the slider is killing me.

I am putting up the fla file since there is a lot of code in there and I didn't want to put it all in the forum. if you look in the fla in frame ten on line 726 you can find the function that is supposed to handle the zooming when you move the slider. Up on line 74 you can find the slider onPress and onRelease functions, but those I believe should be fine.

View 2 Replies

ActionScript 2.0 :: CS3 Set Volume Slider To 50%?

May 11, 2009

I'm a designer that inherited a project with a volume slider. I'm not that good with actionscript yet and haven't been able to figure out the code. The volume and slider starts at 100%, and I need it to start at 50%. Can you tell me how to set both the volume and slider at 50%? I'm sure it is a simple solution but I can't figure it out. I tried a few things but have not been able to get it to work correctly in both the volume level and start position for the sliderHere's the code on the 2nd frame of the mc:

Code:
stop();
var NiVol:Sound = new Sound(_root.Container);

[code].....

View 4 Replies

IDE :: Volume Slider Using Mask?

Mar 30, 2009

I made a volume slider which works with a draggable mc to control the volume. But I want to do a bit different slider using a mask like the slider in Component box. The aria I want to drag over is a rounded rectangle. I make a rectangle which will be my bound and i use the rounded rectangle to mask it. How should i continue.

View 1 Replies

ActionScript 3.0 :: Create A Volume Slider?

Nov 30, 2010

Direct me to a volume slider tutorial that works for actionscript 3.0? there are some out there but they are all outdated.

I did one that enables me to mouse over an item and move it all over the screen, but I need to get it to scroll along an axis. thats where Im getting hung up.

I actually have a really cool project. an online studio that enables you to rehearse individual parts of songs that I prerecord.

View 6 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 :: Equalizer On Volume Slider?

May 15, 2005

I have a horizontal volume slider working, but I'm not sure how to give it the effect of lighting up as the volume is increasing or decreasing. I'm guessing it's something along the lines of controlling a separate movie clip via AS, but I'm not sure how to do it.

View 8 Replies

ActionScript 2.0 :: Add A Volume Slider To Flv Player?

Jun 18, 2008

I am trying to add a volume slider to my flv player, I currently have just a mute button My code is as below

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);

[code]....

View 1 Replies

ActionScript 2.0 :: Getting A Vertical Volume Slider?

Nov 12, 2009

I need a vertical volume slider, but flash is crazy and instead of increasing volume as you drag it up it decreases it instead because of the origin point. the entire slider device is dragable too, so that is another dillema.

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

ActionScript 2.0 :: Equalizer On Volume Slider

May 15, 2005

I have a horizontal volume slider working, but I'm not sure how to give it the effect of lighting up as the volume is increasing or decreasing. I'm guessing it's something along the lines of controlling a separate movie clip via AS, but I'm not sure how to do it.

View 8 Replies

Audio Keeps Getting Stuck When Streaming Two Audio Feeds At Once

Sep 13, 2011

I am streaming to live videos with audio to our webpage, each with it's own accompanying audio.   On my laptop, I could stream them without any trouble but it would overheat so I had two new computers built just for encoding.   Now, on the new computers, the 2 videos stream fine but only on audio file works at a time. The other just gets hung up on one note of sound and repeats very annoyingly over and over.

View 2 Replies

Streaming Audio / Loading Audio Into Swf First / Then Playing It?

Jan 28, 2012

I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.

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

ActionScript 3.0 :: Change Volume Using Slider Component

Sep 19, 2011

I am trying to use the slider component (aSlider) to control the volume of mySound which is a class called PlaySound. Created an addEventListener for aSlider with a SlideEvent.CHANGE executing a function called changeVolume. Everything else works but I can't seem to get the slider to control the volume of mySound.

import flash.events.Event;import fl.controls.Slider;import fl.events.SliderEvent;import fl.controls.Label;
var mySound:PlaySound = new PlaySound  ;

[Code].....

View 5 Replies

ActionScript 1/2 :: Invert Number Of A Volume Slider?

Jan 19, 2012

I made a volumeslider, but the problem is that the sound plays at 100% when the slider is down and at 0% when the slider is up.Of course every volumeslider does the opposite. adjust this code so down, the volume becomes 0% and up 100%?
 
sliderVolume.onPress = function() {
this.startDrag(false,150,150,150,250);
}

[Code]...

View 3 Replies

Flex :: Controlling Volume Of Microphone With Slider?

Apr 24, 2010

How to control the volume of the microphone with a slider?

View 1 Replies

ActionScript 2.0 :: Make A Volume Slider For An FLV Player?

Mar 25, 2010

Explain the code, or point me to a good tutorial for making a volume slider for an FLV player?

View 6 Replies

ActionScript 3.0 :: Drag And Drop In Volume Slider

Nov 10, 2010

i want to make volume slider for adjust volume ..here i am getting some problem in startDrag and stopDrag method my volume slider Move when mouse cursor on stage (outside of the volume silder),, i assign two listener Mouse_DOWN and Mouse_UP .. for sliding i create One Rectangle (0,0,100,0)

View 3 Replies

ActionScript 2.0 :: Volume Slider Set To Maximum When Loaded?

Oct 23, 2007

I've followed the tutorial [URL] What I would need to do to the Action Script (below) in order to have it so the volume (slider) is set to max when loaded. So the music starts loud instead of muted.

this.ratio = 0;
dragger.onPress = function() {
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function() {
ratio = Math.round(this._x*100/line._width);
_root.volume = ratio;
};};
dragger.onRelease = dragger.onreleaseOutside=stopDrag;

View 6 Replies

ActionScript 3.0 :: Music Player With Volume Slider?

Dec 11, 2010

I'm trying to make a music player with play, pause and stop buttons aswell as a volume slider.However, I'm getting these three errors:

Line 12 1046: Type was not found or was not a compile-time constant: Rectangle.
Line 12 1180: Call to a possibly undefined method Rectangle.
Line 12 1180: Call to a possibly undefined method Rectangle.

Here is my code:

Code:
package {
import flash.events.*;
import flash.display.*;[code].....

View 1 Replies

ActionScript 1/2 :: Volume Slider Collides With Mute Button?

Mar 4, 2010

_root.createEmptyMovieClip("vsound",_root.getNextHighestDepth())vSound.attachAudio(ns);[code]....

Before i had the volume slider, the mute button was fine. but now, it doesn't work anymore.

View 1 Replies

Actionscript 3 :: Flash Slider Controlling The Volume Has Become Unresponsive

Jun 23, 2010

I have a flash movie playing some music, but the slider controlling the volume has become unresponsive. I have no idea why. msg me if you want the see the actionscript.

View 1 Replies







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