ActionScript 2.0 :: Sound Latency Bad In Windows Good On Mac
Oct 4, 2010
In the game there is a backing groove played by triggering one movieclip to play. The user triggers short sounds from buttons embedded in drag and drop movie clips to play along with the backing groove.
On Safari or Firefox on mac the timing is absolutely fine.
On IE on Windos XP there is enough latency to make it unplayable.
View 0 Replies
Similar Posts:
Jul 23, 2009
I have a project that plays several sounds and triggering interaction on key presses. On mac everything is fine - the animation and the sound gets triggered simultaneously. However, when I port it to windows (either as a swf or exe projector), there seems to be a .5 second delay in the sound. I have to load the sound files from a local filesystem. I've tried pre-loading all the sound so I can just play the sound object when needed, but the latency is always there.
View 1 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
Oct 17, 2011
if i will load my mp3 to bytearray and then play the bytearray it will beat the latency we have in playing sounds normally?
View 1 Replies
Feb 11, 2011
Can anyone recommend good sound classes or libraries (open-source) for Actionscript 3.0?
View 2 Replies
Apr 29, 2010
im building a sound toy that has four balls that can be thrown around and will bounce of each other. when each ball collides i have a chord to be played through a hit test for each pair. im having a problem with getting good collisions between balls and also using hit tests to trigger sound.
View 1 Replies
Nov 27, 2010
Looking for a programming book that is in tutorial approach. Example this chapter teaches you how to do a login form. In the second chapter it teaches you how to integrate the login for to another app.Basically I'm looking for a book that teaches you real working application rather than abstract ideas. Programming language I have in mind is Adobe Air/Flex, Visual Basic. Functions I have in mind should at least cover Drag and Drops, Integration to a web form (form entry) and customizable interfaces.The languages i had in mind isn't fix. If you know a programming platform that has little code or easy to learn but still be able to develop a cool application.
View 3 Replies
Nov 13, 2010
I have a flash video (.flv) that auto plays upon page entry... and the user also has the ability to view a second video (by clicking on link on webpage)... it opens a SOLIDBOX (similar to floatbox) window and plays the second video... which is great.
But unfortunately the AUDIO/Video from the initial video (behind solidbox POP UP) is still playing. A savvy user would realize this and stop the other video, but unfortunately, to make it user friendly for our customers, we need it to automatically stop the initial video.
How can this be accomplished? How can i stop the initial video when the link on the webpage is clicked (opening the pop up with second video playing)?
You can see this all in action here:[URL]
(notice the video upon entry starts playing... then click on the yellow starburst (DEMO GREETING linK) to open the second video)
View 6 Replies
Jan 12, 2009
I would like to completely disable the soundin Adobes Flash-Player in case of "nerving"Websites. Is there a way to disable the soundin Flash-Player, but without disabling the sound in
View 3 Replies
Apr 21, 2011
I need to calculate the latency means time difference between the two user machines the scenario is: 1. App 1 publishes stream 2. App 2 play the stream published by App 1 Now in App 2 I need to show the time difference between the App 2 and App 1 time. Say if current time on App 1 is 10:46:30 and on App 2 it is 10:50:20 then need to display the difference. How to send the time value to App 2 from App 1 as time zones for the two users may be different.
View 1 Replies
Oct 28, 2011
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
View 1 Replies
Feb 5, 2010
I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr
Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center
[code].....
View 2 Replies
Feb 23, 2011
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
View 1 Replies
Mar 8, 2010
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
View 1 Replies
Nov 25, 2011
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Replies
Apr 7, 2012
When synthesising sound using the SAMPLE_DATA event of the Sound class, the Flash documentation recommends writing out as many samples as possoible up to 8192. On my system the sound cuts out unless I write at least 4192 samples each event. That's a full tenth of a second, which is going to be user-noticeable.
I may have the option of buffering things up ahead of time, but this is a major annoyance for my application.Is there any way of getting lower latency audio output?
View 1 Replies
Aug 14, 2011
I have a system where clients connect via http streaming channels and use Producer and Consumer classes to dispatch and receive messages. I need to test the latency of messages in a way that adequately simulates real-world usage when the server is under load. I have 3 ideas for how this may be accomplished. Has anyone tried and succeeded or failed with these methods?
View 1 Replies
Aug 29, 2009
i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 Replies
Aug 24, 2010
I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
View 1 Replies
Feb 6, 2012
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 Replies
Sep 29, 2009
Is a latency of 94 - 109 high or low....if its high how do I lower it via the client I don't have control over the server at this point in time.
View 2 Replies
Oct 21, 2010
I can't find the setttings for have a least latency as possible, either the video quality is bad or the latency is up than 5 secondes...What should i do?
[Code]...
View 7 Replies
Mar 5, 2012
I am developing a simple fast-paced 2 dimensional real-time multiplayer game in Flash. Players can only shoot and walk in point to move fashion. I use TCP socket connection (AS3 doesnt offer UDP).All I want is to synchronize players' actions so Player1 could see the same on its screen as Player2,Player3... or just see close representation (position,taking damage,etc).
I know movement vector coordinates and I can easily interpolate on them using latency. However,I can not figure out an effective way to determine how much time (T1) did it take the state update to travel client1-server-client2 and then make corrections to client2's screen based on T1.(You know, ping times may fluctuate quite a bit).I need a way to do the above-mentioned, i need way which is as fast and as accurate as posssible but not extremely sophisticated. (what algorithm should i use?
View 1 Replies
Mar 6, 2012
Suppose there is a live WAV stream that can be reached at a certain URL, and we need to stream it with as little latency as possible. Using HTML5 <audio> for this task is a no-go, because browsers attempt to pre-buffer several seconds of the stream, and the latency goes up accordingly. That's the reason behind using Flash for this task. However, due to my inexperience with this technology, I only managed to get occasional clicks and white noise. What's wrong in the code below?
var soundBuffer: ByteArray = new ByteArray();
var soundStream: URLStream = new URLStream();
soundStream.addEventListener(ProgressEvent.PROGRESS, readSound);[code]....
View 1 Replies
Nov 28, 2010
I used to code with "Processing" so maybe I keep the same habbit when I code in AS3. I'm not really sure how to animate in a good way using Enterframe. I made a not so complex animation and I am suprised that there is a very bad latency when I run it. Maybe there is something I don't understand when I write Graphics.
At each Enterframe, I write a black rectangle with a 0.3 alpha to progressively erase old lines and just after I draw new lines.
Are these these Graphics lines and Graphics rectangles stay in memory? Do I have to delete it when they visually disapear from the stage?
Code:
package
{
import flash.display.MovieClip;
import flash.events.Event;
[Code].....
View 4 Replies
Sep 25, 2010
Because of network latency,there will always be latency, how to know how many seconds the latency is with ActionScript?
View 2 Replies
May 24, 2010
Only thing I found is QoS statistic in NetConnection.info, but it does not contain any kind of latency values.
In red5 API "IConnection.getLastPingTime()" exists, is it accessible over standard Flex API or I need to poll it by RMI calls?
View 1 Replies
Sep 21, 2009
I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Replies
Jul 30, 2010
does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 Replies
Jun 3, 2010
I'v made an application with all the default codec and settings provided by adobe to publish live video using FMS. I've made two swfs one is for publishing live video and the other is for viewing the published stream (telecast). When I'm publishing the live video on My laptop using the default web Cam and mic attached to the Dell laptop then after 2- 3 minutes delay on the telecast side start increasing and it keep on increasing continuously .At the same time when I use my desktop PC by attaching external Web Cam and mic to publish, delay on my Telecast side is consistent ,it never increase. I found the problem is with the Laptop's mic. Can anybody please suggest me why it is happening, and is there any solution to it.
View 4 Replies