Keep a button set to Hover once clicked

Hi,
I was wondering if there was a quick way to set a button to
it's hover state once clicked?
I know how to do this by having it be a movie clip and
changing its time line position onRollOver. onRollOut and
onRelease. I am just trying to do this quick using a button so
didn't want to deal with all that. Thanks!

it takes a bit of Actionscript - but yes, its possible. --and
instead of using a button, use a movieClip - and assign the actions
on the main timeline.
I'll use _xscale in my example, but you can do the same
thing, and just put your "rollOver effect" on frame 2, and use
gotoAndStop();.
mc.onRollOver = function() {
mc._xscale = 110;
mc._yscale = 110;
mc.onRollOut = function() {
if (testV == true) {
mc._xscale = 100;
mc._yscale = 100;
mc.onRelease = function() {
if (testV == false || testV == undefined) {
testV = true;
} else if (testV == true) {
testV = false;
}

Similar Messages

  • HT201398 I'm unable to re-install Whatsapp as the iTune Store keeps appearing the terms and condition, once i click the iTune Store. While on the term T&C page, there's no button for proceed. Cant do anything. Has anyone experienced it ?

    I'm unable to re-install Whatsapp as the iTune Store keeps appearing the terms and condition, once i click the iTune Store. While on the term T&C page, there's no button for proceed. Cant do anything. Has anyone experienced it ?

    Hi umawi,
    I understand that you are trying to reinstall an app from the App Store, but you are unable to accept the new Terms and Conditions for using the App Store. I have a few suggestions for you that may help you resolve this issue. First, I would like to recommend that you restart your iPhone and then see if the issue persists:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT201559
    If the issue is still present, try clearing the Safari History and Website Data, which is explained in the following article:
    Safari web settings on your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT201265
    To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.
    If it is necessary to take the above step and clear Safari information, you may want to restart the phone again before checking to see if the issue is cleared. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Making a button dissapear once clicked.

    Hi,
    I've created a button which makes a div appear. But what I want to know is make the button either dissapear once clicked or change its function and name to make the div dissapear.
    Problem is I have already used the onClick function, here is the code
    <script language="JavaScript">
    function setVisibility(id, visibility) {
    document.getElementById(id).style.display = visibility;
    </script>
    HTML:
    <p><a href="#" onclick="setVisibility('hidden', 'inline'); this.onclick=function() { return false; };";>See More</a></p>
          <div id="hidden"><time>12/10/2010</time>
          <br />
          <p>Production for No More's music video is under way amd will be with you soon. </p><time>12/10/2010</time>
          <br />
          <p>Production for No More's music video is under way amd will be with you soon. </p>
          </div>
    Any help would be appreciated.
    Tom

    Thats amazing as usual! Works perfectly.
    New problem: I've now added a "read less" button that then hides the 'hidden' div. It goes a little something like this:
         <p><a href="#" id="hoohaa" onclick="setVisibility('hidden', 'block');setVisibility('hoohaa', 'none');return false;">Read More</a> </p>
         <div id="hidden">
         <br />
         <p><a href="#" onclick="setVisibility('hidden', 'none');";>Read Less</a></p>
         <time>12/10/2010</time>
          <br />
          <p>Production for No More's music video is under way amd will be with you soon. </p>
          </div>
    Can I make it so when you click read less the 'read more' button reappears.
    Cheers
    Tom

  • How do I create buttons that once clicked and un clicked, alter an image? ...

    How do I create buttons that once clicked and un clicked, alter an image?
    So for example if I imported a psd file into Muse with 5 layers, could i create 5 buttons which, when clicked, each individually took off and added 1 layer?
    Basically this should make what i'm trying to say clear (when it's loaded click the arrow and you'll see): http://lust.nl/lustArchive/noordzee/noordzee.html
    Appreciate any help

    Hi Joe,
    Please use this option to hide the target on click - http://prntscr.com/3plqn0
    - Abhishek Maurya

  • Two questions: First, the homepage button on my browswer has stopped working. Once clicked, nothing happens. Second, when I try to upload pics to blogger, it says "Server Error".

    The homepage button has stopped on both my desktop and netbook browser, as about about a week ago. Once clicked, nothing happens. Yet all other browser buttons are working fine. Second, when I try to upload pics to blogger, it says "Server Error".
    The server error message on blogger happened about the same time, and although there have been rare occasions where it worked, but mostly it doesn't. I've tried a couple of times every day, and it's only worked twice. But I am able to do it on other browsers, leading me to believe it's a firefox problem. (For the record, blogger seems to have recently updated their pic upload feature).

    This usually happens if Spotlight is disabled on a drive. When you tried MacPilot, did it have an option to disable Spotlight? I haven't used the app, so don't know whether that is the case or not, but if it did and you inadvertantly, or even deliberately, disabled Spotlight then the Finder won't display anything but the most basic information about a file--thus you won't see dimensions or Last Opened, just size and dates created and modified.
    Francine
    Francine
    Schwieder

  • 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.
    Patrick

    Read 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)
    >
    >
    >
    >

  • Slideshow w/ timer, navigation problem (once clicked timing off)

    I have a AS3 flash slide show that uses the timer method with a wait() function to change slides.  So the preloader is on frame one and the first slide is on frame two and the second slide is on frame three and so on.  At each slide frame there is a wait(7) statement so that the swf moves ahead to the next frame every seven sec. When I create a nav element that uses the gotoAndPlay function to target each frame, everytime the nav is clicked and goes to the corresponding slide the timing of the slides is all messed up. 
    Can anyone help me by suggesting a solution to this?  I may be nieve but it seems that once the button in the nav is clicked the timer keeps going on the slide the user was on when the nav was clicked.  How can I clear the wait() timer on click?  When I just add a remove.EventListener to the button the function in the frame is not available to the button though they are both in the same frame.
    Below is the wait() I am using in the root stage timeline:
    function wait(duration:Number) {
        stop();
        var timer:Timer=new Timer(duration*1000,1);
        timer.addEventListener(TimerEvent.TIMER_COMPLETE, onWaitTimerComplete);
        timer.start();
    function onWaitTimerComplete(e:TimerEvent):void {
        e.target.removeEventListener(TimerEvent.TIMER_COMPLETE, onWaitTimerComplete);
        stage.removeEventListener(Event.RESIZE, onStageResize);
        play();
    Below is the code for the click inside the movieClip button:
    b1.addEventListener (MouseEvent.CLICK, onClick);
    function onClick( event:MouseEvent):void
    MovieClip(root).gotoAndPlay(2);
    THIS PROJECT IS LOCAL SO NO LINK AVAILABLE

    Look further int the Timerclass to see what other methods you can make use of.  It has a reset() and a stop() method that could get you what you want.  One thing you will probably need to do though is to decalre the Timer outside of the function so that it has scope outside of the function so thaat you can have other functions' code control it.

  • Hi guys , I have an iPhone 4s on 02 unlimited internet however every time i try to turn my personal hotspot on it just keeps on loading and i can't click on it.

    Hi guys , I have an iPhone 4s on 02 unlimited internet however every time i try to turn my personal hotspot on it just keeps on loading and i can't click on it.
    I have tried reseting network settings but it just keeps on loading.  I want to connect my ipad 3 to it. 

    Hi guys. i have worked it out but i go to
    Settings - General - Network - Then - It goes " Set Up Personal Hotspot " So click on it then it transfers me to the o2 website for help? How do you set it up? Once you go to the website it just says support questions etc.

  • Solution to buttons only being used once?

    Howdy.
    I've been using Captivate 4 for several E-Learning type (10 x 50page) modules recently and have hit a rather hefty wall of frustration.
    - I have several interactive sections within a Captivate module and several slides have clickable areas and text entry boxes in them.
    - I have a very basic navigation image button sitting at the bottom right hand corner of the screen for 'next slide'
    (and for the most part this is all thats needed)
    - However, there are several slides where multiple actions must take place to proceed to the next slide, and I would like the users to 'scan' through these steps if they wanted by using the button sitting at the bottom right hand corner. Unfortunatley I have found that if I have the image button set to 'Continue' it will proceed to the need action, text-entry, click box etc (which is what I want) but the button can only be used once, meaning they can't 'Continue' passed and onto the next interaction, but the next slide (Not what I want) and therefore skipping several steps.
    Is this 'one-time only' button usage a normal function ? (or one that can be altered ?)
    Skipping through several steps smoothly on the one slide via image button would be Extremely helpful to this module! It seems that placing many copies of the same button at each interval might have been a solution, but it wasn't (and also an extreme pain in the A.)
    Has anyone had solutions to a similar issue ? (the best I could come up with was 'Going Home')
    I get the feeling there is a simple solution hiding around the corner (please prove me right!)
    Any help would be most appreciated.
    CP.

    Hi there
    In addition to what Lilybiri offered, here is another thought.
    All interactive objects such as Click Boxes, Buttons, Text Entry Boxes and Question Slides will normally Pause playback until the end user interacts with them. Then they normally follow whatever action has been assigned to them.
    I might suggest setting the pause point very late in the slide time for your button. Either that or configure it so it isn't even available to be clicked until after the user has interacted with the last element. Then make the Button available. Before then you could insert a dimmed or "grayed out" button in its place as an image to indicate it's there, but not active.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Can you save your own theme and button set up so I can use the same format

    Can you save your own theme and button set up, so I can use this same format for similar content. I want to keep the button content and the theme the same without having to create it everytime? I am trying to streamline the process for multiple dvd's with the same menu and buttons but different content. Does that make sense?

    I am only new to this caper too, but I am pretty sure you can save a theme as a favourite by pressing the "save theme as favourite" button under file. If you have edited an existing theme but don't want to lose it, make sure you untick the replace existing button.

  • How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)

    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    3° Ive created buttons linking pages..
    - "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'
    - what should i do?
    5° Once i export it into Swf. how how can i visualize it? or put it online?
    Thank you for your time.

    stlbbl4u wrote:
    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    You should setup Object Styles - these can also include Paragarph Styles that can be triggered when the Style is selected.
    http://help.adobe.com/en_US/indesign/cs/using/WS5CEDB81A-0011-4dc9-9DE8-AC7AD4C80076a.html
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    I'm not sure what you mean - I don't do files with Animations
    3° Ive created buttons linking pages..- "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    Does it work properly when you export it to the finished file?
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'- what should i do?
    InDesign won't link directly to youtube videos. I think your best bet would be to use Downloader to download the video and embed them directly in Indesign.
    5° Once i export it into Swf. how how can i visualize it? or put it online? 
    Thank you for your time.
    You can look up how to embed a SWF file into your HTML - but it depends what you mean by "online" there's a dozen ways to get a file "online".

  • How can you hide a Continue button until all clickboxes are clicked?

    I have seen similar questions to this one, but none seemed to be the exact situation as mine.
    What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.
    What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.
    If anyone has some suggestions on this situation please let me know, thanks.

    I cannot log in on the forum for the moment, so will try by answering by
    mail. I was aware of that problem (have presented those solutions so
    often), thought that since you left all images visible once the click box
    was clicked it wouldn't be a problem.
    Two possible solutions:
       1. Easiest one: add a statement in the Always decision that will Hide
       the click box just clicked. It has no sense to click it another time. That
       will mean that you still can do it with a shared action but that shared
       action will have two parameters now, the second one being the click box
       that has to adapted on each application of the shared action.
       2. If you don't want to make the click box hidden (which means at the
       same time disabled), you'll need a user variable for each click box,
       starting with a default value of 0, and toggle it in the Decision 'Always'
       to 1. The second decision will then need a condition that checks the value
       of all the user variables (with AND) and shows the Next button only when
       all variables have the value of 1.
    Sorry, but have to mail, cannot offer a screenshot in that case.
    Lilybiri
    2014-03-13 5:31 GMT+01:00 Joseph_McDonald <[email protected]>:
        Re: How can you hide a Continue button until all clickboxes are
    clicked?  created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced
    Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043

  • After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    * Preferences that have been modified are shown as '''bold (user set)'''.
    * Preferences can be '''Reset to the default''' or changed via the right-click context menu.
    -> In the '''Filter bar''', type '''browser.sessionhistory.max_entries'''
    * Right click the preference '''browser.sessionhistory.max_entries''' and click '''Modify'''
    * Change value from 0 to whatever you want over 0 (Default value is 50)
    * click OK
    -> Close the '''about:config''' tab and then Restart Firefox.
    See this post:
    * https://support.mozilla.com/en-US/questions/860894#answer-229574
    Check and tell if its working.

  • Button Setting Variable - Text Field Not Updating

    Hi,
    I am working with Acrobat 9 Pro on Windows.
    I am unable to make the following work: When the user clicks a Button, a Text Field appears with the text associated with the Button clicked. I have tried accomplishing this with a variable declared in the Document JavaScripts, buttons setting the value of the variable, and a Text Field containing a Custom Calculation Script that returns the text associated with the value of the variable.
    Everything works - except the Text Field doesn't return the text associated with the value of the variable. I have an app.alert (for now) in the button scripts so I can see if the variable has the correct value - and it does - but when the Text Field appears - the text never changes.
    What I have observed: if I go back into the Custom Calculation Script of the Text Field and do nothing, go back out, go to Preview, and click on a Button, the text updates to the previous variable value (not the Button variable value I just clicked).
    So - I think - the Custom Calculation Script isn't seeing the new variable "on the fly". Even though the app.alerts are. I don't think this is a Field Calculation Order problem. But maybe it is. And this is where my brain power ends. Any suggestions would be greatly appreciated. Thank you.
    I have this in the Document JavaScripts:
    var ITrig = 1;
    I have three Buttons (want to have more) that will set the ITrig variable.
    Here is what I have in one Button:
    var Inpopup = this.getField("PartASectionIIInstructions")
    ITrig = 2;
    app.alert(ITrig);
    if (Inpopup.display == display.hidden) {
    Inpopup.display = display.visible
    Inpopup.setFocus();
    } else {
    Inpopup.display = display.hidden;
    I have this in the PartASectionIIInstructions Text Field in the Custom Calculation Script:
    if (ITrig == 2) {
    event.value = "#2";
    else if (ITrig == 3) {
    event.value = "#3";
    else if (ITrig == 4) {
    event.value = "#4";

    Thank you. I had tried something like that earlier - without success. That is why I went to the calculation script. So - I went back to the "Acrobat Forms - JavaScript Object Specification" looking for an answer. It finally sunk in I was guilty of this:
    var Inpopup = this.getField("PartASectionIIInstructions").value
    Inpopup = "#3"
    When I should have been doing this:
    var Inpopup = this.getField("PartASectionIIInstructions")
    Inpopup.value = "#3"

  • IPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    My daughter's iPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    VoiceOver is an Accessibility feature while Voice Control allows you to control the Music app via voice.
    To turn off VoiceOver triple click the Home button and go to Settings>General>Accessibility and turn it off. Use three fingers to scroll if necessary.
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    iOS: Getting started with VoiceOver for accessibility

Maybe you are looking for