Waiting until a player is loaded

J. Landman Gay jacque at hyperactivesw.com
Sun Oct 1 01:42:52 EDT 2006

Dar Scott wrote:
 > On Sep 30, 2006, at 8:05 PM, J. Landman Gay wrote:
 >> However, if I let the loop run at its natural speed, I get a bunch of
 >> blank snapshots, either because the content isn't fully loaded before
 >> the script continues, or because the screen isn't refreshing (I can't
 >> tell which.) I need a way to force the loop to wait until the player
 >> is fully loaded, and also something that will refresh the screen so
 >> that a snapshot has something to take a picture of.
 > Just wild ideas that might have to be combined with other things:  You
 > can try a wait.  You can change the loop to a send cycle.  You can do
 > something that directly depends on the content being loaded.

Tried all varieties of "wait" but they didn't work. I'd thought of doing 
a "send" cycle but was hoping not to have to rewrite if anyone can think 
of anything else. Might have to do it though.

I also tried to set the currentTime of the movie to the duration, which 
would force it to load in its entirety. Didn't work. That's one reason I 
think it may be more of a refresh problem than a loading problem.

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the use-livecode mailing list