Ethic Solutions Free Webmaster Tools
     
MCQ template Flash Tutorials : FlashAdvisor.com
Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here










 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > ActionScript

MCQ template

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

| 1 |

Rate This Tutorial :
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
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

46 users online