macromedia.director.lingo
[Top] [All Lists]

Re: Tracking audio clips

Subject: Re: Tracking audio clips
From: Mike Blaustein <mblaustein@xxxxxxxxx>
Date: Tue, 22 Jul 2008 08:52:29 -0400
Newsgroups: macromedia.director.lingo


By the way, you also may not want to be checking that the elapsedTime is EXACTLY 5000, since the polling is not really frame specific... It may jump from 4990 on one frame to 5002 on the next. It is usually best to give it a range, like this:

 on exitFrame me
   if sound(1).elapsedTime >= 5000 then
     go to the frame +1
   else
     go to the frame
   end if
 end

<Prev in Thread] Current Thread [Next in Thread>