ActionScript 2.0 :: Make Selected Answers Remain?

Sep 6, 2009

I have a flash quiz that I created. The file is an external swf loaded on top of another flash swf. The quiz is all radial buttons and drop down menus. Once the user choose which answer they feel is correct they click submit. Before they click submit they have an option to close the window. What i want to happen is if they close that window and return I want those selected answers to remain or even if they submitted before; i would like for those answers to remain.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Magic 8-ball - Answers Array To Store All The Answers And Then Call Them At Random Into The "answers" Field?

May 24, 2004

I've got an input field called "question" where you can type whatever you want, an ASK button called "ask" and a response field called "answer". Once you enter a question and hit the ASK button I want flash to randomly reply in the "answer" field with YES, NO, MAYBE, DEFINATELY etc.

Do I need some kind of answers array to store all the answers and then call them at random into the "answers" field? Am I on the right track?

View 7 Replies

ActionScript 2.0 :: Make The Correct Answers Appear After 5 Seconds?

Sep 19, 2005

I'm making 8 input boxes with 8 different answers. Users can key in their answers in the input boxes. The order of the 8 answers will not affect their results. However when users get the wrong answers, the wrong answers will be deleted. My question here is, when the wrong answers are deleted automatically, how do i make the correct answers to appear by themselves after 5 seconds? Below is my code that i put on a "check answer" button.

