Quiz next button function?

Hi, I'm creating an "educational tool" about geography, its essentially a quiz, i show 3 pictures relating to a particular continent and they enter what they think the answer is in the text box, then it tells them if their correct or not,
what im looking for is a way to move on to the next question, and how I do it, im a novice in flash so go easy on me haha.
this is all the script i have so far:
australiaTxt.addEventListener(Event.CHANGE, testAustraliaText);
function testAustraliaText(evt:Event):void {
    var answer:String = "Australia";    
    if(australiaTxt.text == answer.substr(0,australiaTxt.length)){
        resultTxt2.text = "Come on you can do it!";
        if(australiaTxt.length == answer.length){
            resultTxt2.text = "That's correct!!";
    } else {
        resultTxt2.text = "Wrong :(";
so the answer to this was australia, the next question answer will be asia
oh and im using AS3 on CS4
thankyou!

I havent created it yet, I didnt know how it would affect any future actionscripting, I figured I would just be able to change the answer box to recieve different answers, but im honestly not sure how to go about it.

Similar Messages

  • Additional Next Button Functionality

    I would like to see some additional next button functionality.
    For example when I am in Residential Products and Services I will read each of the sections.  if I am in Fios Internet and which to go FIOS TV Programming I wish there was a next button that would take me to Fios TV Programming (which is the next topic) instead of having to go back to Residental products and services and then choose Fios TV programming.  I read each section so having that next button functionality would help moving around here a bit quicker.
    Jim
    Solved!
    Go to Solution.

    Jim,
    Thanks for your suggestion. Have you tried using the "Go To" menu, which is just beside the board search button? It allows you to jump to another board fairly easily.
    Not exactly what you ask for, but maybe it will help in the interim?
    Becky

  • Quiz next button not working

    I am using the quiz template.
    I changed the text "Scene 1" to "Test."
    I then added 3 more scenes. "Home" "Objectives", and
    "Keywords." These last two scenes are only linked from the Home
    screen. The home screen also has a "begin test" button that goes to
    the "Test" scene to start the quiz.
    When I get to the "Test" scene, and click the next button to
    start the quiz it sends me to the "Objectives" scene (the second
    scene in the list of scenes.)....it goes Home, Objectives,
    Keywords, Test in order.
    If i change the "Test" scene to the be second scene in the
    list....so it goes Home, Test, Objectives, Keywords in order. When
    i click the next button on the Test scene it does nothing. It shows
    the number 2/10 and the button goes away.
    How can i fix this. i am scratching my head trying to figure
    this out and get my quiz to work for my company.
    Thanks.

    Hello,
    Welcome to Adobe Forums.
    Need more information about this issue :
    1) Does it happen on a specific project or with a sample project as well (2 or 3 question slides) ?
    2) Which iPAD are you using and what is the iOS version ?
    Make sure you have CP 7.0.1 update installed (Launch CP7 -> Click on Help -> About Captivate)
    Thanks,
    Vikram
    Adoeb Support

  • Find Next button is not working in member selection for Smartview V11.1.2.1

    Hello,
    Quite urgent.
    When group of users select Smartview --> Member Selection --> "FindNext" or "Find" button is not working.
    The same option is working fine with my credentials. But problem exists for set of 3 users.
    Please suggest asap.
    Thanks in Advance,
    Tej

    Hi Iain,
    Thanks for your reply.
    * All 3 users are part of same group.
    * Created user with similar group and checked for member selection option to verify "Find Next" button functionality. It worked fine.
    * Verified filters assigned to this group. No filters are assigned.
    * Checked for version again - Version is V11.1.2.1.00 (Build 271). It is exactly same as other systems where the functionality is working fine.
    * Installation is carried out by company IT team as administrator, so that can not be an issue.
    kindly suggest if you have any other inputs to be verified.
    Best Regards,
    Tej

  • Remote NEXT button nonfunctional in chapter play list?

    I have a submenu where individual chapters can be played. I put each chapter in its own chapter playlist so I can set the desired end-action. This works just fine except that the NEXT button on the remote control for the DVD player does not bring me to the end of the chapter as I would expect. The PREV button does bring me back to the beginning of the chapter, so it's not a case of all buttons being ignored. Perhaps this is "just the way it is" since I've found nothing either pro or con about the subject. Is there a way to make the NEXT button functional when playing a single-chapter CPL?

    Thanks Jeff and jbowden, I appreciate your speedy feedback. The Playlist idea won't work for me because most of my chapters in my CPL's are not technically last-chapters where the "magic hidden last chapter" feature would apply. Jeff's suggesstion that this is expected behavior seems to jibe with what I'm seeing. I guess I could have a short (1 or 2 second) timeline with nothing in it; then include this as a second chapter in any CPL where I really want the NEXT button on the remote to work. One last thing...in preview mode clicking the NEXT icon does execute the end-action immediately, which made me presume it would do so on a real DVD player as well.

  • How to make next and previous button function

    Hello
    Can anybody help me with how to achieve next and previous button function such as the one at www.bestbuy.com?
    I would appreciate any help or suggestion.
    Thank you!

    if you're not familiar with flash it might be easiest to place your initial "page" in frame 1, the 2nd (or next) page in frame 2, the 3rd/next page in frame 3 etc.
    place your previous and next buttons in their own layer that spans the main timeline (which will have as many frames as you have "pages").  give them instance names (say prevBtn and nextBtn).
    you can then use the following code placed in frame 1:
    var tl:MovieClip=this
    prevBtn.onRelease=function(){
    tl.prevFrame();
    nextBtn.onRelease=function(){
    tl.nextFrame();

  • Next button in Review Quiz not working in HTML5.

    Hey folks,
    We've created a course in CP7 and when I take the course on a Computer (SWF) everthing works fine, but when I take the course on an iPad (HTML5), and go into the Review Quiz section, the Next button is not working. When I click it you can see the click animation of the button being pressed, but it doesn't progress to the next question. I'm forced to close the window as there is no other navigational options, but when I do that and re-open the course, it takes me back to the beginning of the course like I haven't even attempted the course.
    I've searched for a previous instance of this and I couldn't find anything, so I was hoping someone has either run into this issue before or might have a suggestion on how to resolve it. Any help would be much appreciated.

    Hello,
    Welcome to Adobe Forums.
    Need more information about this issue :
    1) Does it happen on a specific project or with a sample project as well (2 or 3 question slides) ?
    2) Which iPAD are you using and what is the iOS version ?
    Make sure you have CP 7.0.1 update installed (Launch CP7 -> Click on Help -> About Captivate)
    Thanks,
    Vikram
    Adoeb Support

  • Next button only for quiz review

    I searched, with no luck, for a way to only have the "next" button visible on quiz reviews.  I would like it hidden during the quiz, becuase I don't want back or skipping possible.  Also, hiding the playbar in the skin. 
    Thanks,
    Brian

    Jabir, why should you create an advanced action from that shared action? It will be always the same action that is applied, no need to create a shared action IMO? At least if you time that shape button for the rest of the project. If you want a shape button on each slide, the shared action has sense, because you have one parameter: the shape button. And in that case there is no need at all to create an advanced action from that shared action, just apply that shared action directly to the On Enter event of each question slide. It has the advantage over advanced actions that you don't have to create multiple advanced actions each with a different label, and seems also not to increment the filesize in the same way.
    And moreover I think you should post a correct action: the system variable is not CpQuizReview mode but: cpInReviewMode and since it is a toggle, the possible values are 1 or 0, not 'one'. Above the preview of such an action.

  • Quiz Skip Button Jump to Another Slide that is not Next slide.

    Is it possible to make the Quiz Skip button jump to another slide besides the next slide? I'm using Captivate 7.
    Basically, I want the quiz slide to exit to another slide that is not the next slide.

    Branch aware is a totally different thing: it makes the quizzing variables dynamically adapting to the questions that are taken by the trainee.
    You are talking about the Skip button, which is puzzling because that button label was changed to Next since version 6. And Branch aware only appeared in 6. Which version are you using? You are talking about shapes so it must be 6 or later.
    Another question: do you allow Review? Because in that case you'll need that Next (Skip) button. http://blog.lilybiri.com/question-question-slides-in-captivate
    You are talking about a 'custom Skip button'? Can you explain, and also what you mean by the rollover shape? If you have a custom button it should be visible on the timeline of the slide, contrary to the default objects on question slides that are embedded and have no separate timeline. Or was the question master slide edited to add a rollover shape to the default Next button?
    Lilybiri

  • The "Next" button is grayed out on quiz slides when running in HTML 5 Chrome browser and iPad

    Hi,
    Has anyone run into this problem for Captivate 8? The "Next" button is grayed out on quiz slides when running in HTML 5 Chrome browser and iPad. The Next button shows in IE/Flash mode.
    Thanks in advance for providing your help!
    Zhuoran.

    Thank you Rod.... I changed the option to "Required - User must take the quiz to continue." Now the next is working .
    Thank you for pointing the right direction. But one quick question.. will the above setting affect my assessment? I have set the pass percentage to 100%...
    My next question - I have a open course menu (TOC). If the learner clicks the Knowledge check page, the knowledge check page is visible, but if you click any other page from knowledge check, it is not going...... by default, it takes to the next page. From that page, you can click any other page... IS this also related to the above option .. pls let me know..

  • Adding a functionality to the next button

    Hi,
    In SSHR pages, i need to add a message to display when a next button is pressed in a seeded page.
    But am unable to find the functionality in the CO's for the next button so that i can modify it.
    There are functionalities written for back, saveforlater but not for Next button.
    Can somebody explain me?
    Thnaks a lot

    When the user selects a value from the poplist and moves to thenext page that is pushed to the vo and will be retained when the user navigates back and the AM is retained in all these navigation.
    I donot understand what you are trying to achieve, the user is still in the same transaction and the value selected by him in one step of the transaction is going to be retained through out the transaction. Why do you want the value to be blank again when he uses the back navigation button.
    You can still achieve that by programmatically resetting the value in PR of the page, but I donot understand what you are trying to achieve by doing that.

  • Next & Prev Button functions from an array

    Help. I'm new to actionscript and am trying to do something
    simple like use a 2 frame HTML page with navigation in top (Flash
    obj) and plain html stuff in the bottom or main frame.
    I declared these global var...
    //global
    var lssnPages = new Array('lssn_01.htm', 'lssn_02.htm',
    'lssn_03.htm', 'lssn_04.htm', 'lssn_05.htm',
    'lssn_06.htm','lssn_07.htm', 'lssn_08.htm',
    'lssn_09.htm','lssn_10.htm', 'lssn_11.htm',
    'lssn_12.htm','lssn_13.htm', 'lssn_14.htm');
    var curPtr = 0;
    var lastPtr = lssnPages.length -1
    Then in the next button hit state used this code to make it
    functional:
    //Button
    on (release) {
    function NextPage ()
    if (curPtr < lastPtr) { // don't go to last page
    curPtr++;
    getURL("lssnPages[curPtr]", "Main");
    if (curPtr = lastPtr) { //disable Next button
    Even though I get no errors, this doesn't seem to work. It
    should???
    I'm stumped. Does the Flash AS have to call something on the
    html page, like the fscommands?
    Help, please!
    RGR

    And:
    getURL("lssnPages[curPtr]", "Main");
    should be:
    getURL(lssnPages[curPtr], "Main");
    otherwise Flash has the browser looking for a file called:
    lssnPages[curPtr] instead of the file at the requested index.
    kglad wrote:
    > no, it shouldn't work.
    >
    > if that's a true button, the button is on the same
    timeline as your array
    > definition and that code is attached to your button
    that's on that timeline,
    > you should eliminate the
    >
    > function NextPage()
    > {
    >
    > and remove that functions terminal
    >
    > }
    >
    Manno Bult
    http://www.aloft.nl

  • Quiz slide next button...two clicks?

    Okay.  Having a weird issue I'm not sure if it's universal or fixable or what.  Have you guys experienced this?
    On my quiz slides, there's a little bit of a hitch between selecting the correct answer and progressing to the next slide.  You get the success caption "good job, hit next to continue."  The hitch is that it actually takes two clicks to progress to the next quiz slide.  The first click clears the success caption, the second click actually progresses the slide.  Is there a reason I'm having to click twice?  Is this a universal oddity?  Can I fix it so that the success caption clears and the slide progresses with just one click?
    Thanks in advance,
    Eric

    Here are screenshots of the timeline and quiz properties panel.  I have the pause moved over and the On Success set to go to next slide...  I'm still getting the double click hitch.  Note:  The grouped smartshapes are actually custom navigation buttons.  I'm not using the next button generated by captivate.  Could that be the issue?  I didn't think it was the cause because we had the same problem with the automatically generated buttons as well.

  • How to remove the NEXT button on the Quiz Results?

    I can't find a way to get rid of the NEXT button on the Quiz
    Results page - I want the results emailed, but if they click NEXT,
    it hoses the email process.

    Nevermind. Apparently, this is a "feature" that can't be
    turned off.

  • Adding functionality to Next button

    Hi,
    I am inplementing a train with 3 pages. While navigating from page 2 to page 3. I need to fire a server side API. I am having difficulty in distinguishing the "Next" and "Back" buttons since both buttons raised the "goto" event. As a result my validation fires on both Next and Back button. How can I distinguish the Next button from Back button, or how can I work around it.
    Thnaks a lot

    I figured it out. It seeme like the framework is maintaing a parameter name "value" which contain the target page. Here is how it work for me..
    if (("goto".equals(pageContext.getParameter(EVENT_PARAM))) &&
    ("3".equals(pageContext.getParameter("value"))))

Maybe you are looking for

  • PC Suite 6.86.9.0 ate 2.2GB of PC memory

    Just installed new version of PC Suite (XP SP2) - everythign worked fine until I used the XP facility to switch to a different users (leaving the first user logged in). When I did this, the PC then started a mega disc thrash and became unusable. I le

  • HT4623 How do I add a ringtone to my iPhone without synching to all of iTunes

    How do I add a ringtone to my iPhone without synching to all of iTunes? I have an enormous music library and do not want to add music to my phone. I checked the handle manually button, but it says it's going to erase everything on phone!? I cannot dr

  • Using currentTarget.label as variable in path?

    I have the following code: <s:FormItem label="First" click="onItemFocus(event)">       <s:TextInput id="First" enabled="false" text="some text here..."/> </s:FormItem> Which when you click the FormItem it fires this function: protected function onIte

  • Possible to retrieve an '09 blog published on iWeb/MobileMe?

    Argh. I published my family's travel blog a few years back using MobileMe (web.me.com/shwang), and stupidly forgot about it during the MobileMe/iCloud transition.  Is there any way to retrieve the blog's contents, with or without comments?

  • Creating a 4-4-5 Time Period table

    Hello: Very soon my company will be moving to a 4-4-5 reporting schedule.  Basically, what this means is that the first month of the quarter will have 4 weeks, the second will have 4 weeks, and the third will have 5 weeks.  Therefore, for the 2007 th