Properties not locking in

sims sims at ezpzapps.com
Sat Jan 13 13:29:28 EST 2007


>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


Maybe fiddling with the alwaysBuffer might help?

sims



More information about the use-livecode mailing list