Waiting until a player is loaded

Mark Smith mark at maseurope.net
Sun Oct 1 07:54:22 EDT 2006


Would  making something else happen in the loop force the screen to  
refresh? Perhaps setting and un-setting the hilite of a button or  
something.

Best,

Mark

On 1 Oct 2006, at 06:42, J. Landman Gay wrote:

> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list