The Number object can have a property, which a regular number can't. I
don't know if it is useful, though.
var myVar = new Number(1);
trace(myVar); // Output: 1
myVar.prop = "my property";
trace(myVar.prop); // Output: my property
_____
Morten Barklund Shockwaved wrote:
Using new Number is... silly. The Number-object is quite useless and
can't be used for anything, that a regular number can't. Use normal
numbers and use numbers:
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders