Properties not locking in

Mark Swindell mdswindell at cruzio.com
Sat Jan 13 13:01:26 EST 2007


Would a simple lock/unlock screen solution work?

Mark

On Jan 13, 2007, at 6:49 AM, Brad Sampson wrote:

> On a project I'm currently working on, I have a script that sets the
> fileName of a player, then runs some script that resizes the player
> for optimal quality.  However, the formattedHeight and formattedWidth
> of the player don't appear to be "locked in" when it trys to set them.
> They both appear as 0 for a very short time directly after setting
> the fileName.  This is a problem, because it trys to resize my player
> to 0x0 pixels, which reverts back to 1x1.  Is there any way to fix
> this problem?  I tried wait (until the formattedWidth of player
> "Output")>0, but it just freezes up my stack and you can't
> apple+period out of it.
> Thanks!
> Brad
> CMSEC
> _______________________________________________
> 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