Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




FLV Wont Sync With Swf Animation Only On A Browser...



Im fairly new to manipulating FLV's outside of a creating a player or setting up a Component to play it. But I am stumped on how to sync flash animation with an FLV.I have some alpha-channeled video and I animated it to move around within the flash stage at certain points, and at the end I animate it completely off the screen to make it look like it flew out of frame. Everything was fine until I went to view it on a browser. When I view it on a browser the ending animation where it goes off screen always occurs too late. I even tried reducing the animation times in the fla and still it won’t sync up. Anyone know what is going on here? I know flvs play at different frame rates than the swf but I have tried both the 29.97 flv and 18 fps fla as well as an 18 fps flv and fla and but still no difference. Do I have to use a cue point to trigger the animation? Should the cue point be action script based or embedded in the flv? Thanks for the advice.



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 07-03-2007, 06:06 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Out Of Sync In Browser?
Hi
I have a flash presentation that loads mp3 sounds dynamically...
When i test locally and also upload to my site there are no problems....but when someone else views it online....there are overlaps occuring with the sound.......then if the viewer refreshes the page and watches again....the overlaps are gone and the movie plays ok.......which makes me think that the initial download speed
causes a hitch....i have a preloader that seems to works fine....but im wondering if there is way to overcome the problem of it being out of sync the first time its viewed.....ive checked kenny bellews
sound tutorials but none cover this particular area......anyone else experience this problem?.......maybe a preloader to a preloader.....

any help would be really appreciated.....
thanks

Animation Sync And Fps
hi,

Im new to animating in flash, and Im currently building a straight forward animation. not interactive.

my questios is:

it will be running at 1024/768 and will mainly be vector. how can i be sure that it runs smoothly and doesnt loose time with the audio.

I take it a faster machine will cope better. It will be ran from file/cd not web so thats not a problem.

By unloading unused mc from the stage will this help? or is this done automatically. ie if no longer in tmieline.

any tips out there i should know.

thanks.

Ben.

Sound Sync In Browser
I am encountering something that I have never had a problem with before. When I publish my flash movie and view it through a browser (embedded in and HTML file) the sound doesn't sync. up. If I view the swf by itself it works fine. Anyone have any insight as to what is going on? I'm using FlashMX Pro. 2004.

Thanks!

Audio Out Of Sync Only In Browser
I have an animation that is in sync on the timeline and when exported and played in the flash player it is still in sync. When embeded in a web page the animation is slower and it goes out of sync. I have a loader on it so that it doesn't play until its all loaded, which I only added because I thought it might fix the problem, but it doesn't.

The animation is set to 30fps. Does 30fps not work in a browser? Help a noob.

To sum it up:
In Flash (on timeline): In Sync
Standalone Flash player: In Sync
Embeded in browser: Not in Sync

Gracias

Sound And Animation Sync
I am doing a project where I have to create a animation to go along with a song, is there any way of easily synching sound and animation?

Animation Getting Out Of Sync On Export.
I know its aproblem with MX, I heard that it doesn't happen for flash 5 though.

True?

t

Sound And Animation Sync
I am making a quick demo, and thought I was finished. Everything was perfect, until I published. The animation ran much slower than the sound did in a browser, and doesn't match up any more. Sounds horrible because I used a loop for music and then play another loop for the outro, they have to match up.

I thought the problem was frame rate, I had fps a bit high, and am now running it at 20fps (Still too high?) and I am getting the same problem. Should I post the .fla? (It's 2Megs)

Any ideas?

Cant Sync Animation To Audio
hey guys,
im making an animation to a voiceover.
i want to sync the images with the voice.
it seems everytime i play the movie (i am publishing it as an exe to view because this is to be my final platform), the images play at a different speed.
what is this and how do i fix it?
also, does the way i have put the audio in make any difference to the speed it all plays back at?at the moment ive just got it on its own layer in the timeline.
cheers.

Sound Out Of Sync With Animation
I have a.fla file which contains a soundtrack and about 55 layers, each containing a single text box which fades in and out displaying the lyrics to the soundtrack (like a karaoke). Testing the .fla file works fine and the animation and sound is in sync.

However, when I publish the file as .swf the fade (alpha) disappears and the text boxes jump on and off the stage. More alarmingly, the sound gets progressively out of sync with the animation as it progresses.

I'm a new Flash user so it's all a learning curve for me. What am I omitting to do?

Sync Sound To Animation
Is it possible to dynamically sync an animation to an audio track? If not, what is the best way to go about this if i have 3 tracks total? Would I need to create 3 seperate animation loops that are hand animated to the audio loops and swap them out on the stage based on what track is playing?

Thanks for your time

Short Animation Gets Out Of Sync
I'm looking for someone who would seriously like to help me. I created a simple animation with all imported wavs that I set to stream. Halfway through this animation (where the foot smashes the bread), the audio stops going with the animation. I've tried so many things. I'd really appreciate if someone would download my .fla file: http://home.comcast.net/~a.aragon10/bread.fla (its over 5mb) and tell me what I'm doing wrong, if anything. You'd make my day. Seriously.

[CS3] Audio Does Not Sync With Animation, HELP
Hi!

I have my audio on a layer on timeline and it seems like the animation plays slower so the audio ends first when I play it on the web. I've been reading around and somebody adviced to use STREAM and I did but instead no sound played. Seems like sound only works at EVENT. pls advice. Thanks!

Sync Timeline Animation To Flv
I have a 70 second FLV with 3d rendered graphics and audio. I also have a user generated head movieclip that i need to sync up with the characters head in the FLV. The framerate for the FLV and the FLA are both 30 fps.

I've tried many different techniques to accomplish this. A couple techniques work when I test from within CS3(ie - in the standalone flash player). But once I test in the browser(this is ultimately going to be a website), the animated head falls out of sync with the FLV.

My current closest solution is as follows:

- Import the FLV and drop it on the timeline.

- Create the user generated head timeline tweens using the FLV that was dropped on the timeline as a guide.

- remove the FLV from the timeline.

- run the application and load the FLV externally via NetStream. then play the timeline animation and the FLV at the same time.

So, when I test this technique from within CS3(standalone flash player) the head remains perfectly synced with the externally loaded video. When I test this from within the browser(both on the live server and my local machine), the external FLV finishes waaay before the timeline animation. This means that the FLV framerate speeds up or the swf framerate slows down or a combo. Again, this only happens in the browser and not the standalone flash player.

So:

Does anyone know what's going on here?

Many people surely have had to sync up movieclip animations with minute plus long videos before; what is the proper technique?

Thanks

Sync Timeline Animation To Flv
I have a 70 second FLV with 3d rendered graphics and audio. I also have a user generated head movieclip that i need to sync up with the characters head in the FLV. The framerate for the FLV and the FLA are both 30 fps.

I've tried many different techniques to accomplish this. A couple techniques work when I test from within CS3(ie - in the standalone flash player). But once I test in the browser(this is ultimately going to be a website), the animated head falls out of sync with the FLV.

My current closest solution is as follows:

- Import the FLV and drop it on the timeline.

- Create the user generated head timeline tweens using the FLV that was dropped on the timeline as a guide.

- remove the FLV from the timeline.

- run the application and load the FLV externally via NetStream. then play the timeline animation and the FLV at the same time.

So, when I test this technique from within CS3(standalone flash player) the head remains perfectly synced with the externally loaded video. When I test this from within the browser(both on the live server and my local machine), the external FLV finishes waaay before the timeline animation. This means that the FLV framerate speeds up or the swf framerate slows down or a combo. Again, this only happens in the browser and not the standalone flash player.

So:

Does anyone know what's going on here?

Many people surely have had to sync up movieclip animations with minute plus long videos before; what is the proper technique?

Thanks

Sync Audio With Animation
Hi -

I'm not sure I can accomplish this with Flash (8 - AS2) so I thought I'd run it by some experts first.
I have to re-build a 5 minute narrated animation. The original version is an 800x600 After Effects project, exported as MOV, then converted into FLV. The file size was so big that I eventually broke the MOV into 5 "chapters" and made 5 FLVs. The audio narration was a layer in the AE project and tightly sync'd with the animation. This worked great except that the conversion/compression to FLV yielded either very large files or really crappy looking files. So this time I thought I would make the animation in Flash, and not use FLVs at all, but I'm in the dark about how to sync the audio (did I mention it had to match the animation closely?). In addition to that, the user still must have Play/Pause/Rewind control that FLVs can provide.

What's the best way to do this? Should I embed the audio into its own FLA layer or is there a way to lock in a separate AIFF (or whatever kind of audio format) ? Or maybe this is not the way to go at all?

I'd appreciate some expert direction - or warning - before I tread too far down the wrong path.

TIA your input.
d2

Lip Sync Character Animation
This may upset some people and i apologize in advance for the blatant advertising but it is some usefull information none the less. It is now possible for windows users to create lip synched talking characters using text to speech from within the flash IDE using our new extension - Vocalise TTS.

Vocalise TTS is the new character animation extension for Macromedia Flash mx 2004 that uses text to speech to create amazing talking characters. Whether it be for animations, Games, Information systems, advertising or any where else that you need to create a lip synched talking character, Vocalise TTS is the first choice to bring your flash projects to life.





check out http://www.digitalcuriosity.com for more info

Music Sync With Animation
ok so i made this really long picture/text animation (~700 frames), the biggest i've ever made and the music i cut for it is fast paced. when i checked it in the flash player the music played perfectly in sync with all the animation that was going on on the screen. when i published it however to put up on my website the music is too fast sometimes and goes ahead of the animation. sometimes it keeps up though, after reloading flash file about 4 times. i tried exporting the swf without "compressing the movie", i tried lowering the sound quality for a smaller file, i tried leaving the mp3 file as is so it wouldn't have to do any compression processing while its playing (i dont know if that actually happens, just trying random things)...

anyways, my question is how would i export the movie so that the sound would always be in sync with the video?? the website is here ... a pop-up window should come up with the flash animation. and lemme know what u guys think of this vid. thx a bunch

Lip Sync Character Animation
This may upset some people and i apologize in advance for the blatant advertising but it is some usefull information none the less. It is now possible for windows users to create lip synched talking characters using text to speech from within the flash IDE using our new extension - Vocalise TTS.

Vocalise TTS is the new character animation extension for Macromedia Flash mx 2004 that uses text to speech to create amazing talking characters. Whether it be for animations, Games, Information systems, advertising or any where else that you need to create a lip synched talking character, Vocalise TTS is the first choice to bring your flash projects to life.





check out http://www.digitalcuriosity.com for more info

Sync Animation To Voice-over
I am creating some kind of a slideshow presentation with a voiceover.
What is the best approach to sync the animation to the soundtrack?

(flash cs3 / AS3)

Flash Movie Out Of Sync In Browser
I designed a flash mx movie where text flys in to the beat of the music. It plays fine when I export the movie and double click it to play in the flash player, or hit ctrl enter in Flash to preview, but when I insert the movie into an html page in dreamweaver and hit F12 to preview it in IE, it's out of sync. The text seems to play slower than the music and doesn't hit the beats anymore. I designed the movie in Flash MX at 24 fps playback. Am I missing something?

Sync Audio And Animation In Flash MX
Does anyone know a good way to sync audio and animation together so that things happens exactly with the rise and fall of the music?

Sync Animation And Audio Problem
Hi.

I have a 20Meg flash file (with 5 scenes) that require exact syncing between the audio and the graphic animation.

When I play it in Flash MX 2004 pro it syncs perfectly. However, when I export it and play it, the syncing of the graphic portion falls behind about 1 second.

What's causing this?
How can I correct it?

PN

ACK Problems Wish Sound And Animation Sync
Okay, here's the situation:

I'm making a video where certain animations are supposed to be in sync with some sound or music. It's a very simple flash. Nothing complicated going on.

When I'm in Flash, everything syncs fine. I goto -Control > Test Scene and everything is good.

Once I publish, however... all my animations are now too slow for the sound! Everything is out of sync. Sound plays, and then the animation goes.

(very frustrating)

Is there something I'm overlooking that would cause my animations to slow-down going from an inside-flash preview to the published version?

-edit I've tried a preloader, and that's no help either.

Dynamically Sync Sound To Animation
Is it possible to dynamically sync an animation to an audio track? If not, what is the best way to go about this if i have 3 tracks total? Would I need to create 3 seperate animation loops that are hand animated to the audio loops and swap them out on the stage based on what track is playing?

Thanks for your time

Animation Sound Sync PLEASE HELP Very Frustrated
I'm making a short cartoon and i have a few sounds set to stream. However, they start playing before they're supposed to. I've even tried splitting the animation up into scenes, but for some reason the sounds will play (even before the scene they're set to stream in has even started playing!). I've tried changing the publish settings, tried messing around with sound settings, but for some reason it wont sync! I've even removed filters or other graphic intensive variables that might be slowing down the visuals. I'm about to punch my computer in the face, someone please help! (i am using Flash CS3).

