Jump to content
Android Forum - A Community For Android Users and Enthusiasts

Flash Trivia Game in ActionScript 3


Recommended Posts

Hi there


For my final major project I am creating a multiple choice Flash Trivia Game for android OS. I am creating it using ActionScript 3 but dynamically loading the question and answer content from an XML document .So far I am successful in creating this game and able to code the functions etc correctly, but I am coming across a problem which I cannot get over! :(


Basically so far I give the user 4 answer options, but when I give the user just 2 options to pick from, although I just changed the content in the XML document, its unable to proceed to the next question. This happens to every question with 2 answer options


I was wondering if someone out there can please help me, it would be much appreciated! :)


"RangeError: Error #2006: The supplied index is out of bounds.

at flash.display::DisplayObjectContainer/getChildAt()"


If you would like me to post the whole code so it gives you a better understanding just let me know and I will


Thanks Guys!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...