I've always been told parseInt() is better/more consistent to convert
numbers than Number()  - I've tried both and always had better results
with parseInt().

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Jon Bennett
>>Sent: Friday, October 20, 2006 10:08 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Re: Fuse kit: tweening xscale / yscale += not =
>>
>>> var intRegionX:Number           = new Number
(objRegionXml.attributes.X);
>>> var intRegionY:Number           = new Number
(objRegionXml.attributes.Y);
>>> var intRegionWidth:Number       = new Number
>>(objRegionXml.attributes.Width);
>>> var intRegionHeight:Number      = new Number
>>(objRegionXml.attributes.Height);
>>> var intRegionScale:Number       = new Number
(objRegionXml.attributes.Scale);
>>
>>the above wasn't quite right, didn't need the 'new'
>>
>>jb
>>
>>
>>--
>>
>>
>>jon bennett
>>t: +44 (0) 1225 341 039 w: http://www.jben.net/
>>iChat (AIM): jbendotnet Skype: jon-bennett
>>_______________________________________________
>>[email protected]
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to