[F8] Weird Animation Sync Problems
Hello everyone,

A friend and I have been experimenting with making some cartoons in the style of Tom Goes to the Mayor, with still frames changing periodically to an audio track of the dialogue

an example can be found here:
http://www.youtube.com/watch?v=AlA51bIuvi4

my problem is that we're just using unedited JPEG images (640x480) and there is a tremendous amount of sync problems with the audio, probably because so many images have to load.

i'm using a loader that i found here:
Internal Flash Preloader

i'm not entirely new to flash, but i can't think of a way to make things load properly, and im sure there's an easy answer out there than someone can give me.

any help, or even a shove in the right direction, even if there's a better place in the boards to ask this question again, is greaaatly appreciated.

thanks

HELP Audio And Animation Sync Problem
hi all,

I have built a project that uses a minute long audio clip along with animation that is synched to the audio. I have the audio set to stream and it sync's just fine.

When i pause and then resume sending a stop(); and a play(); to the time line. the audio and animation picks up where it stopped but the audio is ahead of the animation losing its sync. It pauses just fine and it starts back up just fine. but upon resuming play why is the animation lagging or why is the audio starting ahead of the animation if they are both on the same timeline that i am stoping then playing. if i don't pause it, the sync is fine. It's when i pause and then play that they are falling out of sync.

