# Code for quiz game

**URL:** <https://forum.kirupa.com/t/code-for-quiz-game/274296>\
**Category:** flash\
**Created:** [October 28, 2008, 6:00am UTC](https://forum.kirupa.com/t/code-for-quiz-game/274296 "2008-10-28T06:00:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferlicious](https://avatars.discourse-cdn.com/v4/letter/f/77aa72/32.png) [@ferlicious](https://forum.kirupa.com/u/ferlicious)\
**Post date:** [October 28, 2008, 6:00am UTC](https://forum.kirupa.com/t/code-for-quiz-game/274296/1 "2008-10-28T06:00:28Z")

</div>

Hi guys once again! Thanks to those who replied to my threads. I have created the game thru hardcoding, which is not recommended. I have to redo the coding because of new requirements. The game goes like this,

In this scene, there will be 5 buttons, each assigned with 4 questions (called externally), a total of 20 questions. For eg. one of the button is a cat. When user click on the cat, it should randomly call one out of the 4 questions assigned to the cat. If user gets it correct, the question should be spliced out leaving 3 questions assigned to it, and so on. The question will only appear/pop dynamically when user click on the button.

Because my of weakness in actionscript, I hope someone could guide me along on how to do this. I hope I can learn, I have been reading few threads on calling the question externally. Any help would be greatly appreciated! thanks! =)
