Properties not locking in

2007-01-13 Thread Brad Sampson
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

Re: Properties not locking in

2007-01-13 Thread Mark Swindell
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

Re: Properties not locking in

2007-01-13 Thread sims
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

Re: Properties not locking in

2007-01-13 Thread J. Landman Gay
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.

Re: Properties not locking in

2007-01-13 Thread Mark Smith
You could simply put a fixed wait in, say 10 or 20 millisecs (not enough fro the user to notice, but enough for the player to sort itself out, you'll have to experiment to see what works well), or do a send in time that keeps going until the player is ready: on checkPlayer wait 10