Professional :: Using A Button To Make Another Button Visible?

Dec 6, 2010

I simply don't know the syntax.I am attempting to make something similar to a Jeopardy board for a Christmas party at work. I have a grid of buttons that correspond to different questions. The function would be as follows: The button "eng_1" (as in "English for 100 points)is clicked.This makes the button "eng_1_q" (as in :English 100 question) visible, so the question can now be read.The button "eng_1_q" is clicked, and that button is then made invisible. The question can not be seen, now we have returned to the board.The original "eng_1" is now a different colour (or left in it's "down" state) to show that the question has already been asked (not sure if this should be part of the function of "eng_1" or "eng_1_q").My idea would be something like this.

eng_1.addEventListener(MouseEvent.MOUSE_DOWN,][code]...........

So once again, I'm just unsure of the syntax.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Makes Button Visible...but Button Stays Visible If They Seek Back In Video?

Mar 30, 2011

when the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?

View 2 Replies

ActionScript 3.0 :: Make A Button Visible Only In A Particular Frame?

Jan 13, 2009

im working on flash cs3

my as3 code is:

Code:
function eventResponse1(evt:MouseEvent):void {
gotoAndStop(30);}
lab_but1.addEventListener(MouseEvent.MOUSE_UP,eventResponse1);

[Code].....

View 0 Replies

Actionscript 3 :: Make Flash Button Of PNG Visible Area?

Oct 15, 2010

I'm trying to know if there's a way in ActionScript 3 to load a PNG image and make some sort of button or sensible area applicable only for the visible area of that PNG??Maybe there's a simple way to define a polygonal area on execution time, I mean, dynamically and make it sensible to mouse events??

View 4 Replies

ActionScript 1/2 :: Movieclip Has A Toggle Button To Make It Visible True And False?

Jul 19, 2010

on frame 1 I've got 10 movieclips and each movieclip has a toggle button to make it visible true and false.
 
How do write the script to do the following on frame 10?
 
if only 1 movieclip is visible make one_mc visible true
if only 2 movieclips are visible make two_mc visible true
if only 3 movieclips are visible make three_mc visible true
... so on for all 10 hope this make sense.

View 10 Replies

ActionScript 2.0 :: Create A Button That When Pressed Will Make An Movie Clip Visible?

Feb 22, 2003

I am trying to create a button that when pressed will make an movie clip visible and set it to a specific position on the screen. When this same button is pressed a second time the movie clip will become invisible.

View 2 Replies

Professional :: Make A Button Active If Another Button Is Clicked?

Dec 13, 2010

I want to make a button (or graphic) active and visible if another button is clicked. But it must be invisible and unclickable before the other button is clicked. (this is a "find the differences between the 2 pictures game" and I want circles to appear over the differences that the user finds but only after he clicks it)

The button (or graphic) I want to become active has instance name of "sockcircle_btn" The button you click to make it appear is called "sock_btn"

In the first frame of the sockcircle_btn layer, this is my code

sockcircle_btn.addEventListener(MouseEvent.CLICK,sockcircledisable);
function sockcircledisable(evt:MouseEvent):void{
sockcircle_btn.mouseEnabled = false;
}
 
In the sock_btn frame (frame 3) this is my code

sock_btn.addEventListener(MouseEvent.CLICK,sockcircleenable);
function sockcircleenable(evt:MouseEvent):void{
sockcircle_btn.mouseEnabled = true;
}

The file is setup to loop between frames 2-3. But the sockcircle_btn never enables even when sock_btn is clicked.

View 5 Replies

ActionScript 2.0 :: If Statement - Check If Another Button Is Visible On Release Of A Button To Determine What Action To Be Taken

Jun 24, 2004

i'm trying to use if statements but can't get this thing to work i want to check if another button is visible on release of a button to determine what action to be taken.the 'gotoAndPlay("firstscene",1)' is just there as an outcome, will be changed later. anyway this is the code i've got on the button i'm pressing. blobyellow2 is an instance of a button blobyellow is it because it's an instance that it's not working?

[Code]...

edit: sorry forgot to put what's wrong with the code. it acts as though the statement is correct no matter if it is or isn't.

View 11 Replies

Professional :: Button "Over" State Not Working Within Visible MovieClip?

Jan 28, 2010

My button states aren't working right, and I'm pulling my hair out:The desired behavior is under the "Design...  button--notice how when you mouseover the "Our Philosophy" link it turns blue? Why isn't this happening for the "What We Can Do For You" and "Our Process" buttons in the other movieclips?The document is structured as follows:

MovieClip 1: Design: Your Silent Salesperson
---Text
---Images

[code].....

View 9 Replies

Professional :: Make A Button Click Make Text Appear Elsewhere On The Screen?

Apr 1, 2011

I have a map of the US and each state has a rollover that changes the color of the state...what i am trying to figure out is how to click on the state and have text appear to the side of the US map and have that text stay up until the user clicks on another state.

View 16 Replies

ActionScript 2.0 :: Dynamic Button - If The Text Box Says "y" Then The Button Is Visible If It Says "n" Then Button Is Not?

Apr 5, 2004

im trying to do it as dynamic as possible. I have a few buttons on the main interface, and the text for the buttons are loading from a txt file on the CD. What i want to do is have a variable in the txt file "y" or "n" so that if the button is not needed then i can hide it. I have got a dynamic text box on the root, to pick up the y or n and then what i want is if the text box says "y" then the button is visible if it says "n" then button is not. Here is the code i have so far.

Code:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
//to load the text[code].....

View 7 Replies

Professional :: Make A Button Invisible?

May 6, 2010

