Flash quiz game

Hi
I'm making a flash quiz game like instructed in this tutorial. http://www.tu-world.com/flash/flash_tutorial_08.php
After anwsering, it goes to the next frame, really simple. How is it possible that a anwser would be 50% correct?
Write actionscript for every button:
on (release){
gotoAndPlay("02");
For RIGHT answer write:
on (release){
gotoAndPlay("02");
score++;
Last frame AS percent=score/4*100 + "%";
Best regards
Ekri

Hei
The anwsers in my quiz are 50% correct (half a point) if he/she anwser a question that is close, but not tottaly correct.Or for example
How clean is your room?
I clean my room every day 100%
I clean my house once a week 50%
Never 0%

Similar Messages

  • [HELP] Online Multiplayer Quiz Game!

    Hi, I am wondering if it is possible to make online multiplayer quiz game.
    With that I mean over the LAN network.
    Like it use the bluetooth and you connect to it.
    Like the quiz is to answer 0-20 on german and when you click check it will send the answer to the other phone. Like if my mom have it and says whats wrong and right you know. It would be neat if you did help me!
    Thanks, Sander over here!
    In ActionScript 3 to Air for IOS.

    multiplayer games are for advanced programmers.
    the easiest way to start multiplayer gaming with flash is it use adobe's rtmfp peer-to-peer connections.  here's an excerpt from a book (Flash Game Development: In a Social, Mobile and 3D World) i wrote:
    Multiplayer Games
    With multiplayer games data needs to be communicated among the players.  When a player makes a move (changing the game state) the updated game state needs to be communicated to all the other players. In addition, that communication needs to occur in a timely manner. 
    With turn based games (like card games) that communication among players can take as long as few seconds without degrading the game experience. With real time games (like shooter games), even a 250 millisecond delay in communicating game state leads to a significantly degraded player experience. Consequently, real time multiplayer games require substantial expertise to successfully develop and deploy.
    There are two fundamentally different ways that communication among players can be accomplished. Players can communicate via a server (server based games) or they can communicate directly from player to player (peer-to-peer) games.
    Server Based Multiplayer Games
    Generally, the code in each player’s Flash game handles the player’s input, transmits player data to the server, receives other players' data and displays the game state. The server receives player data, validates the data, updates and maintains game state and transmits each player’s data to the other players.
    The code used on the server cannot be ActionScript so you will need to learn a server-side coding language like php or c#.  Server-side coding is beyond the scope of this book so I will not cover server based multiplayer games except to say you need to have advanced coding skills in, at least, two languages (ActionScript and a server-side language) to create these game types.
    Peer-to-peer games
    Since Flash player 10, you can create multiplayer games without the need of an intermediary server to facilitate player communication.  The Flash player can use a protocol (Adobe's Real-Time Media Flow Protocol) that allows direct peer-to-peer communication.
    Instead of using server-side code to handle the game logic and coordinate game state among players, each peer in the network handles their own game logic and game state and communicates that directly to their peers and each peer updates their game state based on the data received from others.
    To use peer-to-peer networking each peer must connect with an Adobe server.  Peer-to-peer communication does not go through that server (or it that would not be peer-to-peer) but peers must stay connected with the Adobe server in order to communicate with each other.
    To communicate with the Adobe server you should use your own server URL and developer key. That URL and key can be obtained at http://www.adobe.com/cfusion/entitlement/index.cfm?e=cirrus.

  • Flash as2 game animation, problem.

    hello i am making a flash animation game but i have a problem, i have my guy running and everything its all gifs, so when he stops its a gif its not one picture its 4 of em (gif) which i made them all compressed into a gif and added to my library then added that to my flash made it work blah blah blah-
    well my problem is when my guy runs left he turn right after i let go of the key i no whats it is doing it using my 1 animation i have in their for standing  i to add my other animation which he standing left basically he runs left after i press left then i let go he turns right, i need to know how to make it so either when i let go of the (LEFT) key it uses my animation ('still2') which is him facing left which i need i have him running right and he stays right after so thats good, or if u know if theres a way i can make the code say like after i let go of like left it uses gotoAndStop('still2') then for running right it uses gotoAndStop('still') so he dosent turn around after i let go of left! well i hope u can find out, and its all animated, so dont just make it so it dosent stop using the animation of left or right, cause then hes running in place for enternity thanks heres my code.
          var rollSpeed = Number=14;
         ichigo_mc.onEnterFrame = function() {
          if (Key.isDown(Key.RIGHT)) {
           this._x += rollSpeed;
           this.gotoAndStop("right");
          } else if (Key.isDown(Key.LEFT)) {
           this._x -= rollSpeed;
           this.gotoAndStop("left");
          } else {
           this.gotoAndStop("still");

    no its actually not a school project just i want to know how to make a game, and i dont know really anything about flash, but i have in my picture of my guy another layer so theres each indivudual layer like i have in my pic of my guy the still still2 running animation 1 n 2 and both my attack things, if you would to see my project so far ask me and i send the file and it should show my guy and his animations...
    heres my code so far.. idk y but i like putting at the end
       var rollSpeed = Number=14;
         var facingRight = true;
         ichigo_mc.onEnterFrame = function() {
          if (Key.isDown(Key.RIGHT)) {
           this._x += rollSpeed;
           this.gotoAndStop("right");
           facingRight = true;
          } else if (Key.isDown(Key.LEFT)) {
           this._x -= rollSpeed;
           this.gotoAndStop("left");
           facingRight = false;
       } else if (Key.isDown(Key.SPACE)) {
        this.gotoAndStop("atack2");
          } else {
           if (facingRight) {
             this.gotoAndStop("still");
           } else {
             this.gotoAndStop("still2");

  • How do I stop "delete cookies" from deleting saved games of a flash based game?

    I'm running Firefox 4 under Windows 7.
    I have it currently set to delete my history when I end the session, including cookies and temporary files. This is due to privacy concerns.
    However, I also have a (downloaded - not run online or via a browser) flash based game on my computer - which saves games as LSOs.
    Firefox therefore deletes my saved games when I exit.
    How can I address my privacy concerns and still play this game?

    I am having a problem where my flash game saves are deleting themselves on their own. I don't even have to clear browsing history, and I do not have any cleaning software installed. I have set storage to unlimited and that worked for a few days but I loaded a game this evening and my save file was gone and the storage had been reset to 100kB. I haven't touched anything, haven't deleted anything. It's infuriating.

  • Flash Quiz Template HELP Please!

    I created a quiz using the Flash Quiz Template and everything
    works fine. What I'm wondering is how do I make it so that it gives
    a different frame when the user fails and when the user passes.
    Please help. I am desperate here.
    Thank you very very much.

    hi,
    I need some i am using quiz templates and my problem is when
    i make the swf file and test the quiz it works good , but when i
    press the enter key , the quiz doesn't work and repeat and go to
    the first screen , i don't know if i have to block the enter key or
    how i can resolve this ?
    Thanks a lot

  • How do you create a flash in game popup on the same frame?

    How do you create a flash in game popup on the same frame?
    I need to make a popup in flash on the same frame. Basiclly like you reach the frame and randomly (I know how to do random stuff) a popup might appear saying like you got a prize; and I want the stuff in the back to stay the same.
    Please help me!
    Thankx in advance.

    Whatever frame you intend to make this movieclip appear in, you first set it to be invisible using...
    popupName._visible = false; // popupName is whatever instance name you use
    And for whatever random code you use to trigger it to appear you just set the _visible property to be true...
    popupName._visible = true;

  • Flash Quiz Result Help

    Hi! I'm new to Flash and I'm wondering if someone can help me
    with the personality test I'm doing for my personal site.
    I made a quiz using the quiz template available in Flash 9. I
    have 15 questions which is divided to 3 questions per
    category...the 5 categories are: Food, Fashion, Travel, Art and
    Music. I already finished the questions part, my problem is how to
    customize the result where I can calculate the score for each
    category by using a bar graph.
    ex: the result is
    1 Food
    2 Travel
    2 Music
    1 Art
    3 Fashion
    the graph wil be:
    1 yellow bar, 2 purple bars, 2 green bars, 1 red bar, 3 blue
    bars.
    If the user have no correct answer on a category no bars will
    appear.
    I don't know what to do huhuhu...I tried searching for
    tutorials but no success :(
    Need you expert help badly :(
    -Andrea

    if you're a novice of Flash & actionscript, I just
    suggest that you can try other well-built and easy quiz
    applications, such as "Hot Potatoes" (
    http://hotpot.uvic.ca/),
    "QuizCreator" (
    http://www.sameshow.com/quiz-creator.html),
    etc.,
    or you may have a look at Tony Karrer’s guide "Flash
    Quiz Tools" at
    http://elearningtech.blogspot.com/2007/11/flash-quiz-tools.html
    for what you want. :-)
    William Peterson
    Senior eLearning Analyst

  • Flash Quiz/Survey help!!!

    Hello everyone...this is a desperate cry for help...I am
    using Flash's quiz template to create a survey...I disabled the
    "weighting" and "feedback" under Component inspector....but now I
    just need to change the "control button" to say "submit" and also
    to save the user-entered results for the different types of
    questions....true/false, multiple choice and fill-in-the-blank to a
    text file. Does anyone know how to do this??? I would really
    appreciate any help!

    if you're a novice of Flash & actionscript, I just
    suggest that you can try other well-built and easy quiz
    applications, such as "Hot Potatoes" (
    http://hotpot.uvic.ca/),
    "QuizCreator" (
    http://www.sameshow.com/quiz-creator.html),
    etc.,
    or you may have a look at Tony Karrer’s guide "Flash
    Quiz Tools" at
    http://elearningtech.blogspot.com/2007/11/flash-quiz-tools.html
    for what you want. :-)
    William Peterson
    Senior eLearning Analyst

  • Flash 9 Game Structure

    I just switched from flash 8 to flash 9 and am looking for
    tutorials to make a simple game where you move a character just so
    I can get a feel for the structure of a Flash 9 game. You can't put
    ActionScript into movie clips anymore. I heard you have to make
    everything classes and put them in seperate files. Do you need to
    do this? Can the ".as script files" be in the same folder as the
    SWF or do they have to be in a certain folder structure? I am
    completely lost.

    This behavior is also reproducible on firefox 1 / flash 9 as
    well was firefox 2 / flash 9. The seg fault appears regardless of
    whether the plugin is installed system-wide or to a single profile.
    See:
    related
    thread on Ubuntu forums

  • About MultiplayerOnline Flash Board game

    Here is my three tier applcation:
    Client Layer : Flash AS3
    Application Layer: Asp.net
    Database Layer: SQL Server
    i have created my websites for asp.net, game programming has
    been done, but the only problem is i want a real time basis for
    creating a MMO Flash board game. But, how am i going to do that? I
    tried webservice package, but It only have PULL technology which is
    not suitable for real time basis. Is there any good ideas on what i
    should use? i heard about Sockets, XMLSockets, .NET Flash
    Remoting..but i am confused on what to use.

    Basically you can use anything that uses the rtmp protocol,
    like FMS, Red5, Wowza, SmartfoxServer and you can have a look at
    WebORB, a remoting package that also has a Publisher/Producer
    (comes in a .net flavor too).

  • About flash Board game

    Hi all , i wanna ask a question regarding flash board game.
    i have an online flash application of chinese checkers board
    games that can be allowed up to 12 games rooms maximum.
    The question i wanted to ask is that if i got 12 game rooms ,
    do i need 12 different swf files for 2 players , another 12
    different swf files got 3 players , another 12 different swf files
    for 4 players and 6 players ?
    Please someone can enlighten me ? thank you

    I think this has more to do with the domain logic (how you
    structure your game and what you want it to do) than it does
    ActionScript.
    There is no reason you couldn't write a chinese checkers game
    with a dynamic amount of rooms all in one swf.

  • Playing flash based games on the ipad2?

    My daughter plays Moshi monsters on our mac book, I believe this is a flash based game, will she be able to play it on an ipad?Playi

    People are too quick to comment about Flash.  If your daughter plays Moshi Monsters Mouthoff, it is indeed available in the App Store for $.99 as a download.  It will certainly play on an iPad, though it was not optimized for it.  It will occupy less space on the screen, but you can simply use the 2X button on the bottom right hand corner to enlarge it to fill the full screen.

  • Sending flash quiz results to an LMS

    Hey Guys,
    Using Flash CS3, having issues getting flash to send quiz results to a LMS. Using the Flash quiz templates, exporting with SCORM 1.2 compliance. The LMS is able to track times attempted and if the lesson was complete or not, however the quiz results don't reach the LMS.
    I think this can be resolved in the actionscript or the javascript that gets exported with the HTML file
    Apparently you can control the javascript functions with FScommands from actionscript
    Something like fscommand ("LMSSetValue","cmi.core.score.raw" + "," + integer);
    I don't know where in the actionscript this should be triggered from
    I can't find documentation from adobe about this function
    Has anyone else come across this issue?

    In case anyone was interested in an answer to this
    Apparently fscommands are an older way of getting data to an LMS
    The current way of doing it is using an external class to handle calls to and from the LMS
    Philip Hutchison's site http://pipwerks.com/ has alot of helpful information on this topic
    A good starting point is here http://pipwerks.com/2008/04/27/how-to-add-basic-scorm-code-to-a-flash-movie/
    Hope this helps someone

  • How much to ask for a flash lite game?

    Hello.
    I have this flash lite game:
    Bubble
    Shooting
    I talked to a company that distributes games for mobile phone
    users.
    How much do you think I should get for this game if I give
    the game with full rights? Meaning that I will not post it on my
    site, not offer it to someone else, all rights go to the new
    company and they will be the owners.
    Any price estimation?
    Maybe some of you developers sold other games?
    Thank you.
    - Adrian.

    Hi, is it wise to sell all rights to this game?
    Why don't you try getting it distributed on a none exclusive
    deal, go for a 50-50 split on sales? Unless you are going to get a
    lucrative buy out deal mate, I wouldn't sell it. It wont be many
    months before all new phones are out with pre installed Flash lite
    so if I were you i'd wait a while and see what you can do yourself
    or through distribution deals first

  • Flash Quiz Template

    Does anyone know how I can make the flash quiz tamplate not
    require the user to click on the Submit button then click the next
    button to get the next question. I'd like the user to just simply
    select the answer and the next question comes up but still submits
    the answer to the LMS for scoring.
    Thanks

    Hi, your idea on the quiz seems really interesting. But I'm
    sorry I cannot help you this way. I'd like to know how do you make
    the "SCORM compliant quiz"? Do I have to use Captivate to generate
    SCORM package?
    William Peterson
    http://www.sameshow.com/blog/2008/08/18/make-scorm-compliant-quiz-for-lms-online-learning. html

Maybe you are looking for

  • FCC in line feed data.

    Hi Friends, In my scenario we are using FCC on the sender side of file adapter. The main problem is the file is coming in the form of single line. Example: HeaderData1Data2Data3ItemData1Data2Data3ItemData1Data2Data3ItemData1Data2Data3FooterData To ov

  • View Interface exception-OPM

    Hi, When we create an OPM Warehouse, there are some conditions to fulfill the creation of virtual sub inventory automatically by the system. 1. Three or Four characters followed by a colon for the Inventory organization Name. 2. Inv Org should be a p

  • Hello to be changed as HALLO when logged in as DE

    Hello Guru's , Thank for all your support till now... I have a issue, Could you all please help me out in solving this. Thanking each and every one in advance. My login language is EN. I have a parameter in my report Like parameter a type c. In the s

  • Authenticating Host SPN using Kerberos Login module

    Hi, I have written an application that needs to support Java GSS based context establishment using Java's Kerberos Login module with the clients.This application is hosted in Tomcat and I have a limitation that tomcat is running as "LocalSystem" acco

  • Mac Book Pro 17" Battery Charge Time

    How long does it take to charge the 8 hr battery in mac boock pro 17"?