ActionScript 2.0 :: Simple Multi Choice MC Buttons?

Jul 7, 2011

This is part of a large quiz I am building. The three choices here are part of a group of three from which you should only choose one. If so the other two are enabled=false.I can't change the method only modify since it is part of a much larger app that is runnung fine. So no radio buttons or codeing on maintimeline.

If you run the attached simple FLA and select the first choice you can see the enabled=false that is on the voted and pass framesworks fine, however if you choose the second the first is only disabled and the third is enabled and as logic would have it if you choose the third the first and second are enabled.The idea is to make it so the user can only choose one the other two are disabled while still having the choice to deselect.

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Simple Multi-Choice MovieClip Buttons

Feb 6, 2011

This is part of a large quiz I am building. The three choices here are part of a group of three from which you should only choose one. If so the other two are enabled=false. I can't change the method only modify since it is part of a much larger app that is runnung fine. So no radio buttons or codeing on maintimeline. If you run the attached simple FLA and select the first choice you can see the enabled=false that is on the voted and pass framesworks fine, however if you choose the second the first is only disabled and the third is enabled and as logic would have it if you choose the third the first and second are enabled. The idea is to make it so the user can only choose one the other two are disabled while still having the choice to deselect.

View 1 Replies

ActionScript 3.0 :: Randomize Multiple Choice Buttons

Oct 26, 2009

I want to randomly scramble 4 multiple choice buttons (assigning each of them to one of four different positions). I'm trying to (a) randomly extract an element from an array, (b) delete that element from the array, and (c) go through the same process 3 more times till I have 4 random numbers assigned to 4 separate variables. I should be able to assign the buttons to different positions after that. 

Here's the first round of what could loosely be called code:

var firstElement:Number = 0;var distList:Array = ["0", "1", "2", "3"];var distNum0:Number = 0;var distNum1:Number = 0;var distNum2:Number = 0;var distNum3:Number = 0;

[Code].....

View 9 Replies

ActionScript 1/2 :: Survey With Several Multipule Choice Questions Using Radio Buttons?

Nov 10, 2009

I have created a survey with several multipule choice questions using radio buttons. I want the last page of the survey to display results to the user kind of like a Cosmo quiz.like "50% A." "25% B." "25% C." "0% D." I can't find any info on how to do this with Actionscript.

View 1 Replies

ActionScript 3.0 :: Loads Choice Of 7 Different Web Pages / SWFs Depending On Buttons Clicked

Jul 9, 2009

I've got an SWF that'll be viewed via a webpage, that loads a choice of 7 different web pages/SWFs depending on buttons clicked.The problem is these files are quite big and take a good few seconds to load each, so for each SWF, I created a progress bar on frame 1, that then loads frame 2 (where all the code and content is) once it's ready. The code I used is as follows:[code]The problem is as you can see from is that it takes ages to load the loader! So I end up with a blankurl... screen then the loading bar, then the content. Making the loading screen pretty useless!

View 2 Replies

ActionScript 3.0 :: Make Simple Multi Player Game?

Mar 30, 2012

I want to make a simple multi player game so any one give me sample code or how to do that ?

View 1 Replies

ActionScript 2.0 :: Flash8 Tutorial: Simple Multi-Video Player

Mar 11, 2009

Having a bit of trouble with this. Even when I get it to work from my desktop, it still malfunctions when posted to my server.

View 1 Replies

ActionScript 2.0 :: Multi Buttons In For Loop

Jul 28, 2011

If I have 16 buttons inside a for loop, how would I trace back the number that was pressed.

