ActionScript 3.0 :: Syncing Sound With MovieClip?

Sep 16, 2010

problem - syncing some background music with a movieclip. I am aware that you can place a sound directly onto the timeline of a movieclip: this was my first attempt at syncing the two up. Unfortunately the problem with this is that the sound (which is quite long) then won't STOP until it finishes playing regardless of whether I stop the movieclip or remove it from the stage. I also have no control over the volume this way.The only other method I can come up with involves keeping track of the current frame of the mc and triggering the sound manually, but this still goes out of sync if too much is happening at once and the framerate drops.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Sound Syncing With Text In CS5?

Jun 2, 2011

FLASH CS5
AS3

I would like to sync my sound file with the text on the timeline. This would amount to sound being played and the text changing color when that word is read. I have tried this manually in earlier versions of flash. I timed up the sound file with the text/color. Using this method the results were spotty and not always the same. Sometimes, depending on the computer, it was timed perfectly, others it was a second or so off.

Is there an easier way to accomplish sound to text syncing?

1) Using Flash CS5?

2) Using After Affects? - I thought about using AA because I can control the sound better. But I would prefer to use Flash.

3) Another program?

View 3 Replies

ActionScript 3.0 :: Use It To Force Sound Syncing With Timeline?

May 3, 2010

I made about a 1 minute animation synched to music soundtrack. When I play (command Enter) from Flash everything synchs up fine, but when I play the swf alone in the Flash player the audio and animation get out of synch. I tried setting the audio to stream but that made things worse, and I also tried increasing the compression rate of the audio file which helped but is not perfect. I found a snippet of AS2 code that I am trying to convert to AS3 that uses the sounds position to set the frame number via onEnterFrame. I'm also using a frame rate of 29.97.[code]...

View 1 Replies

ActionScript 2.0 :: Syncing Animation With Dynamic Sound?

Sep 23, 2004

on animating a movieclip(s) based on a sound stream..

Basically - something like a spectrum analyzer or a visualization effect for a media player..

It doesn't have to be complex - as the basics are all i'm looking for so that I can expand upon that to fulfill my own agenda

Also - the sound is going to be dynamic, being that the user will specify a file to play, so this can't be done with simple frame animation (unless I were to create ~16,000 different swf files.. .. . . Yea)

View 1 Replies

Professional :: Syncing Mp3 To Animation?

Feb 27, 2010

I have a Flash movie which is synched to an MP3 file by adding keyframes at  the appropriate points to trigger actions.

In the *.fla file, and in  an exported *.swf or *.exe Projector file the synching is retained perfectly. However, when I include the *.swf in an html file, the synching  is lost. It would appear that either the MP3 file is playing at the right  speed and the movie is lagging behind, or the movie is at the right speed  and the MP3 is playing faster than it should.

I have matched the Audio Output stream to the MP3 file in the Publish Settings dialogue (both now 128kbps), but the drifting still occurs in an html page.

I am using Flash 8.0 on a PC running Windows XP Pro SP3. I have a quad-core Intel Xeon, and 4meg of RAM.

View 5 Replies

Professional :: Audio Not Syncing With Video?

Jun 13, 2010

When I go to test my video the audio and video are playing at different playback speeds. I'm trying to create a video using Flash that requires events based on the song itself. how to make the audio and video play at the same speed during Timeline playback and testing?

View 1 Replies

Professional :: FrameSync 2.0 Lip Syncing Extension Is Now Available

Aug 16, 2010

FrameSync is a free Flash extension, originally released nearly 2 years ago, that allows you rapidly lip-sync your characters with an audio track. Version 2.0 allows you sync your characters even faster and easier than before. ew features include a keyframe mode, audio playback and frame navigation for Flash CS5, and performance improvements. See this post for more details.

View 2 Replies

Professional :: Sounds Not Syncing With Frames?

Mar 29, 2011

I'm working on adding sound effects to a short animation. The first few sounds are syncing perfectly, however when I test the movie in Flash Player, at about the middle part of the animation, the sounds no longer sync; they play ahead of where they are supposed to. Testing the movie right in Flash, though, the sounds are fine. Exporting to a SWF file as well as a MPEG-4 also plays the unsynched sounds where they are not supposed to be

