Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.

Back

1019 - How can I play a movie after a half second pause?

by - Joseph Ganci


I have used the following code to display movies again after they have been deleted:

repeat with i := 1 to 4
DisplayIconNoErase(IconID@ValueAtIndex(MenuMovie, i))
end repeat

However, the movies start playing at the same time. Does anyone know how I can adapt the script to incorporate a .5 sec wait until the next movie starts?


Try this:

repeat with i := 1 to 4
DisplayIconNoErase(@MenuMovie[i])
SyncPoint(0)
SyncWait(0.5)
end repeat

I took the liberty of shortening the syntax in your function call as well, to show you an alternative approach. Also, you don't need the IconID term, just the @.


There are 0 reviews
Add your review
Back