How to make a button appear boxed in when clicked
For my Prototyping class I have to make an interactive fast food ordering system. I have majority of frames made I just need to add the interactive part to it. I am using AS2 in Flash CS3. I have the picture and the text grouped and are classified as a button. I want to make it so that when the picture or text is clicked it will make a black box appear around it, making it 'selected'. I've tried to add an Event Listener but couldn't figure out how to make the box appear on it. Any suggestions?
These pictures are basically what I'm trying to accomplish.
Keep in mind, I'm a Flash newbie, I have a probably 3 hours experience with Flash.
But I do have knowledge of basic Java commands, so I can understand code.
Thanks,
Dudejoe04
Onw way would be to create the buttons as movieclips so that when they are selected you move the movieclip's timeline to a rame that shows the rectangle around it. Another way would be to have the movieclips as separate objects that you make appears when its associated button is clicked. There are likelynumerous other possibilities.
Similar Messages
-
How to make a button appear on every slide.
Hi there,
I am a new user with Captivate 4. This seems like a silly question, but I haven't been able to find it asked before (except for Captivate 2) and can't figure it out on my own.
In my project, I will not be recording software--I'll be doing an e-learning with activities like quizzes and branching. I do not want it to run like a movie--I want a forward and back button on each page that user clicks to go through the module. I figured out how to get rid of the play bar but how do I make a forward and back button appear on each page? Or do I have to do that myself by cutting and pasting?
Many thanks!Hi there
One way is to insert two buttons on one slide. Program one to go to the previous slide and the other to go to the next slide when clicked. Then you copy the buttons, select all the other slides and paste.
The other way is to use the Perpetual Buttons Widget supplied by Captivate. Click Window > Widget, then locate and insert the widget on the first slide where you want the buttons to appear. Configure the widget to display for the rest of the project.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
How to make home button appear in screen?
I am having some difficulty trying to make the home button to appear on screen instead of pressing the middle button to return to home screen.
Hello:
I do not know of any way to do that......
Barry -
I have a very common use case where you have a few radio buttons and only one can be selected at a time. Some of them are basic and on click should be selected right away, but other are more complex and open a pop up which requires some additional user selections after which the user selected OK or CANCEL for example and only after that the selection of the radio button should be applied programatically.
So to solve this issue I've come up with 2 workarounds:
1) make the entire group, that holds the radio button, act as a button with buttonMode="true" mouseChildren="false" and programatically change the radio button within it.
2) hold the current radio button selection in a variable and in the changeHandler of that radio button return the selection back to what was selected before. But this also causes a small flickering of the radio button which gets selected and deselected immediately after that.. not cool.
So my question is... is there something I am missing that could do the job without these workarounds... like a Changing event which I use for the ButtonBar but I can't find on the RadioButton or RadioButtonGroup... thanks!Hi,thanks for the reply. Actually that was my third option, but not sure if it's very good also..
Here is a simple scenario:
User must select between 2 radio buttons:
1) no volume -> sets variable volume=0 and selects the radio button (that is the normal use case)
2) set volume -> opens up a pop up with a list that has a X button to close and 4 options: 25% volume, 50% volume, 75%, 100%
At this point the set volume radio button should not be selected and the user has 2 choices:
-> hit the X button to close - nothing changes and no volume radio button is still selected and volume is still = 0
-> hit one of the volume % buttons -> the set volume radio button gets selected and the variable volume=25/50/75/100 depending on the button selected by the user.
That's a pretty common scenario and it's bugging me that I can't easily alter the radio button selection logic since whenever I click it, it gets selected and I can't put a logic in between in a standard way. This should apply to any component with selection, just like ButtonBar has it with the Changing event.
So is there any other more convenient way to accomplish this scenario that you could recommend?
Thanks! -
How to make a text field become empty when clicked in.
I have an input textbox, if the user clicks 'submit' and the
box is empty, it returns "please type answer here" in the input
box. Is there a way to make it so when the user clicks in the input
box it will turn back to blank and be ready to type instead of
having to select the existing text and delete it?
Thanks :)yep, use the onSetFocus method.
my_text_field_instance_name.onSetFocus = function() {
my_text_field_instance_name.text = "";
but be careful here, because if the user fills in there info,
then clicks off the text field then back on, the text will
disappear, you will need to use a combo with onKillFocus or an if
staement.... play with it. its real simple
corey -
How to make a button stay down when I click on it in CSS nav bar.
So I have created a horizontal navigation bar, I use the CSS
Sprites/Pixy method to get the hover working with the same image as
the link/in active stage of the buttons.
Now how do I make the button stay down when someone click on
them?
These are the codes for the nav bar.
#nav{
width: 780px;
list-style: none;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
padding: 0;
height: 40px;
#nav li{
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
float: left;
padding: 0;
#nav a{
width: 125px;
display: block;
color: #000000;
text-decoration: none;
text-align: center;
background-image: url(ZITTO_IMAGES/button_set1a.jpg);
background-repeat: no-repeat;
background-position: center 2px;
padding-top: 14px;
padding-bottom: 10px;
background-color: #000000;
#link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
6px;}
#nav a:hover{
background-image: url(ZITTO_IMAGES/button_set1a.jpg);
background-repeat: no-repeat;
background-position: center -36px;
color: #FFFFFF;
width: 125px;
padding-top: 14px;
padding-bottom: 10px;
background-color: #000000;
Everything works so far, the hover works when you roll the
mouse but when you click the button goes right back.
How can I make it stay down and then go back to normal when
you click on another link/button?
Thanks very much.
PatrickRead my suggestion again. You are missing a critical point. I
show you
exactly where to put the stylesheet. And it doesn't matter
how many
stylesheets you have on a page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Webethics" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
Newsgroup User
> Change this -
>
> #nav a{
> width: 125px;
> display: block;
> color: #000000;
> text-decoration: none;
> text-align: center;
> background-image: url(ZITTO_IMAGES/button_set1a.jpg);
> background-repeat: no-repeat;
> background-position: center 2px;
> padding-top: 14px;
> padding-bottom: 10px;
> background-color: #000000;
> }
>
> #link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
6px;}
>
>
> #nav a:hover{
> background-image: url(ZITTO_IMAGES/button_set1a.jpg);
> background-repeat: no-repeat;
> background-position: center -36px;
> color: #FFFFFF;
> width: 125px;
> padding-top: 14px;
> padding-bottom: 10px;
> background-color: #000000;
> }
>
> to this -
>
> #nav a{
> width: 125px;
> display: block;
> color: #000000;
> text-decoration: none;
> text-align: center;
> background-image: url(ZITTO_IMAGES/button_set1a.jpg);
> background-repeat: no-repeat;
> background-position: center 2px;
> padding-top: 14px;
> padding-bottom: 10px;
> background-color: #000000;
> }
>
> #link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
6px;}
>
>
> #nav a:hover{
> background-position: center -36px;
> color: #FFFFFF;
> }
>
> Then on each individual page, change this -
>
> </head>
>
> to this -
>
> <style type="text/css">
> #nav a#link4 {
> background-position:center - 36px;
> }
> </style>
> </head>
>
> (for link4, for example)
>
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> ==================
>
>
> "Webethics" <[email protected]> wrote
in message
> news:[email protected]...
> >
quote:
Originally posted by:
Newsgroup User
> > When they click on a button, do they go to another
page? And is each
> > button
> > uniquely identified?
> >
> > If so, then put a little stylesheet on each such
page that sets the
> > particular button to the down sprite settings,
e.g.,
> >
> > a#link6 { downspritevalues }
> >
> > --
> > Murray --- ICQ 71997575
> > Adobe Community Expert
> >
> >
> > This is the link to the page.
> >
http://www.patrickjudson.com/zitto_web1d.html
> > What state do I use to get this effect? The active
or the visited?
> >
> > I want the buttons to remain down when click or
even better, how do I
> > get
> > the
> > welcome button to appear down when a person visits
the page to show them
> > they
> > are at the home page.
> >
> > Thanks so much. Patrick
> >
> >
> >
>
>
>
> Hey! Murray, thanks very much for the efforts. However
I'm still confused
> as
> to where to insert the individual styles on each page.
>
> The pages already have a style sheet, in fact they all
share the same
> style
> sheet. The following codes below is what you instructed
but I'm confused
> as to
> where to insert them since the page already has a head
opening and closing
> as
> well as a style opening and closing tags. Can you please
add the codes you
> instructed so I can see where they go and how to
implement them?
>
> Thanks - Patrick
>
>
> Then on each individual page, change this -
>
> </head>
>
> to this -
>
> <style type="text/css">
> #nav a#link4 {
> background-position:center - 36px;
> }
> </style>
> </head>
>
> (for link4, for example)
>
>
>
> -
How to make the buttons INVISIBLE in the Application toolbar
Hi All,
I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
Thank you in advance.
Regards.
Paddu.Hi,
Try to use below in the PBO module status_0100 OUTPUT.
DATA t_fcode TYPE TABLE OF sy-ucomm.
refresh t_fcode[].
APPEND 'Function code name of the button' TO t_fcode.
Check the condition here for which you want to make field visible.
DELETE FCODE of the button from T_FCODE table
ENDIF.
SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode. -
How to make a button to stop and run a for loop?
How to make a button to stop and run a for loop? and if it is stopped it shall start from where i t stopped.
Your VI has some very fundamental flaws.
The start/stop button is outside the FOR loop, thus it will NOT get read during execution of the FOR loop, but only before the FOR loop starts. Think dataflow!
Thus the terminal of the start/stop button belongs inside the FOR loop.
Your FOR loop iterates 20x, which probably takes about a nanosecond. You will NOT be fast enough to reliably press the start/stop button during a specific iteration of the FOR loop.
Your code does not "stop and run" a FOR loop (sic). The loop always spins, but executes an empty case when "Stopped". I guess that's what you actually want?
Once you solve (2), the x indicator will contain a random value whenever you "stop".
As soon as the 20 iterations complete, the outer while loop spin an things start over, another nanosecond later.
Place e.g. a 500ms wait inside the FOR loop to solve this.
Don't place terminals of indicators on top of formula nodes.
Your formula does not produce any output, so really has no purpose.
Use a real "stop" button to terminate the while loop (mechanical action: latch when released). Right now you are using a plain switch, which does not reset to false before the next run. This means that you need to manually reset it before running the program again.
It is oftern useful to operate the VI in execution highlighting mode. You will immediately see that your button does not get read during execution of the FOR loop. Try it!
LabVIEW Champion . Do more with less code and in less time . -
How to make a Button to work Actively even if there is a mandatory field..?
Hi All..
How to make a Button to work Actively even if there is a mandatory field to be fulfilled..???
I am badly in need of this logic, as i have to incorporate in my code..
Points will be rewarded without fail..Hi Pavan,
I also faced the same requirement. U can do one thing like remove the obligatory keyword of that parameter/select-option. U can handle the same using the program in at selection-screen event. See this sample of code,
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_land1 for T005-LAND1 <b>[Needs to be mandatory]</b> no intervals no-extension.
SELECT-OPTIONS: s_panid FOR zoindex_val-zopanid.
SELECT-OPTIONS: s_effdat FOR zoexchrate-zedate.
SELECTION-SCREEN END OF BLOCK b2.
*-- AT SELECTION-SCREEN
AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
*-- Obligatory Country Code
IF s_land1[] IS INITIAL.
MESSAGE e050 WITH text-050.
"Please select the Country Code
ENDIF.
So whenever u do F8/Enter other than that push button, it will prompt u to enter the country code first then only u can proceed.
Hope this would help u in some way. Please do reward the helpful answers. -
How to make "Utility" button in Printer Setup Utility available
There, i add a printer in the Printer Setup Utility and select it. i want to open printer utility, but the "Utility"
button in Printer Setup Utility is dimmed. In addition,
"Printer\Configure printer" in the Printer Setup Utility menu is also dimmed.
How to make "Utility" button in Printer Setup Utility available?
Thanks in advance.Hi Jiong,
That button is to acess the printer utility for that particular printer, not all printers come with a utility. If you have the disk that came with your printer, you can see if it has a Macintosh driver, if it does then it mimght have the utility with it. It's pretty hard to run the utility on its own, its burried somewhere in the system so that's why you have that menu item. You can alternatively go on the internet and download the latest driver, which might have a utility. All the utility will do will give you options to check nozzle patterns, alighnement, ink tank levels, and cleaning options - just mimnor maintenence junk, non-essentials, etc. I think Tiger just comes with a whole heap of generic drivers for different printer lines, can't say for sure.
I wouldn't worry about it, especially if you have a relatively old printer.
Hope that helps
DKR -
How to make a button load a sprite from library??
PLEASE HELP!!
Hey everyone.. iv been looking for help for a few weeks but cant seem to find the awnsers
I am trying to create a newspaper that consists of four pages. Each page i have created and are sitting in the library as sprites. Each page has buttons that need linking so that when pressed it loads the next page or page that i want. This is the part i am confused with =/ how do i make the buttons on each page load the next page (sprite) from the library??
Basically i want to no how to make a button load a sprite from the library when clicked. Does anyone no the script for this?
Thanks for any helpA question arises as to whether or not you are posting in the right forum. Sprites are AS3 objects.
If you want to add movieclips to the stage from the library using AS2, then you need to assign them each an Identifier via right clicking them in the library and selecting the Linkage option... from there you slect the option to Export for Actionscript and then assign the Identifier.
You then use the attachMovie() method to make use of that Identifier to dynamically load the library object. -
HI PLS TELL ME HOW TO MAKE ROUND BUTTON ON FORM.
Rounded end buttons (e.g. Oracle Look and feel) are do-able in both 6i and 9i using PJCs in the 9i demos see the rollover button example, in 6i I seem to remember that there is a RoundedButton sample in the demos.
Both sets of demos can be downloaded from http://otn.oracle.com/products/forms.
If you want circular buttons then you'd have to use an Image for that. -
In Flex,how to make lost focus of textinput on enter click?
Hi
In Flex,how to make lost focus of textinput on enter click of keyboard ?
Thanks,
SunilHi vibhuti,
I got your point but it will not helpful to me.
But I found solution ,When user clicks enter key make stage.focus = null so it will lost focus on text input and make focus in my current Alert Box.
Thanks,
Sunil -
MORNING COMMUNITY, anyone know how to make the i4s forget a network - when the device won't give you that option?
if you dont have the options to forget network you can reset your network settings, but than the device forget all networks
settings > general > reset > reset network settings -
How to make my WRT54G see my WRT110 when my WRT54G is a client Bridge
How to make my WRT54G see my WRT110 when my WRT54G is a client Bridge?
It does not see any wireless signals in the status
I am using DD-WRT v24-sp2 (10/10/09) std-nokaid with the WRT54GYou should post this question on the DD-WRT forum since it is their firmware.
Maybe you are looking for
-
How to input color in a data sheet under dropdown
Hey, i have set up a drop down selection on the column per cell, but how can i define the select color and represent that on the datasheet example... Column name is "project status"----> drop down per cell options --> "TBD", "GREEN", "Yellow", "Red"
-
Sales order - entering customer material
Hello, We have list of machine part numbers which do not tally with a customer machine parts numbers. For example our part number is TSS0001 whereas Customers part number is 004-XVG-43966-1 Customer would like to have his own part number listed in th
-
Error Handling in Oracle GoldenGate
Hi: i connect two databses with Oracle GoldenGate in Active-Active bidirectional replication process. i required when any replicat fails it colud be sote in table with values. like i made the change in source database , while replicating it fails the
-
Lion client OD bind to Lion server - Authentication Failed
Authenticated bind enabed via terminal command. Client and server are up to date. I've been able to bind Leopard, Snow Leopard, and Lion clients over the last few weeks before this MacBook Air but for some reason it keeps failing with an authenticati
-
Cannot access tool options in CS4 please help
Last week it was working fine. Last night and today, I Cannot access the tools options by double clicking, and in the tool options bar it always says no selection even when I have selected a tool. I cannot reset because the tool selection icon is