> example
> _root.first  traces to show 5
>
> _root.second traces to show 5
>
> if (_root.first != _root.second) {
> do something
> };
>
> should fail, but seems to behave as if "true"
>
> I'm thinking it's a problem with referencing the xml object instead of a
> numerical value, but I'm at my wits end here.

You can also just use var a:Number = Number(b);

This is also slightly faster (IIRC) than parseInt.

-K
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to