Re: [Flashcoders] >> Undefined value

2006-11-14 Thread slangeberg
'undefined' is not a string. Try: var reliure_var; if ( _global.pie_glo && _global.pie_glo != "" ) { reliure_var = "&reliure="+_global.pie_glo; var_glo.text = reliure_var; } else { reliure_var = ³²; var_glo.text = reliure_var; } On 11/14/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote: H

Re: [Flashcoders] >> Undefined value

2006-11-14 Thread Dave Mennenoh
!== is strict inequality, it tests for the exact opposite of the strict equality (===) operator. My bad... I guess I never use the strict operators... Sorry. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/

Re: [Flashcoders] >> Undefined value

2006-11-14 Thread Jake Prime
On 14/11/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote: var reliure_var; if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") { reliure_var = "&reliure="+_global.pie_glo; var_glo.text = reliure_var; } else { reliure_var = ³²; var_glo.text = reliure_var; } I can see two

RE: [Flashcoders] >> Undefined value

2006-11-14 Thread jim
] >> Undefined value You have an incorrect not equal: !== There's just one equal sign: != Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] >> Undefined value

2006-11-14 Thread Claus Wahlers
You have an incorrect not equal: !== There's just one equal sign: != !== strict inequality operator expression1 !== expression2 Tests for the exact opposite of the strict equality (===) operator. The strict inequality operator performs the same as the inequality operator except that data

Re: [Flashcoders] >> Undefined value

2006-11-14 Thread Dave Mennenoh
You have an incorrect not equal: !== There's just one equal sign: != Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription o

[Flashcoders] >> Undefined value

2006-11-14 Thread Laurent CUCHET
How can I do to send an empty var if there is nothing ? I always get ³&reliure=undefined² and I need an empty var Thank you very much var reliure_var; if (_global.pie_glo !== "" || _global.pie_glo !== "undefined") { reliure_var = "&reliure="+_global.pie_glo; var_glo.text = reliure_var; }