# Very noobish questions

**URL:** <https://forum.kirupa.com/t/very-noobish-questions/321332>\
**Category:** flash\
**Created:** [April 17, 2011, 12:19am UTC](https://forum.kirupa.com/t/very-noobish-questions/321332 "2011-04-17T00:19:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aruhath](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Aruhath](https://forum.kirupa.com/u/Aruhath)\
**Post date:** [April 17, 2011, 12:19am UTC](https://forum.kirupa.com/t/very-noobish-questions/321332/1 "2011-04-17T00:19:39Z")

</div>

Hey guys, im new to flash and as3 so please be gentle 🙂

I made a simple flash preference quiz that takes preferences on key words and saves them into an array at certain indexes.

My problem is i made a second keyframe with more preferences on another key word, but this i where my inexperience comes into play

When I try and run it, both frames run at the same time (doh!)

My ideal situation would be:  
Frame 1: Intro, explanation etc with a start button  
Frame 2: Quiz, drag and drop preferences etc (all done, no problem there)  
Frame 3,4,5, etc more quizes.  
Last frame: Show all results

Now here is another problem i have, functions I have declared in frame 1 like: function test\_match(target,obj) , which matches the draggable object to the preference, is telling me its duplicated in frame 2  
Here is also where my unfamiliarity with Flash and AS3 come into play, im a java programmer but im unfamiliar with the packages etc of Flash.

So my questions basicly are:

1. How do i seperate the frames as seperate entities that dont try and run at the same time. And make a button to go to the next frame.
2. Get around duplicate functions (suppose I could just rename them in the seperate frames tho)
3. If possible make a field that makes a user enter their name

Thanks guys, know this sounds like i ran before i could crawl
