Properties not locking in

Brad Sampson programmer711 at gmail.com
Sat Jan 13 09:49:25 EST 2007


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



More information about the use-livecode mailing list