Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DIRECTOR:HomeDirector ForumTagMotion Graphics

Re: How to: When QTime Movie stops jump to marker?

COW Forums : Adobe Director

VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Brodd NessetRe: How to: When QTime Movie stops jump to marker?
by on Sep 4, 2007 at 7:22:55 pm

Bouke was on to something in his suggestion, but you could try and reduce the number after the minus sign, i.e

vD = member("myVideo").duration
if sprite(2).movieTime > vD -5 then
go "somewhere"

Note that you should NOT use movieTime = duration, as very often the movie will stop just short of its full length (I can explain if you like, but...). With the minus number you make a little cushion there at the end, but if you make it too large, you will indeed see it jump too early.

As for your other questions:

In Director you need only one frame actually, for any movie in any length. Five to ten frames is more common, simply becauce the Score looks tidier.

There's nothing wrong with having your scirpt within the on ExitFrame handler, but it is concidered good practice to have the main block of the scripting inside the on enterFrame handler instead, with only the go to the frame command inside on exitFrame. It's tidy too, but the real reason is that Director allocates a little more time to the on enterFrame handler, so at least long and complex frame scriptiong should definetly be placed there.


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]