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
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
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
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.
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