Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    21
    Member #
    22718
    Hey guys

    I am currently doing a project for a 'Vote Age Checker' it's working in player 7 but not in and higher player. i have attached the FLA and the following is my AC code on frame. Any help would be great. Thanks Guys


    stop();

    var msgOutput = "";

    chkBtn.onRelease = function (){
    retireAgeCheck(nameTxt, ageNum);
    gotoAndPlay(2);
    };

    function retireAgeCheck(nameTxt:String, ageNum:Number) {
    var voteAge:Number = 18;

    if (ageNum >= voteAge) {
    msgOutput = "Hello "+nameTxt+" . "+" You are "+ageNum+" which means you are eligible for voting.";
    } else {
    msgOutput = "Hello "+nameTxt+" . "+" You are "+ageNum+" which means you are INELIGIBLE for voting.";
    }

    }

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:30 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com