Skip to main content
Inspiring
May 7, 2008
Question

loadVariables Method for logged in state

  • May 7, 2008
  • 1 reply
  • 277 views
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
This topic has been closed for replies.

1 reply

KjupAuthor
Inspiring
May 8, 2008
Anyone have any ideas on this?