concidering that we have no idea what you are setting those variables to,
and the the != works I would GUESS yes, it is a typing problem.

"5" != 5

Charles P.


On 2/4/06, dls <[EMAIL PROTECTED]> wrote:
>
> Don't know what's up, but the following if statement doesn't work...
> both variables trace to be 5.
> both values were loaded from an xml document and assigned variable names.
>
>
>
> if(_root.c7parent == _root.c3id){
>                       //do something
>
>                   }
>
> oddly, if I use the following code it works!!??? could this be some sort
> of data type problem?
>
> if(_root.c7parent != _root.c3id){
>                       //do something
>
>                   }
>
> Thanks in advance
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to