NumPageButtons = 16
for(i=1; i<=NumPageButtons; i++){
tempMC = eval("page"+i+"_mc")

[Code]......

when I do a trace it gives me 16 not the number (current button ) that was pressed

View 1 Replies

ActionScript 3.0 :: Scroll Pane For Multi Gallery Category Buttons

Aug 25, 2009

I am building a photo gallery in which the images are loaded into a frame_mc and the thumbs are loaded into a movieclip called thumbLoader. The gallery is going to have several categories, every category has its own button and is found on a separate keyframe on the main timeline. When I click the button of a specific category it goes to the appropriate category/gallery. I have a questions:I want to create a horizontal scroll pane for the category buttons but I really do not know the code. For a start, I know I'm going to make the buttons as movie clips, and the scroll pane has to scroll those movie clips. I want to have 2 direction buttons, one that scrolls the category buttons to the right, and the other one to the left.

View 2 Replies

Flash :: Having Simple Buttons In Papervision

Jul 22, 2011

there's a simple thing in papervision I can't do , I want to have a simple button on my swf like we have in flash , just a 2d square which is on screen and you can click on it and have some action

View 1 Replies

Simple Navigation Bar - Making Individual Buttons?

Mar 29, 2009

I started creating a simple navigation bar: [URL]
But decided to make individual buttons: [URL]

As you can see the latter repeats, however the code (after about an hour checking it seems to be identical:
Actions for frame one:
_root.buy_mc.onEnterFrame = function() {
if (mouse_over_buy_mc) {
_root.buy_mc.nextFrame();
} else {
_root.buy_mc.prevFrame();
}};

Actions for invisible button:
on (rollOver) {
_root.mouse_over_buy_mc = true;
} on (rollOut) {
_root.mouse_over_buy_mc = fstartlse;
}on (release){
getURL("[URL]");
}

View 7 Replies

Slideshow - Controlling MovieClip Using Simple Buttons

Aug 19, 2009

I'm trying to build a simple slideshow with AS3 consisting of one movie clip which should be controlled backwards and forwards using simple buttons. I can get the slideshow to play forward once but, apart from getting slide 2 to go back to slide 1, I can't get it to work with the remaining slides.

View 11 Replies

Simple Drop Down Menu Buttons Not Working?

Aug 11, 2009

I'm having a bit of trouble getting a button in a hoover over drop down menu to link to another scene in the .swf movie. I just doing a basic drop down menu (example here: [URL] with a couple of buttons with in a movie clip, the movie clip being the "button" someone hoovers over. The buttons however are not going to the corrisponding scene I have them set up to. What's strange is that if I set in the buttons action panel to go to an url instead of a scene, in the .swf movie the button works when I click it...it wants to go the specificed url. Nothing happens when it's set to go to a scene.

View 5 Replies

Flash :: Create A Simple Navigation With A Set Of Buttons In It?

Nov 10, 2009

I go to create a simple navigation with a set of buttons in Flash. For some reason when I go to type the name of the buttons my font is messed up and not smooth.... I am not sure if this is a setting or what, totally confused.[code]...

View 1 Replies

ActionScript 3.0 :: Simple UI For Video FLV With Cue Points And Buttons

Jan 27, 2012

I have built a very simple flash player using the video component and I used cue points in the flv, then I used simple buttons and find cue points code snippets to make my buttons go to a certain part of the movie. All that works very well. Now what I need to do is when a certain que point portion is playing have the button stay in a overstate and once that portion of the video is done or another button is clicked the first button return to upstate and the new portion or the new button have the overstate.

Code below
start_btn.addEventListener(MouseEvent.CLICK, fl_ClickToSeekToCuePoint);
function fl_ClickToSeekToCuePoint(event:MouseEvent):void {
var cuePointInstance:Object = vid.findCuePoint("ch1");
vid.seek(cuePointInstance.time);
[Code] .....

View 7 Replies

Flash 9 :: CS3 - Attach Simple Code To Buttons

Sep 8, 2008

Say I have a symbol MyButton, as a button with the 4 special frames. When you mouse-over/mouse-out an instance, I'd like another object to be affected... text in some text box changing, or the item becoming visible, or similar. I know AS3 but I'm a real noob at CS3. I don't really get how actions work in CS3.

View 5 Replies

ActionScript 3.0 :: Create Simple Text Buttons?

Jun 10, 2010

I want to create simple text buttons like hyperlinks.

I used the TextField class, but I am not so font of this and don't need all this CSS styling.

View 1 Replies

ActionScript 2.0 :: (RollOver - RollOut) On 3 Buttons Affecting Simple Mc

Feb 25, 2009

i'm not very good with actionscript but i manage to do something close to what i want. It's explained in the swf itself... swf: [URL]

View 12 Replies

Professional :: Make A Simple Flash Intro With No Buttons ?

Jun 13, 2010

I've been working with Photoshop for years but recently started using dreamweaver to build sites.I want to make a flash intro for the site I am currently working on and have never used Flash before.I am looking to make a simple flash intro with no buttons and have it automatically cycle through the images I have.I'm looking for a tutorial to make an intro like the one on this page: http:[url]....

View 1 Replies

ActionScript 2.0 :: Highlighting (Simple And Complex) Buttons On Menu

Feb 13, 2006

How do you code simple buttons and complex buttons that show they are on or have been activated? I want my interface to be able to tell my users that they are in a specific area by highlighting the button on my menus. (Just like the navigation menu for [URL]).

View 2 Replies

ActionScript 2.0 :: Using Simple Frame Label Buttons With A Twist

Mar 22, 2007

I designed a navigation menu that has 4 buttons. When you rollOver btn1 it goes to a nested movie clip and plays the frame label "a1" which changes its color. On rollOut it plays the "a2" which restores it to its original color. Very easy so far and common. onRelease the button is instructed to stay a a1 to indicate its on.Here is the twist. When you roll over btn1 part of the animation covers up the other buttons. Same thing is you roll on btn2 for example, it colors the buttons accordingly. So I started off by creating a variable and setting it to 0. Then I built my rollOver, rollOut, & onRelease code for each button and said if the variable is not != to whatever number then play the frame label using that logic but it has failed to fully work. The other button even though its covered up with a different color still works so it just makes a sort of glitch.[code]

View 1 Replies

ActionScript 3.0 :: Toggle Simple Buttons, Call Same Function?

Nov 23, 2010

I made 5 buttons on the stage. When these buttons are clicked I want to show AND hide items related to the buttons. Is there a way to "toggle" a simple button so that when it is cliked the first time it shows the object, clicked a second time it hides the object using the same function? In other words, is there a property of a simple button that changes state?

[Code]...

View 1 Replies

ActionScript 1/2 :: Buttons Function - Put A Simple Picture Show An A Webpage

Jun 25, 2009

i am new to this and i need to put a simple picture show an a web page, i need it to work like a powerpoint presentation but also needs buttons that you can roll your mouse over and have the slide that is associated with it come back up and also need to be able to click it to bring it back and stay on the screen for a longer period of time.

View 5 Replies

ActionScript 3.0 :: Mouseover Move 1 Of 6 Buttons To Front For Simple Gallery

Dec 1, 2011

I have six images on a frame as buttons with rollovers making them expand on the button frames. The issue is when the mouse goes over they only expand over the other buttons they are above stackingwise in that layer. I really was hoping to create just a simple bit of code, but it seems that things like containers and children are all needed?[code]The little line of code was my most recent attempt but it pulled up an error about things I have no clue on (1118). Is there a simple code to move the current button on top with out having to say "forget AS3!" and just make a 5 frame webpage a 60 frame one? what is the best format to import videos into a flash project? I went with a swf version, but I was not sure if the mov or other formats would be better.

View 7 Replies

Create A Simple Shopping Cart With Text Boxes And Delete Buttons On The Fly?

Sep 12, 2009

Trying to create a simple shopping cart with text boxes and delete buttons on the fly and everything is created properly, but I can't get them to delete.

My code:

Code:

for (i=0; i<clothingCart.length; i++) {
var ci:TextField = new TextField();
itemArray[i]=ci;

[code]....

I get the same basic error no matter what:

Quote: The supplied DisplayObject must be a child of the caller.

View 1 Replies

ActionScript 2.0 :: Simple Audio Player With Stop / Play / Pause Buttons?

Jul 8, 2011

I'm struggling with a script to make a simple audio player. I'm loading the audio externally, using loadMovie. I have three buttons on stage ("Stop","Play", and "Pause"). First two work nicely, problem is the third one. here are the actions for the three buttons:

STOP button - Working

ActionScript Code:
on (press) {
audioContainer.unloadMovie(10);
}

[code]....

BTW, the external movie clip contains an audio track inside a movie clip. Any ideas how to make the thrid button to "pause" the audio?

View 8 Replies

ActionScript 2.0 :: Make Simple Page To Click Several Buttons Before It Moves On To Next Scene?

Apr 9, 2010

New to AS and would like to know how to make a simple page where the viewer has to click several buttons before it moves on to the next scene. They can only go to the next scene when all of the buttons have been clicked.

View 3 Replies

IDE :: XML Flash Quiz (Multiple Choice)

Jan 31, 2007

I have made a quiz from mixing and matching from various tutorials of the internet, and now want to make the questions (multiple choice) and possibly the answers appear shuffled. The xml looks like this:
<quiz>
<title>Quiz</title>
<items>
<item>
<question>In which continent is the country Japan located?</question>
<answer correct="y">Asia</answer>
<answer>Europe</answer>
<answer>Africa</answer>
<answer>America</answer>
</item>
and here is what I've got so far with the actionscript!

View 2 Replies

Multiple Choice Game Containing Questions And The Answers?

Apr 22, 2009

I have a project that i want to make which is a Multiple choice game containing questions and the answers is four pictures when you click on the right answer you move to next question when your are wrong a wrong sign appears i have zero knowladge about flash but i thought this is similar to Geo Challenge in facebook ,,Right ?? what software to download ? any tutorials online ?

View 4 Replies

ActionScript 3.0 :: Add Multiple Choice Answer To An Object?

Oct 18, 2009

I have declared an array which holds an object such as:

var myArr:Array = new Array({Question: 'Primary Colors Are?'});

How can I add the multiple choices to the object These are the choices:
 
red, green, blue
orange, red, white,
purple, yellow, green,
white, black, blue
 
I certainly can create the Answers as:

var myArr:Array = new Array({ Question: 'Primary Colors Are?', Answer1: 'red, green, blue',
, Answer2: 'orange, red, white, Answer3: 'purple, yellow, green', Answer4: 'white, black, blue' });

What I would like to do is to be able to store all the answer choices within an array called AnsArr. Can I declare a new array within the same obejct such as AnsArr and push these choices to it? 

View 3 Replies







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