Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE FLASH:HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: Quiz

COW Forums : Adobe Flash

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Mike SmithRe: Quiz
by on Nov 8, 2011 at 3:18:08 pm

Is the path to the variable right ... is it this.answer1 and not some other path to the variable ...?

You could try a trace to see what's in your variable: something like

on(release)
{
if(this.answer1 == "symmetrical" || this.answer1 == "asymmetrical" || this.answer1 == "Skip-Pass"){
gotoAndStop("Q2");
}else{
trace(this.answer1) ;
gotoAndStop("Lose1");
}
}

ps are you stripping out slashes, non-text characters for security before processing your user input ...?


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:
  • Quiz by Kyandra Letts on Nov 7, 2011 at 3:42:14 am
    • Re: Quiz by Pieter Helsen on Nov 7, 2011 at 10:33:13 am
      • Re: Quiz by Kyandra Letts on Nov 8, 2011 at 10:42:47 am
        • Re: Quiz by Mike Smith on Nov 8, 2011 at 3:18:08 pm
          • Re: Quiz by Kyandra Letts on Nov 9, 2011 at 11:32:03 am
            • Re: Quiz by Pieter Helsen on Nov 9, 2011 at 12:35:27 pm
              • Re: Quiz by Mike Smith on Nov 11, 2011 at 5:50:27 pm
                • Re: Quiz by Mike Smith on Nov 12, 2011 at 10:23:38 am
                  • Re: Quiz by Graham Quince on Nov 13, 2011 at 3:48:10 pm
                    • Re: Quiz by Kyandra Letts on Nov 17, 2011 at 3:23:29 am




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]