Graph Opinion

Thank you so much. :beam: I would absolutely not be able to do this without you!
:crying:

Im going to try put everything into one array, will make it easier to follow. I dont understand why you have the states change colour when you press the color button. Should it not just change colour when the state is selected?

The reason that the states change color when the user selects a button is my instructions were to allow them to do so. Those states that change color represent the states that are already decided, and rather than just having them set to a certain color when the game begins, the user sets the color.

I am supposed to have odd colors that don’t represent anything rather than just red and blue like you would expect with a US election because we don’t want to show what we are for republicans (red) or for democrats (blue) or any colors that could be associated with any other political things. Politically correct in other words.

ps- now this may bore you but here is so more information into what I am working on this for (we, my company, come up with something new each year)

http://www.cbservices.org/cbs/natri/2003.html

this year’s conference takes place right near Washington DC, hence the whole State election themed quiz

Im still unclear about this colour thing. At what stage does the user decide which states they want to visit? Or does he just pick a colour and then answer questions on those states? Sorry to go on but it is better i am clear as to what is happening. Ill have to look at your links later.

That’s quite alright. You don’t need to look at the links, it is just some background information not direct information about this particular quiz.

This is what will happen:
A person (the user) will sit down at one of the computer stations displaying this swf file.

They will hit a start button, and an explanation of the game they are about to play is displayed on the screen.

They are then asked to enter their name, we’ll use my name (Jill) for example.

I type in Jill and a message is displayed, “Hello, Jill, please choose your campaign color.”

**It is now ** that I select the color that turns 20 of the states the color that I choose. These states are then disabled, because it has already been decided that the user, in this case me, gets credit for those states.

Reason for this is so that we only have 30 choices (which are the remaining states which have not turned a color) rather than 50. These are the states that the user is allowed to click on to load a question, not the states that turn a color when the button is clicked on. Then the user only has to get 6 more correct (they are allowed up to 10 choices out of the 30) to win by a majority rule. (26 out of 50 states)

So, the 20 states are set in that color, then the user begins the actual choosing of what states they want to answer a question about. They click a state, a question is displayed, and if they choose the correct answer, they receive some feedback (yes you’re right) and the state turns the color they selected for the other 20 states.

If they answer the question incorrectly, the state will turn another color set by me.

It still has not been decided if the games stops once they get 6 correct, or if they will continue to answer a full 10 questions.

Supporting events will be a button that can be pressed to load a hint about a question, and some type of graph that reacts to a right a wrong answer.
For example, a bar graph (with two bars) that moves a bar longer if the user gets a right answer or a different bar longer if the user gets the answer wrong. That bar will represent the opposition.

Please don’t hesitate to ask me to explain more if you still don’t understand.

ok, so basically if you have the same 20 states for each colour button, you only need 30 questions?

Yes, exactly. The 20 states will be the same no matter which color is chosen.

Well looking at the file now, I guess one of those most obvious things to begin with is to take the name entry/color selection part and make those into a mc, therefore eliminating my need for the two frames in the main movie. Sometimes I just don’t see the simplest things. :te:

Well if you have not already started with the other fla I at least made the name entry and color selector buttons into an mc, so that there are not 2 frames on the main timeline. Don’t know why I was thinking it had to be like that.

http://www.cbservices.org/cbs/test/jill/whatamesspart2.zip

seems like you are managing quite well on your own.
http://www.gifsrus.com/testfile/maptest_withinterface&questions1.fla
I have actually increased the number of arrays rather than decrease (doh!)
I have changed it around a little in that the first 30 [“mystate”+i] will be the ones you have questions for. I have looped through the arrays for questions and answers just to show you that it will work with the questions you have decided upon for each state.
Edit/
I have put all correct answers as “A” but obviously you can type these in mauually later.

Wow, now you are really on a roll. Your file looks great. I had a meeting today and it was decided that the question is going to have to go back to being loaded as its own swf rather than just as text. You know that feeling where you are reaching for the car door and the person driving just keeps pulling right out of your reach each time…sigh

Anyway, asap I am going to get work and change what I can to have the questions load as such. The reason for the change is that is has been decided that their needs to be artwork included with the questions and keeping that all within one movie would equal such a large file size.

So I will go cry in my corner for a while, get over it, and get back to work. :puzzled:

Thanks for your enduring help!!

Ok, well its not that different really so your work has not been completely wasted.