Please HELP... thanks

Easy Way To Sync Animation And Sound?
is there an easy way to do this?

Can't Preload And Sync Animation And Music
Hello,

This is what I have:

1. A preloader in frame 1 which loads the animation and background music (dynamic mp3), all located in frame 2 (frame label name is "intro")


This is what I would like to do:

1. Play the animation and background music together (dynamic mp3) once the preloading is complete.


My problem is this:

1. My animation starts playing before the dynamic mp3 is loaded.


Question:

How can I get the animation and the dynamic mp3 to play at the same time? Or how can I make sure the dynamic mp3 is preloaded before the animation starts playing?


Note:

1. Currently the preloader is in the 1st frame of my movie.

--------------------------------------------------------------------------
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay("intro");
}
}
----------------------------------------------------------------------------

2. My dynamic mp3 movie clip is in the 2nd frame. The frame is called "intro" and the code below is on the movieclip called "bkgmusic".

----------------------------------------------------------------------------
onClipEvent (load) {
firstSound=new Sound();
firstSound.loadSound("music.mp3", true);
playing=true;
firstSound.onSoundComplete = function() {
this.loadSound("music.mp3", true);
};
}
----------------------------------------------------------------------------


Thanks.

Can't Preload And Sync Animation And Music
Hello,

This is what I have:

1. A preloader in frame 1 which loads the animation and background music (dynamic mp3), all located in frame 2 (frame label name is "intro")


This is what I would like to do:

1. Play the animation and background music together (dynamic mp3) once the preloading is complete.


My problem is this:

1. My animation starts playing before the dynamic mp3 is loaded.


Question:

How can I get the animation and the dynamic mp3 to play at the same time? Or how can I make sure the dynamic mp3 is preloaded before the animation starts playing?


Note:

1. Currently the preloader is in the 1st frame of my movie.

--------------------------------------------------------------------------
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay("intro");
}
}
----------------------------------------------------------------------------

