You must go some steps back and decide about the logic of your game.
When I typed "answer == correct" I tried to give you an example idea about the button color change.
Also, I assume (by the protection error you pasted) that you don't have a document class defined in your flash but you are trying to code everything in frame 1? This will give you a lot of trouble because your movie will have more than one frame I guess.
You must start from basics and go a step at a time.
Forget about the correct answers and the health bar for now and try to make the coloured button/movie clip for a start.
When you have it ready and fully working as you need, proceed further.
Last edited by djpaul1963; 09-08-2012 at 05:04 PM..