Need help please. I’m doing a practice test using flash cs3 radio button group with data from .xml file.
I need a drawRect function that will highlight (draw rectangle with fill) the user answer if it’s right or wrong; red color - wrong and green color - right. And will show the correct answer (highlighted in green) if the user answer is wrong.
I have the check button to listen to the event click.
btnCheck.addEventListener(MouseEvent.CLICK, chkAnswer);
but I don’t know how to write the function for drawRect. Please help