2. My dynamic mp3 movie clip is in the 2nd frame. The frame is called "intro" and the code below is on the movieclip called "bkgmusic".

----------------------------------------------------------------------------
onClipEvent (load) {
firstSound=new Sound();
firstSound.loadSound("music.mp3", true);
playing=true;
firstSound.onSoundComplete = function() {
this.loadSound("music.mp3", true);
};
}
----------------------------------------------------------------------------


Thanks.

Best Practice To Sync Sound And Animation
Hi guys, what is your solution to best practice to syncronising sound and animation.

Can't Get Timeline Sound To Sync With Animation
Hi. Hopefully this is an easy question to answer. I have built an animation. Nothing too complex, just a man walking, climbing a ladder walking some more etc. The walking motion is in a movie clip and the background moves directly on the timeline.

I also have a sound file running which is also directly on the timeline. The sound is just a verbal naration. The entire movie lasts for about 50 seconds.

I thought all was good until by chance i noticed during testing that at a particular point in the animation the audio was at a different position to where i had built it. Running it several times more i found that the synchronisation between the audio and the animation is slightly different every time. It may only be a second or two out, but unfortunately exact synchronisation is essential.

I have a pre-loader at the beginning of the movie so nothing plays until it is all completely downloaded.

I would have thought that because all is downloaded, everything should be in sync. Even if my computers processor is under a bit of strain and the animation pauses for a second, i would have thought the audio would as well, but it doesn't.

Is there a way to ensure correct synchronisation?

External .swf Files Wont Sync In Browser
I have multiple .swf files loading into a main .swf. One contains a video, another contains text and animations...they sync fine when I play them in the flash player on my computer, but the video.swf gets ahead of the animations.swf when they play in a web browser..

They are both set to 24fps, the .swf containing the progressive .flv seems to play fine, while the animation .swf file in the background clearly lags when it's played in the browser (tweens aren't smooth, sync gets off).

Any ideas on how to fix this? Thanks.

Flash 8 Pro

Sync A Flash File With The Browser Window
Hi,

Is it possible to use actionscript to scale a flash swf in a html document as you drag a window's size using the bottom right of the window?, im sure I have seen it on some sites but at the moment my swf just sits in the html not reacting to what is happening to it's containing browser window.

thanks

Gavin

Sync A Flash File With The Browser Window
Hi,

Is it possible to use actionscript to scale a flash swf in a html document as you drag a window's size using the bottom right of the window?, im sure I have seen it on some sites but at the moment my swf just sits in the html not reacting to what is happening to it's containing browser window.

thanks

Gavin

Audio And Animation Sync On Slower Computers
This may be an obvious question, but....

how come when i make an animation in flash mx 6 it feels obligated to play EVERY SINGLE FRAME. on slower computers this becomes a problem, the sound keeps going and the video is going... incredibly.... slllooooowwww.

if theres some sort of setting that always follows the set frame rate, it would be great to know what to press.

Sound Object & Animation Out Of Sync - Solutions?
Hello,

I am attempting to create an elearning program with text that highlights when narrated. The text highlighting is an animation that I have timed to sync. with the voice over.

Unfortuently the voice over starts a few seconds after the the text highlighting animation - it is out of sync. I am certain this has something to do with download difference bbetween the MP3 and the swf.

Can I force the animation to wait for the MP3?

What other options are available?

Please have a look at the problem I am having:

Elearning Program - please click on Introduction

Any help would be greatly appreciated.

Richard Rambarran

Sound Object & Animation Out Of Sync - Solutions?
Hello,

I am attempting to create an elearning program with text that highlights when narrated. The text highlighting is an animation that I have timed to sync. with the voice over.

Unfortuently the voice over starts a few seconds after the the text highlighting animation - it is out of sync. I am certain this has something to do with download difference bbetween the MP3 and the swf.

Can I force the animation to wait for the MP3?

What other options are available?

Please have a look at the problem I am having:

Elearning Program - please click on Introduction

Any help would be greatly appreciated.

Richard Rambarran

Timeline Animation Sync To A Video Stream
me again with a funny question.

i embeded a video into flash and then i added a mask frame by frame on that video to get a nice timeline animation.

