|
From: andyulrika_is_back on 25 Jun 2008 04:48 Hi Can someone please tell me how to do the following... I want to play a Quicktime movie then have it jump to a frame when complete. Please see the attached code. Any help much appreciated. Andy -- I have used the following code for a flash member successfully in the past property theEnd on beginSprite me theEnd = sprite(me.spriteNum).member.frameCount end on enterFrame me if sprite(me.spriteNum)._currentframe >= theEnd then go to frame 15 end if end -- I then tried the following but the playhead jumps immediately to the frame 15 property theEnd on beginSprite me theEnd = sprite(me.spriteNum).movieTime end on enterFrame me if sprite(me.spriteNum).currentTime >= theEnd then go to frame 15 end if end
From: aldus on 25 Jun 2008 06:18 "movieTime" holds the current time of the (playing) qt-movie, "duration" the length of the movie itself. Regards Aldus property theEnd on beginSprite (me) me.theEnd = sprite(me.spriteNum).duration -1 end on enterFrame (me) if ( sprite(me.spriteNum).movietime >= me.theEnd) then go to frame 15 -- why not using a marker-name? end if end
From: andyulrika_is_back on 25 Jun 2008 06:29 Thanks Aldus, works perfectly. Yes, I should have used a marker name instead of a frame, thanks for pointing that out. Regards Andy
|
Pages: 1 Prev: Actual Tempo won't update... Next: Getting flv info from Director |