Skip to main content
Participant
August 12, 2007
Answered

actionscripting cue point

  • August 12, 2007
  • 2 replies
  • 281 views
I have my cue points written in actionscript and they do work when i just needing something to happen within seconds. for instance:
var cuePt:Object = new Object();
cuePt.time = 10;
cuePt.name = "end";
cuePt.type = "actionscript";

at 10 seconds my event is happening.

However, i have a video and the end of it is at 10 minutes and 56 seconds. how would i write this? i have looked online and in the help files and have tried various means for writting it. i have even switched to milliseconds. this looked like this:
cuePt.time = 654000;

unfortunately, when it reached the end, the action did not take place (and by the way this time is a couple seconds prior to the end just so i would know the video was reaching the time specified.

can someone help me write 10 minutes and 56 seconds correctly?

thanks!

sarah
This topic has been closed for replies.
Correct answer Rothrock
If a cuepoint of 10 happens at 10 seconds then cuepoints must be in seconds. Well that and the documentation says that cuepoints are in seconds.

10 min x 60 sec/min + 56 sec = 656

2 replies

RothrockCorrect answer
Inspiring
August 12, 2007
If a cuepoint of 10 happens at 10 seconds then cuepoints must be in seconds. Well that and the documentation says that cuepoints are in seconds.

10 min x 60 sec/min + 56 sec = 656
Participant
August 12, 2007
Oh. Thanks so much for your help!

Sarah
Inspiring
August 12, 2007
656
Participant
August 12, 2007
You are wonderful!

Can you tell me how you got to 656?

Thanks again!

Sarah