on(release)
{
answers = new Array(8);
answers[0] = "professional selling";[code].....

View 4 Replies

ActionScript 2.0 :: Make New Array From Previous Answers?

Sep 22, 2007

I have sections with questions and answers which I can get. But, I need to save each section into new array and tally all the final scores.The screen will show the section score of current section that was just completed and the final score.I know the code has lots of problems - attached.For the total scores the dynamic text boxes var's are totalnumcorrect, totalnumIncorrect, totaluserScore.For the section score the dynamic text boxes var's are numcorrect, totalnumIncorrect, totaluserScore.

View 1 Replies

ActionScript 3.0 :: Make The Cursor Always Remain On The Top Most Level/layer?

Feb 17, 2008

I'm creating a simple shooter game and I've replaced the mouse cursor with a custom one. It works good but my monsters appear above the cursor. How do I make the cursor always remain on the top most level/layer?

View 15 Replies

ActionScript 3.0 :: Make Multiple Objects Remain In Motion?

May 17, 2011

I have an object that gets attached to the stage everytime I click (like a side shooting game). What I want is the object to have a speed in a specific direction. I got it to work by the code-

Code:
if (total_bolt_no>0) {
var bolt_name="bolt"+total_bolt_no;
var bolt_n:Sprite=this.getChildByName(bolt_name) as heroweapon;

[Code].....

The problem that arises is that when I spawn another object the previous one becomes still. I tried using the for loop but everytime I click the angle also changes, thus changing the speed of all attached objects.

View 4 Replies

ActionScript 3.0 :: Make 20 Questions And The All Of The Answers Appear In A Random Order?

Jun 8, 2009

i have a quiz with 20 questions and all of its answers in 2 different arrays. I want to know how i can make those 20 questions and the all of the answers appear in a random order when anyone takes the quiz.

View 6 Replies

ActionScript 2.0 :: Make A Variable Have Multiple Answers Attached To It?

Sep 13, 2004

How do you make a variable have multiple answers attached to it?

example:

workPages = page2_mc, page5_mc, page6_mc, page7_mc

I tried this but it only used page2_mc and an array didn't work.

View 3 Replies

Professional :: Make Drag And Drop Work On A Check Answers Button?

Feb 20, 2012

I ve got a drag and drop code working, but what I really want to do is have a check answers button that tells the user, you have none correct, or two correct or all wrong... I have one target area, and 3 correct answers (out of 7) so I would like to let the user put as many ansers on the target as they want and then check if they have any correct, also a reset code would be nice to put everything back where it started... I tried to break my code up but the events then went mad, Here is what i have so far, it works instantly and lets crrect answers stay and incorrect bounce back..
 
stop();
yes1.visible=false;
allcorrect.visible=false;
doit.text="drag over the words that mean Vision";

[Code].....

View 1 Replies

ActionScript 3.0 :: Make MC Act After Another Is Selected?

Jul 19, 2009

How do you make a MC act after another MC is selected? Like when I click on movie clip 1 then movie clip 2 does somethin after movie clip 1 does its thing?

View 4 Replies

ActionScript 3.0 :: How To Make Button Selected

Oct 13, 2011

Is it possible to change button state from AS3?

View 3 Replies

Flash8 :: Make All Buttons Disappear Except The Selected One?

Jul 6, 2009

I have a project which is very straight forward however I'm having trouble figuring out the logic to get it started as well as the actionscript to get it working.THE PROJECT1. The user must choose one (only) out of about 100 buttons available on the page/frame.2. When the chosen button is released, the other buttons diasappear/turn invisible and become inactive3. A message appears within a speech bubble pointing to the selected button.PROBLEMS1. How do I make all the button disappear except the chosen one?2. How do I make the speech bubble point to the chosen button no matter which one they choose?MY LIMITED LOGIC SAYS1. I need to collect x and y values somehow to position the speech bubble2. Pass a variable to tell flash 'this is the chosen button'3. Tell flash to hide every button that isn't the chosen one using the variable

View 5 Replies

ActionScript 3.0 :: Make Image Bigger When Selected?

May 27, 2010

I am working on this image scroller, where thumbnails of images are displayed.[code]...

So is there anyway I could use any of the above code to load the big image associated with the small image? If event.target points to the current thumbnail being picked up, could i do something like event.target.url to point to its name or something?

View 1 Replies

Flex ::make 3 Combobox Selected Item?

Jun 4, 2011

I have a combobox with arrayCollection dataprovider, it selects nothing at start, but i see the first object label as selected, i want to add select text, as first option that selects nothing, just to indicate that the user didn't select an option yet.

View 1 Replies

ActionScript 1/2 :: Make The Selected Movieclip Active?

Sep 27, 2011

'tf' is the instance name of the textfield inside a series of movieclips (_root.gm_mc.tfP1.tf, _root.gm_mc.tfP2.tf, .... _root.gm_mc.tfP99.tf). How do I make the selected movieclip active? and make the following onRelease action work only for the selected?

[Code]...

View 7 Replies

Flex :: Make Sure That There Is Always Something Selected In A Spark List?

Apr 29, 2010

I have a spark list, which is based on a dataProvider. As the application runs, the data in the dataprovider can change, and also the dataProvider can be swapped for a different one

What I need to do is make sure that something is always selected in the list (unless it is empty)

View 1 Replies

Actionscript 3 :: Make A Button In A ButtonBar Selected By Default?

Nov 5, 2011

I have a Spark ButtonBar and I got it hooked up correctly with a ViewStack. Currently, when I run the application (AIR), the first button in the ButtonBar is selected by default. How can I make the second button selected by default?

<mx:ViewStack id="viewStack">
<s:NavigatorContent id="Page 1">
<!-- Other stuff in here -->[code]............

View 2 Replies

Flex :: Make SelectedIndex Correspond To Selected Item In ComboBox?

Jun 21, 2010

Isn't there a better way to accomplish this?[code]...

All I want to do is make sure that when I update the item that the comboBox is pointing to internally, that it's selectedIndex also update so that the label within the ComboBox reflects the new value.

View 1 Replies

AS3 :: Flash - Make Parent Function Return The Selected Value Of A ComboBox?

Dec 2, 2010

I'm developing an AIR app that requires a menu to show only during the first run. In it the user will be able to choose the desired language for the app to run in.

I'm displaying this menu without a problem but I need it to stay visible until the "select language" comboBox is changed and then return the selected choice's data value.

how to return a value only after the combo box is changed.

function promptFRMenu():String{
FRMenu.enabled = FRMenu.visible = true; //when I detect the app is running for the
// first time, the dialog box is enabled

[Code]....

View 2 Replies

Actionscript 3 :: Make Eclipse / FDT Build Main.as Instead Of The Currently Selected File?

Oct 2, 2011

I'm using FDT, and I want Eclipse to build my Main.as file instead of the currently selected file when I click debug/run. Is there a way to do this?

View 1 Replies

ActionScript 1/2 :: SOS: Change Color Of Selected Menu Item Button If Selected

May 19, 2010

I have a menu with many sub menus. I need to change the color of the selected button and then move on to the sub menu. My menu is horizontal and now it's not obvious the path that you follow.

View 2 Replies

Flex :: Disable Selected Columns In A Datagrid In It For Selected Rows?

Nov 6, 2009

Is there any way to disable a few columns for a particular row in flex datagrid?

I have a datagrid with about 10 or more columns, say for example a few column names are: Item Id, Item Name, Item Status and VerifiedState. Initially I want the column Verified State to be disabled.

Now When the value of the column, Item Status is Review Passed for a particular row, I want the column VerifiedState to be enabled and editable. Is that possible in Flex datagrid.

View 2 Replies

ActionScript 1/2 :: Make The Selected Label And Data In Combobox Appear In A Dynamic Text Box In Macromedia Flash 8?

May 3, 2010

How do I make the selected label and data in my combobox appear in a dynamic text box in macromedia flash 8?

View 10 Replies

Answer To Remain On The Screen?

Sep 2, 2010

I have 12 movieclip buttons which each contain a question. When you click on one, the answer appears. I need the answer to remain on the screen. On that same frame, there's a button for "more information".When that is selected, it goes to another frame within the mc, and more info appears. However, it is covered up by the other 11 buttons from the main screen

View 2 Replies

ActionScript 3.0 :: Button To Remain 'on'?

Aug 13, 2010

I am trying to create a series of buttons that when finally "clicked" will simply stay on or in their "hit" state. This is not for a web page at all, but for an interactive SWF. Now, I've come to the conclusion that I can't do this with a button graphic so I've created a four state button movie clip with the aid of some online tutorials. Unfortunately all the tutorials end with a URL reference and I simply want the button to function like a button until it's clicked... and then freeze there until the SWF is run again.[code]

View 19 Replies

ActionScript 3.0 :: Interesting - Looking For Answers?

Sep 21, 2009

I've created an entire website from one .swf. No dynamic loading of other .swfs, or external content etc. Simply a few different buttons that navigate to different frame-labeled areas of the .swf via gotoAndPlay, etc. There are 8 different "areas" of the timeline to go to, each with it's own set of movie clips for that area.

As far as I know, the website works great on all computers and browsers with current Flash players. But I got a call from one of the owners of the business I created the site for and he's having an interesting problem: The preloader completes and takes him to the first area. He can see areas 1-4 just perfect. But when he click to go to area 5, less than half of the movie clips load in what seems to be a random order and then the rest of the .swf (beyond that point in the timeline) can't be accessed at all.

This could be common, but as far as I know, I've never heard of it. He's had someone at his site who is apparently "fluent in computer" look over his internet settings and cannot find any issues.

Anyone ever heard of this or know what I should suggest he try besides updating his browser and Flash Player?.

View 3 Replies

ActionScript 3.0 :: Multiple Answers Using Checkbox?

May 16, 2011

the user is able to mark 2 checkboxes out of #cb's.

how do i make sure he can mark EXACTLY 2 cb?

Code:
addfunction();
var total:int = 0;
var i:int;

[Code]....

View 2 Replies

ActionScript 3.0 :: Quiz With XML Questions And Answers

Nov 18, 2009

I'm trying to create a simple quiz that picks questions from an XML file, then checks the answer the user enters against the answers stored in the same XML file. Every time you press blue_btn it should bring up a new question. Right now I'm stuck -- it shows only the last question in the XML file, when I enter the right answer it tells me it's wrong, and when I press blue_btn again nothing happens.

[Code]....

View 4 Replies

ActionScript 3.0 :: Datagrid - Make The Checkbox In Col1 Selected When Selects The Checkbox In Col2

May 4, 2009

I am using datagrid and added 3 columns to it in flex project. Data is provided to each column by using itemrenderer. Itemrenderer is checkbox for each column. Name of columns are col1,col2,col3. I want to make the checkbox in col1 selected when i selects the checkbox in col2. But i am not able to do this.

View 1 Replies

ActionScript 2.0 :: Buttons Remain Not Visible During The Game ?

May 8, 2009

First,I have a menu screen for my game, but for some reason the buttons remain during the game (not visible), I think I need to use swapDepths but I'm not sure. Second, I need to make a restart button from the Game Over screen but I'm not sure of the coding I need to use,would using something like this work?

Code:
on (release){
_root.gotoandPlay ("Menu");
}

or would that only work in replaying a movie?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved