Would this be a correct use of parseInt?
parseInt (_root.first)
Yes, but it's usually a best idea to pass the number base as a parameter -
in this case, 10 for decimal
var xx = parseInt (_root.first, 10);
If you don't, it will still work, but if you have some number with trailing
zeros like "071" on the string it'll think they're octal numbers (on this
example, converting it to 57 instead of yhe expected 71).
- zeh
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders