ActionScript 3.0 :: Audio Sometimes Delayed Or Quiet?

Dec 5, 2009

I'm loading an MP3 file at runtime, and it sometimes plays a little delayed or very quiet (or it sounds like it's being partially cut off). I've also noticed that if you immediately refresh the page, the audio plays on cue and at full strength.

Below is the relevant code. Am I doing anything wrong, or could this be a bug in Flash player? (FYI, I'm seeing the problem with Flash 10.0.32.18 in Firefox, Chrome, and Internet Explorer.)

[Code]...

View 3 Replies


Similar Posts:


Media Server :: Using FMLE Stream Delayed When Adding Audio

Apr 12, 2011

I am using FMLE and fms 4 ent. When using fmle to broadcast webcam without audio. It goes really fast. I am on 1gbps connection with nothing else coming to the server at moment. I tested download speeds to and from the server and they are around 700mbs. I have tried all the different audio sample and bit rate settings. All have the same result. Once audio is turned on there becaomes a 15 second delay. What am I doing wrong.

[Code]....

View 4 Replies

ActionScript 3.0 :: Volume Slider - Loud On The Ends And Quiet In The Middle

Nov 30, 2009

This is the code I have for my volume slider. The only trouble is, when the slider is all the way to the right (maximum volume) and to the left (no volume), I am getting full volume, and when the slider is on the middle of the volume bar, there is no volume at all. How can I change the volume to decrease on the far left of the volume bar and not in the middle of the bar?

[code]....

View 6 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 2.0 :: Delayed For Loop?

Nov 3, 2006

I've tried searching the forums for a way to load my xml menu with a small delay between each menu item. I thought I had it with this code:

Code:
function load(){
clearInterval(loadinterval);

[code]....

View 2 Replies

ActionScript 2.0 :: CS3 A Delayed Mouseover Button?

Apr 22, 2009

I want to create a menusystem that bases only on mouse over functions. Tough there is one thing that might become quite frustrating for the user and that is small by mistake mouseovers that brings them to another page.So what I want to create is buttons with a delay of lets say 200ms. 200ms that the user has to have her or his mouse over the button to activate it.But I have run into some problems, and after a lot of googling the only result I got is menu-buttons that are activated directly on mouse over, but does not act out the manuver until the delay is over.So the user could practicly have his mouse in china when the button is activated. Which is not the result I want.I want a button that is activated after that the mouse has spent 200ms on the button.This is the failed direct reaction Actionscript 2.0 of the button I got at the moment.

Code:
on (rollOver) {
timer = setInterval(goto, 200);

[code].....

View 2 Replies

ActionScript 3.0 :: How To Initiate Delayed Drag

Sep 3, 2009

I am trying to initiate a delayed drag like the one being implemented here: [URL].

View 1 Replies

ActionScript 2.0 :: Delayed Movieclip Navigation?

Apr 3, 2007

I am working on some schematic animations and need to implement some button driven navigation with a slight difference from the norm that I can't figure out how to do...

I'd like to start playing a movieclip which would then pause halfway through. The user would then be able to click one of a selection of buttons which would trigger the movie clip to start playing again and then load the next movie clip based on the button pressed. This means I could show the intro of the animation and then following a button press, show the outro before moving to the next selected clip.

View 1 Replies

ActionScript 2.0 :: Delayed Child Constructor?

Jul 16, 2009

I have a timeline instanced movieclip which i'm calling a method on its parents movieclip constructorproblem is that even though the object already exists, its methods are "undefined", i have put some traces in, and noticed the child constructor is calling after its parent constructor..

View 2 Replies

ActionScript 2.0 :: Code For Delayed Swf Load?

Jan 31, 2004

here is the situation, I have the button that loads two swfs, one is the backround and the other is the news bar. However, I would like the news bar to load no sooner than the backround swf loads. I dont why but I thought this code would work - it doesn't

on (release) {
loadMovie("films/news/news.swf",_root.content);
}

[code]......

View 1 Replies

ActionScript 2.0 :: FLV Controller And Delayed Button Appearance

May 20, 2010

I'm having trouble with a controller I'm using with an FLV. I am a newbie when it comes to actionscripting. I have a project I'm working on that contains a 86:50 minute FLV and towards the end I will have a separate button appear to click on. The code I am implementing was from a different project that utilized the same functions but with a 4:49 minute FLV. I have an example of this at [URL]. As you can see the controller is set up for the 4:49 minute FLV and when the timer gets to 5:00 minutes that button comes in. I need to make the FLV play the whole way through and then at a specific point have the button appear and I can't seem to do it. Below is the only code I can see that pertains to this section.

scrub.onPress = function(){
scrub.startDrag(false, -365, scrub._y, 49, scrub._y);
dragging = "true";
}scrub.onRelease = function(){
var newNum:Number = (scrub._x - -365) * .7625;
mainVid.seek(newNum);
scrub.stopDrag();
dragging = "false";
[Code] .....

View 1 Replies

Flex :: Movie Delayed In Inactive Window?

Aug 4, 2011

I often want to run a movie but are only insterested in the debugging output and switch back to my code or to the debugger.I discovered, that the movie framerate is significantly slower in an inactive browser window. This causes e.g. certain async unit tests to fail when run in the Flex UI. So it's not that trivial

View 1 Replies

ActionScript 2.0 :: Delayed Time Line Advancement

Feb 15, 2010

I am building a Flash continuous play application for a company to use in a booth presentation at a sales show. In effect, it will be a more engaging Powerpoint presentation. Each slide will be a be a frame that will call an external swf into movie clip with the animation of text or fade in images in the external swf. Each external swf will stay on for about 10 seconds. I am looking for an action script that will first stop the advancement at each frame for 10 seconds (ability to edit seconds needed) and then move to the next frame and stop for 10 seconds then the next and so on and so on and at the end, start back at frame 1.

View 1 Replies

ActionScript 3.0 :: Flex Delayed Message Processing?

Aug 6, 2009

I've been working with a 3rd-party multiplayer engine for a game I'm developing. A lot of messages get sent during certain times (loading, etc) to the point where it is possible that multiple messages may be sent per gameloop. To solve this problem, I am attempting to create a delayed message processing scheme. this function is invoked every time a new message is received:

Code:
// called by the Client
public function PushMessage(gameMsg:GameMessage):void
{
messageQueue.push(gameMsg);
}

And at a point in the gameloop, I want to process these messages and clear the message queue. The only problem: there is no assurance that the messageQueue won't be modified during that time. The messages in AS3 are basically interrupts (possibly overlapping), and I can't find any way to temporarily disable event dispatching for a specific EventDispatcher-derived class.

So at this point I can think of only two options. The first is to write a mutex using a Boolean and setTimeout. I do not want to do this for obvious reasons (bad! BAD!). The second is to give up on a delayed processing model.

View 6 Replies

ActionScript 2.0 :: Sounds Delayed When Played Online

Dec 21, 2009

I'm a bit new to AS2 but not too new at all, I have managed to play sounds in various forms but the way I tend to use and am actually using is as follows. I attach the sounds to Sound objects in the moment of loading and play them with "start" in the moment they are needed, not anything too complicated as you can see. The problem is I have noticed that within the author environment or once they are exported, the swf play the sounds ok, but once I upload to a server in the internet (not a portal, just plain html loading the swf) the sounds seems to delay a bit, as this project is a game it breaks a bit the effect when bells are ringed after you scored points.

View 2 Replies

ActionScript 3.0 :: Sounds Play A Little Delayed/weird Detection?

Jan 25, 2012

I'm trying to make an instrument type thing.[URL]... How come the sounds play about half a second after you hover your mouse on one of the circles? I need it to be completely instant.

[Code]...

Also, sometimes, it just doesn't detect the hover at all and doesn't play a sound (if you hover too fast)..

View 5 Replies

ActionScript 2.0 :: Delayed, YouTube-like Loading Of Preview Images?

Mar 15, 2006

You've probably all seen a YouTube video somewhere on the web. I'm interested in how they built their Flash player's feature that only loads the video's preview image when the video is in the view of the browser.For example, when there are multiple videos on a page, the videos below "the fold" will only load their preview when scrolled into view.

View 14 Replies

Adobe Flex Delayed Observer For Auto-complete TextInput

Jan 25, 2011

Does anyone know if there is a Flex 3 or Flex 4 equivalent to the JQuery DelayedObserver?

http://code.google.com/p/jquery-utils/wiki/DelayedObserver

If not, how could we go about implementing it in Flex?

View 1 Replies

ActionScript 3 :: Flash - OGG Sound Delayed (Adobe Alchemy Library)

Feb 6, 2012

I wanted to make live drums play with keyboard shortcuts. The problem was that MP3 is not good enough in this case (encoders adds random silence at beginning of the sound) and also flash itself makes delay (I tried use already buffered file with play specified_start_point_in_miliseconds)). So my solution is OGG (this format is gapless). I use compiled swc file from Adobe Alchemy library and simple frontend for it. Everything works fine, OGG file is playing, but its still much delay - no matter if its lodeaded external or as embedded, and if its first or n time. How to make sound play fast equally to key press.

Here is my very simple example code:
import flash.display.Sprite;
import flash.events.*;
import flash.utils.ByteArray;
import flash.events.SampleDataEvent;
import com.mauft.OggLibrary.OggStream;
import com.mauft.OggLibrary.OggEmbed;
[Code] .....

View 1 Replies

Media Server :: Choppy / Slow And Delayed Live Video Streaming

Aug 6, 2009

We have installed FMS on our godaddy server to work with and used live video streaming services. We are having problems with the video quality being choppy, slow and pauses continuously during live broadcast and motion. We can't figure what is wrong; video needs to be flawless and in high quality. The godaddy server is running:

Red Hat Fedora Core 7
Intel Core 2 Duo - 2.13 GHzRAM
2 GB RAM
250 GB Total Disk Space

I am facing below mentioned problem regarding video broadcasting with adobe flash media interactive server (Developers version). I am using DVRCAST for recording video from a webcam and broadcasting the same live. Please find video settings below.
width:320
height:240
fps:15
quality:90
bandwidth:150
buffer time:0.01

Our problem is that videos are not playing smoothly in application. The motion is getting paused and interrupted in time of broadcast live. I downloaded and checked the recorded flv files from server and found the recorded file also has same problem. So this problem is appearing in time of streaming the video from client computer to fms server. This problem is not appearing when I am testing the application in my localhost.

My code for live streaming mentioned below:
private function publishCamera():void {
cam = Camera.getCamera();
cam.setMode(cameraSettings.width,cameraSettings.height,cameraSettings .fps);
cam.setQuality(cameraSettings.bandwidth,0);
cam.setQuality(cameraSettings.bandwidth,cameraSettings.quality);
[Code] .....

View 5 Replies

ActionScript 3.0 :: Multiple Button Navigation - Tween Animation For Each One With Delayed Timing

Jul 2, 2009

i would like to do a simple set of buttons dynamicly created by code, like simple recangles which will act to each other and have different target urls or movies to load. Also buttons should have constant spacing to each other and it should be possible to have a tween animation for each one with delayed timing, so button 3 slides in first, button 2 slides in a second later and finally button 1 slides in at last. If you click one button all of the other buttons should get deactivated and the alpha should tween down to a lower level for e.g

Something like that, sounds simple but i don?t know where to start. I guess i will need to duplicate the button give each of them different targets, tweening and activate / deactivate states, but thats all i know in theory so far.

View 9 Replies

ActionScript 3.0 :: Delayed Trace - First Click Still Trace The Previous Track?

Nov 14, 2009

ive got a loaded xml list for an mp3 player. from playing track1, when i select track 2, it traces "track1" but then after a second click it traces "track2" and stays on that. the actually music for track2 does load on the first click though, but not the trace. anyone know why on the first click it would still trace the previous track? here is the code for that function...

[Code]...

View 9 Replies

ActionScript 3.0 :: Flash Delayed Time-gap In Flash Cs3 While Coding On The Timeline?

Sep 12, 2010

I would like to understand if such a problem exists in flash cs3 or is it just me.My problem is that while I try to code on the timeline in cs3 using as3 i hav encountered this issue of "null references" every time i change frames.let us assume I have 4 frames . withs buttons oR movieclip in each OF them. i have a code on all the frames each orresponding to the movclips present on that frame. so when i go from frame 1 to 2 and i have a code in frame to which is something line "mc.addEventListener(event, func)" flash throws an error of null reference .. which after a lot of frustration I realized that my code was executed atleast 300 milliseconds before flash realizes that there are objects on that frame. My fix was 1. timers events call the function or

Code:
2. stage.addEventListener(event,chk)
function chk (){

[code].....

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

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

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies







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