-
ask me one on fish..not flash
true or false?
hi guys,
i am trying to "trap" the value of a checkbox. (true or false)
i know the value is changing, as i have used the debugger and it works fine, i.e. it changes the value as it should.
i now want to use that value to validate a form. here is my code for the submit button
----------------------------------------------
on (release) {
if (termsread != "true") {
gotoAndPlay("tickerror");
stop();
} else {
gotoAndPlay("truetest");
}
}
----------------------------------------------
termsread is changing from true to false correctly. but it always goes to the tickerror frame and never to the truetest frame!!
any ideas?
gary
I bought a Ouija board. The pointer spelled out 'You don't actually believe in this crap, do you
-
I would test against the bool true instead of the string "true".
if (termsread != true) {
....
/Mirandir
-
ask me one on fish..not flash
see, its always the simple things that stop us eh!
many thanx mirandir
gary
I bought a Ouija board. The pointer spelled out 'You don't actually believe in this crap, do you
-
Yeah I know the feeling! It's really easy to get "homeblind", not seeing those easy bugs sitting right under your nose with a neon-sign on them.
And You waqn't to blow your head of if some non-programmer comes around and spots the problem in two secs!
/Mirandir
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|