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
ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 06-26-2008, 01:41 PM
View Complete Forum Thread with Replies
Sponsored Links:
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
View Replies !
View Related
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?
View Replies !
View Related
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") {
}
View Replies !
View Related
Sync Music To Timeline
I have a music track that I want to sync with some animation, all within one movie clip. Is there a way to scrub the play head back and forth so that I can place key frames in sync with the beat of the music track?
I can scrub the play head via the mouse, but when I do the music dosen't initialize or execute.
Any ideas?
Thanks!
View Replies !
View Related
Timeline Jpeg Sync Problems
I have this site I did in Flash 8. but the client now wants it in Flash 7. So I've removed everything that I needed Flash 8 for and saved it back to Flash MX 2004. But there is a number of issues I have to deal with now.
For starters, The background of the movie is a giant (12,700px) jpeg that scrolls right to left. Flash 8 has no problem with it. However, Flash 7 flips out and screws with it. So I cut it up into much small sections that it can now handle. So I've got a munch of motion tweens to make them come in one at a time after each other and delete ones that have passed. This plays fine in the timeline (enter preview) and it looks alright to me. But after it gets published, the tweens no longer match. the keyframes aren't syncing like they should. Is there some weird Flash 7 setting I need to deal with, or is there something else going on? Any help would be...well, helpful.
View Replies !
View Related
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.
View Replies !
View Related
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?
View Replies !
View Related
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.
View Replies !
View Related
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?
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
[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!
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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
View Replies !
View Related
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).
View Replies !
View Related
[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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
Simulating Hieracical Animation Tween Mixed With Timeline Animation..
The theory was that I animate my clip say across the stage using frames in the main timeline. So this animates fine, but when I use the Tween class inside this clip the timeline animation is destroyed! the tween class for the clip was just doing some animation repeating, like as if it was the clips own timeline...this overpowers the parent animation and the slide across the stage doesnt happen...
why? and is there a solution more importantly.
View Replies !
View Related
[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?
View Replies !
View Related
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???
View Replies !
View Related
Converting Programmed Animation To Timeline Animation
hi,
I have made a simple animation using programming in Flash 5. It is all contained within one frame on the timeline. It constantly repeats itself and plays fine as an swf file and as quicktime (6).
The problem is, I want to import it into an application (after effects)that doesn't understand flash programming. It imports it as one frame and nothing happens when I try to play it.
I think the solution may be in converting it to a timeline animation for about a minute which has a definite start and end point but I don't know how to do this.
any ideas?
katy
View Replies !
View Related
Timeline Animation Tweening Vs Actionscript Animation
Hi All.
The reason for this title is because I am currently producing flash banners for a company and have been looking all over the internet on such a subject.
My flash skills are somewhat limited. I currently make everything on the timeline and have started to see its limits. I find I am getting choppy movement with some of my animations.
I have tried using jpgs, pngs, gifs and vectors in flash but still get the same problems. I have tried setting the fps to 12, 24, 32 and 90.
I hear that flash 8 is apparently buggy and that you should set it to 31fps. Can anyone verify this?
Also I understand by uping the fps you start to encounter loading problems as you are starting to reload the whole piece your working on faster and faster and so computers with a low cpu will suffer.
I found by looking at using certain colours one can get around possible chopping problems and by spinning the word or image this can take away some of the effect.
I also read by setting publish to 'quality=best' can make a difference.
Next I've started reading about 'onEnterFrame' 'pressHandler' and OnMouseMove handlers in actionscript and how this can help.
Can anyone shed any light about how to get a nice simple smooth animation for a flash banner?
Many thanks
Newsense
View Replies !
View Related
AS Animation Vs Timeline Animation, Whats Best?
Hey guys, I have a few questions to some of the flash pro's out there....
1) What's better for performance ie: smoothness of animation?
2) File size?
3) Ease of use?
4) Should i be using AS animation as much as possible? Whilst minimizing timeline animation unless it is really needed?
I've tested it on a project im working on and it seems to increase performance quite a bit, although not being an expert yet, i'd like to gather some pro's opinions.
BTW, by AS animation i mean using the tween class or something similar to program the animation without referring to the timeline at all. Also, i assume programming with time rather than frames.
View Replies !
View Related
Actionscript Animation Vs. Timeline Animation
So I just got finished watching lees tut on the new motion editor in CS4, it looks pretty sweet!!! As I was watching a few questions came to my mind. Please keep in mind I have only been in the flash world for about a one and a half years and still trying to wrap my brain around AS2.
As I have been learning actionscript I have always been under the notion that it has been better to script your animations rather than do timeline animations. While I understand that would be good for a 10-15 second web banner I never understood how you could script a 2 min animation so I always animated in the time line.
So now with the new motion editor and say the bone tool in cs4 my question now is when should you script your animations and when do you use the timeline?
Thanks,
Mike
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
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.
View Replies !
View Related
Pausing Animation In The Timeline
USING FLASH 5
Can anyone help me figure out how to pause animation in the timeline with a button. I am assuming that there is an action script to accomplish this but I am not very strong in that area.
Any help would be appreciated.
Brian
View Replies !
View Related
Mp3's And Timeline Based Animation
I have a audio player that dynamically loads mp3's according to an xml doc. This is fine.
To accompany it, I have an animation sequence that reinforces through imagery and animation.
When im Testing the movie in flash, the timing is fine, all seems to synched up.
But when I then publish it and view it through the browser, the timing is out. The mp3 palys as normal, but the movie is lagging behind!!!!
Does anybody know what may cause this problem...
A point of note is that im using 30 fps, so would this be a problem?
cheers
lee
View Replies !
View Related
Preloader With Animation Not On Timeline...
Hey guys, got a problem... I have a preloader using an animation that is in another MC... i want the animation MC to go to a different frame each time a specific percentage is reached... i use a variable called loadPercent that stores the loadingprogress...
i cant figure out how to tell the animation MC to gotoAndPlay the following frame when a specific percentage is reached...
anybody got an idea?
the mc is called "Loadingani"
the frames are labeled like the percentage such as "12" "25" "37"
Help please...
Update: I just realized that i simply cannot compare a value such as "25" with the value loadPercent is getting from the preloader.
This is the code:
Code:
loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100));
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay ("main");
}
I want the movie Loadingani to jump to frame 2 as soon as loadPercent is bigger than "25" which shall be percentage of bytes loaded...
View Replies !
View Related
|