Question
loadVariables Method for logged in state
Hello. I'm trying to recognize a login state using cfm which
I've done successfully. When I'm not logged in I get the result of
NO and when I am logged in I'm getting the result of
YES in my dynamic fields and using an external CFM file.
Then next thing I want to do is jump to a specific frame or a
different scene based on that result. I found a great tutorial at
http://tutorial26.easycfm.com/
but that doesn't really accomplish what I want to do with the
ActionScript they have in place e.g.
if (loaded==1) {
gotoAndPlay(4);
} else {
gotoAndPlay(2);
}
Would it be as simple as just updating the ActionScript to something like:
if (loaded==YES) {
gotoAndPlay(4);
} else {
gotoAndPlay(2);
}
Any help is appreciated.
Many thanks,
Kjup
if (loaded==1) {
gotoAndPlay(4);
} else {
gotoAndPlay(2);
}
Would it be as simple as just updating the ActionScript to something like:
if (loaded==YES) {
gotoAndPlay(4);
} else {
gotoAndPlay(2);
}
Any help is appreciated.
Many thanks,
Kjup