View Full Version : timing a project
09-05-2002, 06:24 AM
I have AMS3 and am looking into AMS4 before buying it.
The application.sleep command behaves as a "wait" command. At the same time, you can have aFlash or other media playing, the "sleep" tells AMS not to allow any interaction (buttons etc..) till after the sleeping period.
I would like not to have to calculate the time upfront, but be able to give a command saying: "when objects have finished playing, wait 5 seconds, then go to next page (for example)".
Is there any (simple) way of doing that?
09-05-2002, 12:46 PM
Depends on the object. For a video or MP3, it's easy...just add your actions to the "On Video Finish", "On End of Stream" or "On Song End" event.
For a Flash animation, use actionscript in the flash file to perform some arbitrary FSCommand, and use an IF statement to watch for that FSCommand in the flash object's "On FSCommand" event.
09-05-2002, 01:08 PM
Lorne, what would be really great is a page properties command that could be set for Wait. I mean no matter what was happening on the page at the time, the thing just jumps automatically after a specified period of seconds. Really a simple thing to add, I would think, and sorely needed. There is already the splash screen option at the head of the project.
There are certain cases where you might want a user to interact within a time limit.
09-05-2002, 01:18 PM
Yeah, that would be useful.
<funky workaround alert>
You could actually achieve that behaviour now by playing an MP3 (even a silent short one if you like) and using the "On Progress" event as a timer... /ubbthreads/images/icons/smile.gif
</funky workaround alert>
09-05-2002, 01:26 PM
Good idea for the new Auto Play web site: a funky workaround section, sorted by function. Great suggestion, Lorne. More that 1 way to skin a cat (sorry, Bobo) /ubbthreads/images/icons/wink.gif
09-05-2002, 01:29 PM
"Boo Boo" asked me to register his derision for that last statement...
Creative Director, Indigo Rose Software (http://www.indigorose.com)
09-05-2002, 01:39 PM
09-06-2002, 04:36 AM
Thanks Lorne, but still...what I am trying to emulate is a sequencial progression, like object_1 coming up, then object_2 etc.. (as there is no timeline in AMS). As it stands, ALL object start at the same time and depending on CPU power etc, they would end at different time. How can I control that, thus assuring that after object_i, the application sleeps for j seconds and then jumps to page_x?
Thanks again for your reply,
09-06-2002, 08:20 AM
How bout this???
I am using sleep on my intro for 5 seconds then it jumps to a menu, I have a "Skip Intro" button on the page that jumps to the menu. Well you know where this is going. How do you time the page and still have buttons active?
09-06-2002, 10:08 AM
Oh, yosik, that's easy. Just use the "Application - Sleep" action to insert a pause between the various show and hide actions.
Show object 1
pause for 1 second
hide object 1
pause for .5 seconds
show object 2
pause for 1 second
09-09-2002, 01:15 AM
Yes, easy. So easy, that I am banging my head for not having thought about it.
Powered by vBulletin™ Version 4.0.6 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.