Author: maitreya karandikar | Email
Advertisement
The MCQ template provided is a ready to use xml based template that can be customized as required.
The XMLToObject class used here parses the XML and converts it to object aray for easy accesing of the xml values. The MCQ class uses uses the XML values for positioning the elements on the screen and generating the required feedbacks.
The following constants are used for positioning of the radio buttons and the feedback box.
private var textWidth:Number = 520;
private var textHeight:Number = 100;
private var intAttempts:Number =0;
private var spacer = 5;
private var QSpacing = 26;
private var QXposition = 39;
private var QYposition = 13;
The user can set the text format as requreid by making changes in the MCQ.as in the following function
fnSetFormat(_txt, strFont, txtColor, blnBold);
Download Source File
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section
Submit your Tutorial at Click Here