Use the isNumber function to check to make sure the contents of me is a number.

-Chipp

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Edwin Gore
> Sent: Friday, June 20, 2003 9:01 PM
> To: [EMAIL PROTECTED]
> Subject: Bug(?) setting the height of an image
> 
> 
> I've got an image, and it's width and height are supposed to be 
> controlled bhy entering numbers into two fields.
> 
> The fields location is locked.
> 
> the scipts in the two fields are:
> 
> on closefield
>   set the width of image "largeCDImage" of stack "aassist" to me
> end closefield
> 
> on closefield
>   set the height of image "largeCDImage" of stack "aassist" to me
> end closefield
> 
> If you enter 225 into each field, the first on works, and resizes 
> the image, while the second gives the following error message:
> 
>       executing at 4:53:53 PM
> Type  Object: can't set object property
> Object        Height
> Line  set the height of image "largeCDImage" of stack "aassist" to me
> Hint  225
> 
> What gives?
> 
> Edwin Gore
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to