# Quiz using AS 2.0 - Frame not displayed

**URL:** <https://forum.kirupa.com/t/quiz-using-as-2-0-frame-not-displayed/196094>\
**Category:** flash\
**Created:** [August 5, 2006, 8:02am UTC](https://forum.kirupa.com/t/quiz-using-as-2-0-frame-not-displayed/196094 "2006-08-05T08:02:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikiran](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@saikiran](https://forum.kirupa.com/u/saikiran)\
**Post date:** [August 5, 2006, 8:02am UTC](https://forum.kirupa.com/t/quiz-using-as-2-0-frame-not-displayed/196094/1 "2006-08-05T08:02:18Z")

</div>

hi,

I am facing a unique problem with my file.

I am creating a simple quiz using AS 2.0, i am giving the facility of navigating back and forth between questions and the user can always change the options or answer as they wish.

I have completed this part and its working perfectly fine.

When i embed this script with my given UI interface, i am facing this problem, in the init part, i have given the script for navigating to the nextFrame().

[COLOR=Red]function init() {  
arrUserAnswer = new Array();  
for (var i = 0; i\<arrCorrectAnswer.length; i++) {  
arrUserAnswer\* = null;  
}  
nextFrame();

}  
init();[/COLOR]

i have kept total of 5 frames, frame 1 holds the script and navigation elements

from frame 2 to 5 i have placed 4 questions. and whenever i play the movie i should get the first question to be displayed automatically.

But i am getting just a blank screen instead of frame 2 in my case.

can anyone kindly suggest me whats my problem …

the same code is working perfectly fine without my UI interface with the same setup of 5 Frames.

cheers  
saikiran