View 7 Replies

Media Server :: Syncing Of Two FLV Files

May 16, 2011

We developed one application in which a user can chat with a customer. But FLV size of user is double than that of customer FLV. At the time of playing we are getting problem of sync issue between FLV files. We are setting buffer size of 10 seconds. Is their any other way so that we can sync both FLV and an officer can view the communication of user and customer. Is DVR will do in sync? If yes then how?

View 7 Replies

Professional :: Syncing Audio With Animation?

Mar 24, 2012

I'm making an animation in flash CS5, and everything went well with it until a certain scene, which is no different than the other scenes in terms of animation/audio. In that scene, while one character is finishing his audio sentence, the next audio line already begins, screwing up the animation to audio sync in the animation from that point on. This doesn't make sense because the line that begins too early, isn't marked to play until a few seconds into the NEXT scene. Why is this happening? I tried so many things and it's really frustrating that nothing is working. I tried changing the lines from even, to stream, from mp3 to wav, making scenes longer at the end, but no matter what I do, the next audio line begins really early, messing up the entire audio to animation sync of the entire video from that point on.

View 5 Replies

Flash :: Syncing Separate Swf Files

Aug 1, 2011

I've been working on this problem for months, can'f find a viable solution. I can get the main movieclips of the files to p with a mouseover action, but I really need three separate swf files to sync upon load.

View 1 Replies

Flash :: Syncing Mobile App With Web - Builder For PHP?

Aug 17, 2011

Im starting experiment with Flash Builder for PHP mobile projects and I found it facinating. I could connect the app to a local database, but I was wondering how can I update the data of the mobile app from a website?

View 1 Replies

ActionScript 3.0 :: Syncing Text With Audio?

Oct 26, 2009

I have got a simple code that displays about three paragraph of text character by character.I need to sync it with audio. ie play the same audio that is displayed in the screen.What could be the best way to do so ?

View 2 Replies

ActionScript 2.0 :: Syncing Two MovieClips OnRollOver?

Dec 19, 2007

First of all, final swf file size needs to be max 30kb. So I can not use Fuse (which would do the job automatically for some reason) nor complex stuff.

I have timeline tweened a image to scale (loops like a heartbeat) on main scene. Then on onRollOver another movieClip appears with different image but with "same" timeline tween (same as in keyframes in same frames and animation the same lenght).

When I hover my mouse on top of the "main" image, which is pulsating, the appearing movieClip is pulsating in the same rhythm but out of sync.

my code so far:

Code:
import caurina.transitions.Tweener;
var my_sound:Sound = new Sound();
logo_mc.onRollOver = function() {

[Code]......

View 1 Replies

ActionScript 3.0 :: Syncing Up Layered Loops?

Jan 28, 2009

I'd like a page with several buttons, each starting a different loop of sound (no more than a few seconds), so that you can end up with several loops playing at once. Is it possible to force any subsequent buttons pressed to wait until the existing loops reach their start before starting it's own loop? So that when a button is pressed it's loop will sync up with what is already playing?

View 1 Replies

Media Server :: FMS For Syncing Background Video

Dec 14, 2010

I have a question regarding which version of Flash Media Server will best serve the project I am currently working on and whether the approach I have in mind is possible with FMS.The project envolves Flash Media Server syncing a dynamic background across multiple Flash Players running on separate computers on the same local network. One approach is to have FMS handle the variables and calculation on its side and communicate this to the other Flash Players (this I understand can be done with the Streaming Server).The second approach is to have FMS execute ActionScript on its own side to create the dynamic background and then serve this out as a video stream to the other computers. (With this approach FMS can completely takeover the processing required to generate the background content and the other computers only need to play it back as video. Is this type of approach possible with FMS and, if yes, with which version.

View 1 Replies

Actionscript 3 :: Syncing Overlay To Displacement Map Filter?

Dec 13, 2011

I'm using a DisplacementMapFilter to created a globe-like effect on a flat map. My problem is, I also want to sync some labels to this map. I have the x/y coordinates for their locations on the flat map, but I need to map them to the now-displaced image.

I would like to be able to do this using the BitmapData that contains the displacement map, so that changing the Bitmap changes both the displacement filter and the label locations. Also, the labels will not be static, and accuracy is fairly important.

View 1 Replies

Flex :: Syncing BlazeDS Messages Across Two Webservers?

Mar 5, 2012

I have a Flex/BlazeDS webapp (pseudo content management system) with a Java backend running on 2 Weblogic 10.3 servers for load balancing and HA purposes.Basically, I'm using AMF polling to update my app such that when a user opens a document from the search results, the corresponding row will display a locked icon across all user displays that currently have that document on the screen.

The problem I have is that if a user connected to Server A opens up document X, the locked icon will only appear on the screens of other users connected to Server A. The displays of users connected to Server B will not be updated. Is there any established paradigm or best practice to ensure that the locked update will propagate across all servers?

View 2 Replies

ActionScript 2.0 :: Syncing A Flv Through 2 Playback Components Or Netstream?

Feb 11, 2009

Trying to play an flv in a mc at 100% on one layer while playing the same flv at 200% on a layer behind it.

I am wanting to load the flv in once, check it has loaded and then play both instances at the same time.

I tried this:

// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);

[Code].....

View 1 Replies

Professional :: Optimal Audio Format And Settings For Syncing?

Nov 25, 2010

I was wondering whether MP3s or WAVs would be better to avoid syncing issues. Also, what audio stream settings would be best?
 
I was also wondering if you can manually play the audio track by moving the play head over it. I've tried multiple times with multiple settings to no avail.

View 1 Replies

ActionScript 2.0 :: Syncing Several Flash Files To Start At The Same Time?

Mar 27, 2007

Im working on a site which incorperates several flash movies on one html page.

I realy want all these flash movies to start at the same time so they fade out in sync.

[URL]

I cant seem to find any command in flash to start a seperate flash movie playing but im sure that there is one.

I have thought about 2 ways of achieving this but am not sure which is the best way. The first is to have an extra movie that checks to see if the others have loaded then when all 4 have loaded it then starts them all at the same time.

The other way is to have each movie send a variable when it is loaded, then when all the variables are checked a start function is sent either via javascript or php.

View 1 Replies

ActionScript 3.0 :: Syncing Externally Loaded Audio Files?

Mar 30, 2009

I've developed an application which uses a (dynamic) XML file to load in several files; a maximum of four MP3 files and a number of JPG files.When everything has finished loading, the user can press a "Play" button. The application could be described as a "mixer"; it's used to give online music lessons and to facilitate this, the sheet music is loaded (cut up into into several JPGs) which move horizontally on the screen like a marquee, while the music it represents begins playback. The music exists of several MP3s so that the user can mute (e.g.) the vocals or the drums, allowing him to focus on (e.g.) the guitar.

So what's going wrong, is that the audio files are not playing in sync. They are all pre-loaded so any delay between files shouldn't be sought in the files not being fully loaded yet. For initiating playback in the application, I'm using a simple function with a for loop in it, which sets each instance of my sound class to start playing at position 0 of its timeline (I've added in highlighting for all of the "code" blocks in my post, to keep everything easy to read through):

Code:
function playSounds():void {
for (var iCnt:Number = 0; iCnt < aSound.length; iCnt++) {
// Start playback for each sound, at the time position set in the

[code]....

Seeing as this didn't work, I have no clue what I could give a shot next... so if anyone has any ideas or suggestions, it would be greatly appreciated! Something else I noticed, was that if I run the application on very fast PCs, the MP3s are almost always in sync, but the PC that I'm developing on isn't that sluggish either and they hardly ever run in sync on it - so it will form a problem for pretty much all of the people who will use the application.

View 1 Replies

Actionscript 3 :: Syncing Frames To Audio And Channel.position Acuracy?

May 30, 2009

Calling channel.position on an ENTER_FRAME event, I notice that it's not being updated every frame, but it looks more like every frame and a half.

var sound:Sound = new Sound(new URLRequest('music.mp3'));
var channel:SoundChannel = sound.play(); // assume the sound is completely,
// totally, 100% loaded

[code]....

View 1 Replies

Syncing Multiple Flash Swf's Fullscreened For A 5760px X 1080px Video Wall

Sep 27, 2010

I've got a bit of a niche problem, in that I was tasked with making an animation for a 5760px X 1080px video wall. I tossed with the idea of doing a video in after effects instead but then decided the resulting file would be too large and encumbersome so I decided to pursue my other idea which was through flash. Now as you all probably know, maximum dimension for flash is half of what i need, 2880. So i made a half size mock up, got it approved and basically translated that into x3 1920x1080 fla's each containing a 3rd of the total animation, all synced for each other.

Now I need to figure out the best means of playing them together synced fullscreened on the video wall, which has just gone up. We are going to have a content management system that most likely will be able to sync the files but I'd really like the swf's to be able to sync without any help just incase sorta thing.

View 1 Replies

Actionscript 3 :: Flash Builder Ignores Output Folder When Syncing With SVN Repository

Nov 19, 2010

I am having a lot of trouble while syncing my Flash Builder Actionscript project with Subversion. I have read that the output folders bin, bin-debug and html-template should not be checked in to the repository. The project bin folder contains a lot of XML files and assets that other project members needs to access. The problem is that Flash builder ignores it.

Is there a way of setting up Flash Builder to override the ignored bin folder? If not, what other approach should I consider? Different folder structures?

/src (commited)
/bin (ignored)
/swc (commited)

I would really like to override the default "DO NOT COMMIT YOUR DEPLOY FOLDER" setting. Bounty it is.

View 5 Replies

CS3 Sound On/Off Button In Movieclip?

Nov 17, 2009

I'm trying to make a button that when clicked executes a sound clip and plays all the way through. Also, if the button is clicked while the sound is still playing the sound needs to stop. They have me first place this code in the first frame:

my_sound = new Sound();
my_sound.attachSound("bubble_01sound");
play();

Next I create two buttons, an on and an off which are placed separately in the second and third frames respectively. Code is applied directly to the buttons.

The on button:

on (release) {
_root.my_sound.start(0,1000);
_root.gotoAndStop("stop");

[code]...

Finally, I name the 2nd frame "play" and 3rd frame "stop" and add stop(); to both frames. Oh I also set up the linkage so that the sound's identifier is "bubble_01sound".

This is all well and good however, here's the rub. Unlike their example which takes place in the main timeline, my button needs to bob up and down. So I put everything from the tutorial in a movieclip and on the main timeline animate the movieclip as I like. When this plays the button does not play sound. I took this as the initial sound code not being activated because its in the movieclip. If I take the sound code out of the movieclip and place it in the first frame of the main timeline, the button does play sound but the stop function does not work. I can keep clicking the button which repeats the sound on top of the already playing sound.

So it seems to me there are three options. One, I need to find a way for the sound code to be activated when its seated in the movieclip. Or two, with the sound code in the main timeline, I need a way for the on/off buttons to reference the code which is one level up in the main timeline. Or the third option would be that I'm completely wrong... I'd put my money on the third option.

View 3 Replies

Actionscript 3 :: Sound Latency - Set It For Any Silence Before The Actual Sound By Calling The Sound

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

Flash :: Use A Sound Channel On A Movieclip?

Apr 1, 2011

The only way i can describe this is showing the code I have already then trying to explain what i want to do.Basically, I am creating a soundboard game, where at the bottom of the screen I will have a bar which is a movieclip, and I will be dragging other movieclips onto it and then clicking pay, and using an array and .push they will play in order. I am trying to put the sounds onto the movieclips using code.[code]...

View 2 Replies

Actionscript 3 :: Duplicate Movieclip And Sound On-off

Aug 2, 2011

[code]...

how to use that code in flash as3 coding and please give me some example or link, how to create duplicate movieclip in as3 ? how to play/pouse one particular sound in flash as3 ?

View 1 Replies

ActionScript 2.0 :: Adding Sound To A Movieclip?

Mar 3, 2011

i wan't to make a game where the character jumps when i press a key, but i also wan't to play a "jump" sound when the player press the "jump" key. I tried to use this:

ActionScript Code:
onClipEvent(enterFrame) {
if (Key.isDown(Key.SPACE)) {
kirupaSound = new Sound(this);

[Code].....

But it didn't work very well. When i pressed the "space" key it played the sound like 20 times untill it stopped.. It just continued to play the sound. Preview:megaswf(.)com/serve/1031811

View 8 Replies







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