now i stream that video from a FMS and when the video starts playing i also start playing the timeline animation. unfortunately it's not always playing a bit to early or to late but never sync to the stream.

can anyone tell me how i can manage to sync the both?

Code:

         if (event.info.code == "NetStream.Play.Stop"){      
                     trace("stop");      
                  }   
                  
         
         if (event.info.code ==  "NetStream.Buffer.Full") {   
            
               biraMask.play(); // tells to start playing the timeline animation in the biraMask MC
            }   
            
         if (event.info.code ==  "NetStream.Buffer.Empty") {
                           
         }
         
         if (event.info.code ==  "NetStream.Play.Start") {
                           
         }

[Flash 8] Sync Sound, Single Frame Animation
I'm working on an animation that's all in one keyframe (all animation is done with the tween class).

How can I set sounds to play only at a certain time using actionscript? Looping is not problem, but having a sound play 5 seconds...or 10 seconds...or whatever time into the movie I can't figure out. Mostly I just want a few sounds to play once at specific times in the movie.

Any suggestions?

Adding Cue Points In Audio To Sync With Flash Animation?
hey all,

just wondering what software and how to go about using cue points to sync with the flash animation cue points in just audio.

any tutorials or ideas??

Cheers Peeps

Intro Music Wont Sync W/animation In Preview Mode...
hello,

I just finished my intro, i have a song that plays on Event in the first frame...anyways, when i press PLAY and preview the intro in flash program itself(on canvas), the song goes directly well with the pace of the animations, however, when i do a publish preview in internet explorer, the song and animations are slightly off with each other. it seems that the animations are faster and the song slowed down for some reason, so now everthing is off pace.

any help???

How Can I A Make A Sound Sync To Animation Regardless Of Quality Or Computer Speed ?
Hi,

I´m having trouble making the sound sync to animation in different quality levels in Flash. If I use quality = "LOW" the animation is ahead the sound clip if I use "MEDIUM" quality the sound syncs if I´m using my 1 Ghz computer however its not syncing if I use my 450 Ghz computer.

How can I a make a sound sync to animation regardless of quality or computer speed ?

Thank you.

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

Looping Sound And Looping Animation Sync
I'm working on a navagation interface for a new site, and I'm running into a few issues.

1) when you click on a button, it activiates an MC. within that MC, the first frame is the initial "off" state, and clicking on a button triggers the rest of the clip to play, from frame 2. I have a sound that starts in frame 2, and I set up an animation of a VU meter that is supposed to be synced very closely to the music. In the last frame of the MC is an action, gotoandplay, that sends it back to frame 2. The idea here is that once the button is pressed, the music loops and the animation loops with it.

When I test the movie, do a publish preview, or view the swf file in the flash player, the animation seems to be synced to the music for the first few times it loops, but then the animation drifts ahead of the music, getting progressively further out of sync with each loop. The other real problem here, is that when viewing the swf in any web browser, the animation is immediately behind the music, and seems to be running much slower than it should.

you can see the swf here:

http://www.lsrdigital.com/flash/index.html

Does anyone have any ideas about how to get this to work the way I am trying to get it to?

the .fla file is here if you want to look at it as well:

http://www.lsrdigital.com/flash/LSR.fla

2) The other problem I'm having is that the stage is set to be 680 pixels wide, and the graphic that fills the background is 680 pixels wide, BUT Flash MX publishes the movie at only 679 pixels wide! You can see the line of white pixels on the right side of the movie here:

http://www.lsrdigital.com/flash/index.html

I've double checked the html file and the table cell holding the movie element is 680 pixels wide. You can also tell that Flash is cutting off the last column of pixels because the background image is visibly just missing the edge to the right of the screws.

Any ideas on that one?

How Run Animation In Any Web Browser
Without macoromedia how can i open a flash animation in any web browser ?

Ex: If there has a option that to build in .exe file and open it any web browser without help of macromedia software.

Re-sync Out Of Sync Live Streams
Hi Guys,

I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.

Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.

I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.

Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.

Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.

If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.

I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.

Any help would be appreciated!

Copyright © 2005-08 www.BigResource.com, All rights reserved