I would use Frames instead of Scenes to start off. Then use Math.random() to gotoAndStop() on the random frame. And to eliminate options, use an Array to hold the different puzzle/frames and splice()...
It really depends on what kind of data you are dealing with and how you have it setup. More information would help find a viable solution. Pretty sure, this is in the wrong category.
Why not just removeListener() to the button clicked? An alternative is button.mouseEnabled = false - if you re-use the same buttons then just, change to true on reset.
I would think of it like, _level2 as being the MovieClip or location of whatever is between the square brackets. So, when you used "_level2.this[stuff]" it was using 2 locations, _level2 and this...
Try below, Math.random gets number between 0 and 1, so if you use it like Math.random()*3, it will return 0,1,2. In the first example, it gets numbers 0-1580, then we subtract 30 to make the minimum...
Since you are starting out, i would either use XML or just use Arrays if you don't need the questions and images to be external. You can have all your questions in an Array and just import all your...
Hi, i just tried to exporting to image (JPG,GIF,BMP,PNG) and they all worked. The guide layer was not included. Maybe you can send me the FLA so i can take a look? My email is megastee@hotmail.com.
Hi, i would recommend visiting the link below for great tutorials. I am a self taught Flasher, so i wouldn't know where to start with recommending books, but they may help you understand the...
Instance names are how you refer to objects via code. In the properties window, there is a field where you can enter an instance name for almost any object from MovieClip to TextField. So in the...
Ok, i traced your template to http://www.templatemo.com/preview/templatemo_355_work_center and it seems like you just need to copy "piecemaker.css" into the same directory as "piecemaker.swf".
Your code looks like it should work. My only guess is that the variable "exp" is not being set to the value of 0. Trace out the variables to make sure they are correct - trace(exp);
I would suggest using a reusable function for the bulk of it. Depending on how your quiz is setup.
I've made XML quizzes in the past, that use only a few functions to process the XML and functions...
Hi, its hard to give any help with such little info. Can you post your current code for setting textfield to scoret, or anything more relevant? Code of the score increment?
Ok took a look at it. It seems that you have actionscript on a MovieClip instance of "randomjpeg" with an instance name of "location" and you have about the same code on frame 51 of the randomjpeg...
Hi, just off the top of my head, I would guess the remote uses the left and right arrows to go next and back, or some variation. The remotes are mainly used for Powerpoint presentations.