This content has been marked as final. Show 3 replies
Alright I figured this one out by myself; figured I'd throw the answer out there incase someone else needs this functionality.
So in my Director movie the movie timeline stops on the Windows Media Cast Member. I have my Windows Media video displayed as only 2 frames, so the Main director timeline stops, but the Window Media Video keeps playing. (Thats why I couldn't just set a "go to the frame" action becuase my movie would have about 10,000 frames.
So anyway I put my Windows Media video on frame 9 and 10. On frame 10, I place some code to stop the director movie. Then I added this:
if sprite("YourSpriteName").currentTime > 40000 then
go to the frame
So it checks the currentTime property; once it gets to 40,000 milliseconds (40 seconds) it pauses the movie.
Hi there ,
Is there any way of adapting this code so that it is applicable to swf files, or a piece of lingo that would have the same effect on an swf file?
Yeah I know there's a similar method that would work with SWF's.
I believe its the exact same method, just different functions.
Instead of the currentTime function; use movieTime.
And instead of sprite("yourSpriteName").pause()
use movieRate = 0, which is how you pause QT and Flash.
if sprite("YourFlashSprite").movieTime > 1800 then
sprite("YourFlashSprite").movieRate = 0
The big difference is that currentTime is measured in milliseconds and movieTime is measured in ticks.
So 1 second =
So if you had a 30 seconds flash movie it would be 1800 ticks.