ActionScript 2.0 :: External Audio Not In Sync With Text/screen On Windows XP?
Sep 23, 2011
I created a Flash program that utilizes audio and text. The audio is located in an external folder and is loaded using .loadSound(). The text is located on the timeline and appears based on a certain time in the audio. I have a pre-loader that looks to ensure all of the external audio is loaded before the user can move onto the appropriate screen and the audio would play. This is using a combination of the .getBytesTotal and .getsBytesLoaded.
It works fine on Windows 7 but doesn't seem to be working one particular user's Windows XP on IE 7 (So it's not happen on all Windows XP). On a particular user's computer, the text is slow to load while the sounds loads pretty quickly leaving the text out of sync. After a few screens, the text will catch up with the audio.
View 6 Replies
Similar Posts:
Jan 15, 2010
I've been involved in a webproject where text will be converted into speech. Then the text should be highlighted word by word as the audio is played in the browser.
View 0 Replies
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
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
Dec 7, 2009
When I use the webcam and microsoft to record a video, my audio and video are out of sync.This does not happens when I use the built-in Microphone on the webcam.
View 2 Replies
Aug 14, 2011
I have an animation that I am exporting as either a .wav or .mov file then editing in different software but when I import the new file it is out of sync. That sounds confusing so I will explain. The project is a cartoon and a temp dialogue track was created before animation started. Then that temp track was used to animate over and do lip synching. Recently, actors have re-recorded the original temp dialogue track. So, I need to export the original dialogue track out of Flash, use an editor, in this case Final Cut Pro, and replace the dialogue then export that as an audio file and bring it back into Flash.
But it is always out of sync. I have even exported a .wav file from Flash then immediately re-imported it and put it on the timeline and it is already out of sync. And it is the exact same audio! I don't even know how that could be possible. Surely if you export a wav from Flash and then re-import it, it should be exactly the same.
View 8 Replies
Apr 9, 2011
I am streaming live content via flv but the video is lagging audio by some time. I am using netstream and video but cannot find a way to set the FPS for the video, I think i could fix it if I knew how to adjust the FPS
View 1 Replies
Mar 2, 2010
We are creating a 30-track mixing desk to demonstrate our percussion instruments. Take a look at www.bellpercmixer.com. As you can probably hear, the audio is not properly syncing up.
The files should be exactly the same length (8 seconds) but they are mp3s so I don't know if the compression messes the length up as I know it adds the gap between the loop? More than likely, it is my lack of action script skill that has caused this problem... e.g. does each track need to be on a separate layer with a sync-track type thing? Here is an example of the script:
[Code].....
View 1 Replies
Dec 5, 2011
I have a project that involves playing back a video clip within my swf movie. The video clip plays fine on its own, but when brought into flash the video and audio become out of sync and the movie quality suffers dramatically. I have tried embedding and streaming.
View 1 Replies
Jun 30, 2011
I have a voice over that I am trying to load, and sync with on screen animations. So when the narrator says something the animations back it up. However, when I embed the audio clip in the timeline, it makes my whole flash movie slow to a crawl, and everything gets out of sync anyway. When I load it externally using AS3 like this:
ActionScript Code:
var my_sound:VoiceOver = new VoiceOver();
var channel:SoundChannel = my_sound.play();
Everthing works great, but I don't know how to sync it with my movieClip that contains my animations. Is there a way to have the external audio sync with a movieClip on the timeline?
View 7 Replies
Jul 6, 2005
Are there issues with using attachSound to sync sound clips with Movie Clips? I currently am having this problem. I have all my sounds in a separate swf (sounds.swf), then I call the sounds like this:
Code:
gear1_btn.onRelease = function() {
logo.gear1.play();
sounds.gearssmfx.start();
}
I build the movieclips with the sound on the timeline, so that I know they sync up. Then I remove the sound from the movieclip, and actually play the sound with the AS above. The above AS should play the same in the browser, but doesn't. The problem is that the movieclip animations often run slower in the browser than they did within Flash. Is is possible that the movie is running at a slower FPS in the browser? I have noticed that it runs slightly slower in Firefox than IE. I'm currently using 32fps.
Here is my development : [URL]
Specifically, I'm having problems with the gears next to the letter "S" and "0", click on them to play.
View 2 Replies
Feb 28, 2008
Im having serious issues making a video sync with audio inside an embedded flash video file.
View 2 Replies
Aug 18, 2009
We use a Flash component to allow a user on our web site to record from a Webcam on to our own Flash Media Server. The problem we are having is that the video in a 30 second FLV freezes at the 7th second but the audio continues. The video unfreezes after a couple of seconds but never catches up with the audio. At the very end there's a "Fast-forwarding" of video for the last few seconds so that at literally the last moment, everything's in sync. This happens for almost all of our recordings. Has anyone experienced this type of behavior?
View 5 Replies
Jun 18, 2010
I am using Flash CS3 on a PC. I am trying to export an animation to quicktime (Export > Export movie) and have some problem regarding the sound. The animation contains actionscript 2.0loads external swf contains streaming soundsplay other sounds via actionscript. 4 scenes. When publishing the animation, it works fine, but when exporting it to .mov, the audio goes faster than the video.
Export setting:
Video:Compression type: H.264Frame Rate: CurrentKeyFrames: 4
Sound:Compressor: 24-bit integerRate: 48.000KhzSize: 16BitUse: Stereo
To be honest, I tried many other compression types and frame rates and keyframes, but nothing seem to work.
I tried:
- importing the external swfs into the original animation
- creating a streaming silence from frame 1 for continuous sound
- capturing the animation using CamStudio, but it's not smooth enough
View 1 Replies
Feb 21, 2011
I am trying to edit and mix sound effects and music for a FLASH animation in ProTools. After much trial and error I figured out how to make an accurate Quick Time of my FLASH file to spot sounds to in ProTools. The problem is when I import my audio into FLASH, it speeds up making it out of sync with the picture. I did several tests and it looks like for ever minute of ProTools the audio in FLASH speeds up 2 frames. Both programs are running at 24 FPS.
It is not a NTSC vs Flim speed issue. All other programs read my PT audio file correctly and show it to be the correct length with the SFX where I placed them. FLASH speeds it up, making my animation not time to the music and effects causing me to resync all my layers. How do I accurately export a sound file into an AIFF format and import it into FLASH without FLASH changing the speed? I have my audio set to Stream as it should be. After 3 minutes my audio is 8 frames (1/3 of a second) out of sync with the picture.
View 3 Replies
Dec 18, 2009
I am calling some streaming video on frames 1-11 to play for a multiple choice game. My video and audio are out of sync at times on frames 3-11? [code]...
View 1 Replies
May 13, 2011
I have a long timeline (5000+ frames) with cartoon animation and streaming dialogue sound on it. I've run into the dreaded audio sync problem. I found many discussions, peaking around 2005, but no solutions for this problem. I have a track of silence to ensure frame-dropping even between lines of dialogue. Prior to around 2000 frames the error is not noticeable.
My testing shows that playback is off by 2 frames per 1000 at 24fps. So at frame 10,000 the audio is out of sync with the graphics by 20 frames, nearly a second. This is predictable and reproducible on a variety of PCs and an iMac. I'm publishing to Flash 8 + AS2, but publishing to Flash 9 or Flash 10 don't make any difference at all.
I don't want to split this into multiple SWFs. Scenes don't help. Putting things into multiple movieclips would complicate my controls and our workflow. Just shifting the audio on the timeline is preferable to those solutions, but it makes maintenance difficult.
View 4 Replies
Apr 11, 2010
I'm using Flash CS4 to animate hi-def music videos. It seems that I can't keep the audio to stay in sync for anything over 2 or 3 minutes.
- I'm working a stage at 1280x720 and 30 fps
- audio is streamed on a separate layer
- mp3 publish settings are: stereo 128kbs
Inside the FLA file everything syncs perfect, but when it's published, everything drifts in the SWF and in everything else I've tried.I've tried exporting image sequences and popping the sequences into premiere pro to match up with the original wave, and i've also put the swf file in a premiere pro project as well. Whether a SWF or an image sequence, it always lapses after 2 or 3 minutes.
View 12 Replies
Feb 8, 2009
I have an externally loaded file in flash. I'm trying to create a pop up from the text file. In order to do so I place a function into my actionscript, then place the link inside my external text file. It works fine but only while publishing in flash 6 and not 8.Below is the example of the function and the internal link.
openWin = function (url)
{
getURL("javascript:window.open('"+url+"','newWin', 'toolbar=no,width=760,height=560'); void(0);");
};
<a href='asfunctionpenwin,http://adobe.com'><font+color="#0000ff"><b>Link</b></font></a>
View 2 Replies
Jan 21, 2011
I'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
View 2 Replies
Jan 4, 2012
I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
View 3 Replies
Mar 21, 2009
Following this tutorial: http:[url].....But I keep getting this error message:1046: Type was not found or was not a compile-time constant: CuePointEvent.
how to sync to mpr3 audio files at specific points?
View 1 Replies
Jan 27, 2010
I'm a total novice and I think I can't find an answer to this question because it is so basic. There are all kinds of tutorials on FLVPlayback, streaming video from a URL, etc.,but nothing I can find on how to make it play nice with the rest of the flash animation in my .swf. I assume this is a matter of simple actionscript (AS3), but my ignorance is profound.
So . . . I've got a flash animation that leads into a gotoAndPlay button, which references the frame where my video starts. The video, streaming from my url, plays fine, but if it takes a moment to buffer, the main timeline in my .swf just continues on through the frames I've created for the length of the video. Since my intention is to have the video finish and loop back to the intro. animation, ending with the play button displaying again, what happens is that it loops before the video is done playing, leaving the audio still streaming but the viewer staring at the play button. In other words, if there is no lag time for buffering, the number of frames before it loops is enough for the whole video. If it lags for buffering, it cuts off part of my video, prematurely looping to the intro.
View 3 Replies
Jan 26, 2010
There are all kinds of tutorials on FLVPlayback, streaming video from a URL, etc., but nothing I can find on how to make it play nice with the rest of the flash animation in my .swf. I assume this is a matter of simple actionscript, but my ignorance is profound.
So . . . I've got a flash animation that leads into a gotoAndPlay button, which references the frame where my video starts. The video, streaming from my url, plays fine, but if it takes a moment to buffer, the main timeline in my .swf just continues on through the frames I've created for the length of the video. Since my intention is to have the video finish and loop back to the intro. animation, ending with the play button displaying again, what happens is that it loops before the video is done playing, leaving the audio still streaming but the viewer staring at the play button. In other words, if there is no lag time for buffering, the number of frames before it loops is enough for the whole video. If it lags for buffering, it cuts off part of my video, prematurely looping to the intro.
Is there a way to sync the two playheads, so to speak, so that the .swf doesn't continue on when the video is paused?
View 2 Replies
Nov 29, 2010
I'm using ffmpeg on Windows to create mp4 files for web distribution. As libfaac isn't available, I use libmp3lame to encode the audio tracks. The mp4 are played back with a falsh player (JWPlayer).I was wondering if there were any shortcomings to use mp3 instead of aac on certain devices?
View 1 Replies
Jan 10, 2012
I will call flashObject.httpRequest to complete a http request via flash. The problem is there is no reference about httpRequest is an async method or sync. It is important for my application.
private function httpRequest (uri:String, param:String="", method:String="GET"):void
{
var
[Code]....
View 1 Replies
Jan 12, 2009
as i understood, external data loads with async mode. Please, suggest me good way to get sync mode
View 9 Replies
Aug 9, 2010
am trying to figure out how to fix a problem. I have my computer hooked upto the television to watch shows and movies. However playing flash related content always freezes when in full screen mode. This includes if something is playing or if the movie has ended and the player is staying in full screen mode.I have tried on IE8, Firefox and Safari. It happens at random times and on all flash video players
View 1 Replies
Jun 7, 2011
I am currently having a problem when launching the trial version of flash cs5.5 . The screen that says the timeleft at my trial comes up but the flash cs5.5 screen stays black and is "not responding". About two weeks ago, it worked, so i don't know what is happening. All my other programs work. I tried to reinstall it, to delete the left flash cs5.5 program files after the uninstall and many other things, but it dosen't work.Here is a screen capture of the flash cs5.5 blackscreen. notice that in the frame of the window it tells" not responding".
View 1 Replies
Jan 23, 2009
I'm currently trying to get an AS3 based flash file to run full screen in a windows projector, but no matter what I try codewise I cannot get the function correctly working,I've tried
fscommand("fullscreen","true");
which works, but I'm also told to avoid it, as it's buggy : - I also tried
fscommand("trapallkeys","true");
fscommand("fullscreen","true");
fscommand("showmenu","false");[code]....
but this doesn't work either, in swf or standalone .exe.
View 2 Replies