I'm sure this is something easy that I'm missing, but I can't figure it out.  How do I make a button invisible?  I need it to be invisible through frame 43 of my movie.  I have tried changing the alpha to 0, but it's not letting me change that, except in the edit button mode which changes it for the entire duration and not just through frame 43.

View 1 Replies

Professional :: Make Button Changing From One Pic To Another Pic?

Dec 6, 2010

I want to make an image as button which should show on mouse over anoher image? How it is possible?

View 6 Replies

Professional :: How Can Make SKIP Button

Sep 18, 2011

I am created a website, i want to put skip button requirement is mentioned below
 
The intro should have a "skip" button to skip to the home / index page.  At the end of the intro animation it should directly lead to the Home / index page (automatically)Please Help me... i am waiting for valuable feedback

View 11 Replies

Professional :: Make A Button Disappear, Then Reappear?

Jul 28, 2010

I am making a few language flash cards in adobe flash cs5 with as3. the flashcard is a movie clip and when you push a button (located on the bottom left hand corner of the flashcard) the movie clip flips the card to give the translation. it looks a little unprofessional to have the button stay in place while the card flips. is there a way to make the button disappear for the duration of the movie clip, and then reappear at the end?

View 6 Replies

Professional :: Make The Calender Appear On Hover Of The Button?

Aug 14, 2010

i have a flash form and i have a calender and want to make the calender appear on hover of the button - the problem is i did not make the calender I only have the SWF file so i have to do a load event and then make the output on the calender go into the "date" section of the contact form.

View 31 Replies

Professional :: Make A Button Have Multiple Functions?

Aug 19, 2010

can you make a button have multiple functions? as in if i click a button one and imahe will pop up and then click that same button and another different image will pop up??

View 1 Replies

Professional :: Make A Hyperlink With Arcade Button?

Sep 23, 2010

I do not know really anything about ActionScript. I have completed a tut on it but that is all. I am trying to make a hyperlink from a classic arcade button but the code I found is apparently from AS2.

View 1 Replies

Professional :: Make A Flash Pop Up Ad With Close Button?

Feb 17, 2011

how to make a flash pop up ad with close button? I also need it to close after the movie ends.
 
Similar to this ad.

[URL]
 
Any actionscript for a close button and self closing window would help.

View 5 Replies

Professional :: Make An Animated Button With 2 Hit Areas That Do Different Things?

Apr 30, 2010

For example if you had a cat and running a mouse over its tail would make it angry, but running the mouse over it's head would make it happy. I thought it might be done by having layers on a button with 2 hit areas, I mocked it up quickly, but it just played both animations when I hovered over each button.

View 3 Replies

Professional :: Make A Flash Button Animate After Clicking?

Aug 3, 2010

I think the title is self explanatory... anyway, I wanna make my buttons do a cool animation (like roll away or explode) but until AFTER they're clicked,

View 5 Replies

Professional :: Make Button Keep Color After Click Or Touch

Aug 5, 2011

I am trying to figure out how I can have my buttons keep a color after it has been clicked or pressed.This is important since I need to make the viewer understand what answer was correct.I have set the down state but I need my button to keep that down state color.

View 1 Replies

Professional :: Make A Movie Clip Button Into A Url Link?

Aug 15, 2011

I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.

View 3 Replies

Professional :: Make The FLV Video Screen A Play Button?

Sep 10, 2011

The video imported and plays fine with the provided skins.  However I want to display the video online with the same Play control as many YouTube videos - a Play button shown in the center of the video screen area.  Right now I have the video player controls that I selected during import and they are at the bottom.  These skin controls work but I'd like to let the user just click on the screen to start the playback.

View 3 Replies

Professional :: How To Make Things Visible Offstage

Jun 6, 2010

I'm trying to allow all things oitside of the stage peramiters to be visible in the browser screen so certain elements can be longer than the stage and still be shown Can't remember if it's a flash thing or an html thing.

View 6 Replies

What Button Event Should Use To Make The Program Understands To DO SOMETHING Only When The Button Is Pressed / Dragged

Aug 4, 2009

What button event should I use to make the program understands to DO SOMETHING only when the button is pressed/dragged. In my sample code below, I want something to happens only if the button is dragged beyond 200 in y axis. I tried onRelease, onRollOver and onDragOver but still not working

[Code]....

View 6 Replies

Flex :: Make A Button Change It's Shape With Every Click (music Button)?

Sep 20, 2010

I want to design a music button for a game like geochallenge

View 1 Replies

Professional :: Can't Make Music On / Off Button Work For Movie Built In CS5

Aug 10, 2010

This Message Used To Be Entitled:"Can't make music on/off button work for my movie built in CS5..."But after literally WEEKS of being on this forum (& desperately seeking the answer in numerous ways) do you mean to tell me there is ABSOLUTELY NO ONE ON THIS FORUM that knows how to make a music/sound button work correctly? [code]Perhaps it's a simple adjustment,.

View 11 Replies

ActionScript 2.0 :: Make A Button In Such A Way So That After Clicked On It The Button Will Change Colour Indicating That The Link Has Been Visited?

Sep 1, 2004

I am trying to make a button in such a way so that after you clicked on it, the button will change colour, indicating that the link has been visited.

View 3 Replies

Mc.visible = True Button Not Working?

Jan 2, 2010

I'm using Flash Cs4 with As3 to make a project. In part of it I have an object which is invisible, but when a button is pressed is made visible. Only problem is, it won't make it visible.

Heres my code

PHP Code:

import flash.events.Event;import flash.events.MouseEvent;aSettings.visible = falsevar setVisible:Boolean = false;buttonVisibility.addEventListener(MouseEvent.MOUSE_DOWN,function():void

[Code]....

I'm not receiving any errors at all, but whenever I click the button the output says "false", so I know that its not changing it to true.

View 2 Replies







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