LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-02-2005, 10:16 PM
Asai Asai is offline
Registered User
 
Join Date: Oct 2005
Posts: 22
Rep Power: 0
Asai is on a distinguished road
Syncing Audio exactly in Flash 8

Alright, here's a difficult one (for me anyway),
I'm trying to sync up audio and movieclips. When the audio reaches a certain point, I want it to trigger a movie clip, and so on. I've had some moderate success using the new AS 2 easing class, which is nice. What I'd really like to do is use something like this:

Actionscript:
onClipEvent(enterFrame){
if (mySound.position/1000 >= 1.95){
        import mx.transitions.easing.*;
        import mx.transitions.Tween;
        new Tween(ball,"_y", Strong.easeOut, 100, 0,1, true);
    }
}

But that doesn't work. It seems that the tween will work outside of an if statement, just alone in a frame, but not in any 'on' handler, or within a callback function.
What I've had to do is drag out the audio track in the timeline, and then time the actions in keyframes spread out along the audio track, but this doesn't seem to be reliable in exact syncronization, because it's a little different every time I play the .swf file. Basicall I'm not satisfied with this method. Any pointers? Thanks!

Last edited by Scottae : 12-03-2005 at 06:28 PM Reason: Format with AS tags
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The History of Flash theUKdude Members Cafe 29 01-24-2013 08:24 AM
Audio syncing shaz07 Newbies 1 10-01-2007 01:45 AM
Flash Coder needed for Flash Audio Project Aen Work/Job Opportunities 0 08-13-2006 08:52 AM
Can you record and upload audio in a Flash Application? ready29003 Newbies 0 05-14-2005 02:16 AM
+++ Flash Studio PRO v2 +++ Gambini New Softwares 0 03-30-2004 05:24 PM




All times are GMT. The time now is 04:20 AM.