Button rollover state plays again after click

Hello, I have made a portfolio in Flash 8 using Presentation
Screens. The intro and all the navigation buttons are on the first
parent screen. I have a rollover label animation on each button,
which plays fine on the first rollover, but also plays again after
a button click takes the user down to another screen. This seems to
be a glitch in the Screens feature, as my tests show that this is
not the case within a regular FLA document. Has anyone come across
this??
You can see the buttons in action at:
www.opcarto.com
Thanks

I had a similar problem whereby I had built my own "frame" - complete with custom "minimize" and "close" roll-over buttons at the top right corner. The problem was that when you minimized the frame, then re-maximized it, the "minimize" button stayed in its "rolled-over" state, for the same reason yours does - the mouse never officially "leaves" the button.
My workaround, which may or may not help you, was to call the processMouseEvent() method of the Component class (which is a parent of AbstractButton), whenever the frame is minimized. This seems to do the trick.
Note that processMouseEvent() is a protected method, so I had to override it and make it public in a subclass, so I could go ahead and call it.
You could do the same thing, but you would need to decide what event you would use to trigger the call (i.e. my event was minimizing the frame - your event might be mouseOver for your overlapping frame?? Might get a bit messy.... ;-)
Hope this helps!
M

Similar Messages

  • Embedded vimeo video playing again after clicking "done".

    On my personal website, and others I have visited, an embedded Vimeo video will play again from the from I last stopped at after clicking "done" to exit full screen mode. Have not being able to tell if this is an iOS 8 problem or a Vimeo problem. This is from within Safari and NOT the Vimeo app.
    On mobile you can see the issue here: www.davidnitzsche.com
    EDIT: After a test from a friends phone not running iOS 8 the issue was not present. This appears to be an iOS 8 issue.
    Thanks!

    You may need to enable third-party cookies (e.g. from visited).
    To see all History and Cookie settings, choose:
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *https://support.mozilla.org/kb/Options+window+-+Privacy+panel

  • Syncing Button Rollover States

    I'm building a website for myself (currently with the Muse trial, but I am planning to buy), and I have a question regarding button rollover states.  The site I'm building is an architectural photography website, and the general portfolio page has a list of subcategories in the left-side menu bar.  However, I also want to have thumbnail links to each of the subcategories in the main body of the website (see image provided).  The thumbnails are for the Educational and Municipal subcategories.  I have currently set up the rollover states for all the links in the left-side menu (to turn to the light blue that is seen on the active state of the Portfolio button), and I've set the rollover states for the thumbnails (to go to 50% opacity).  Is there a way for me to synchronize these rollover states?  I would like to see a thumbnail respond in its rollover state if I roll over its corresponding button in the left-side menu, and vice versa.
    Thanks!
    Rob

    Hi,
    To accomplish that you can use the composition tool tip. A transparent triger can be placed where your menu item is and the target will be on the image with an opacity of the 50%.
    However, this will only work in one direction and will not change the menu item when you roll over to the image.
    Regards,

  • Link to frame in button rollover state not working..

    Hi guys,
    What I use: Flash CS5 & Actionscript 3
    So I had my buttons working just fine and linking to a frame. But after adding a rollover state in which my button has grown in size it no longer links.
    Does anyone know how to get my buttons linking in their rollover state?

    var someObject:MovieClip;  // this is declared - only
    var someObjectMovieClip = new MovieClip(); // this is declared and instantiated
    Make sure your code uses aghains and not instancename like your code shows. 
    I don't think you understand the third and fifth items I listed either.  The third is saying that the code is not in the same frame as the item it is trying to target.  The fifth has to do with objects in consecutive frames, not linking.
    If you followed what I mentioned in the last sentence you should have a line number indicated in the error message that will tell you which line is causing the problem.  Whatever line that is, the object doesn't exist as far as the code sees it.  So if it was the line...
        instancename.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_28);
    I can guarantee you that there is no object named instancename in the frame where you have that code since it is the only object targeted in that line of code.

  • When hovering over button text it does not show button rollover state

    Hi
    I'm new to captivate and I'm looking for some help please.  I have created buttons with Adobe Flash and saved them in PNG format,  I have created an upState, overState and downState.  These are working really well when I use them in Captivate.  However when I add text to my buttons and rollover the text the buttons don't change state.  They only change state when I hover over the button itself (a bit without the text).
    Any help you can give me would be greatly appreciated.
    thanks

    No, if you cover up with text, and user clicks on text, the rollover state will not function.
    I have another work flow for translation (have tutorials in several languages as well). In previous versions I used Photoshop to create buttons, using layers and having the Text layer separately, so that to translate I only needed to change that layer. But I created the regular Captivate buttons (needing three PNG's for 3 states).
    In Captivate 6 I have almost replaced all butons by Smart Shapes used as button. Since the double as text containers, translating is now done in Captivate itself. But those shape buttons do not have a rollover functionality, can cope with that, I opt to show the hand cursor.
    Really, cannot help you if you want to stick with Flash buttons that have to be layered under a text caption, unless you make the flash button transparent where the Text has to go, so that you can put the text under the Flash button.
    Lilybiri

  • Flash 9 button sound bug? Sound in Over frame plays again when clicked

    I've been using Flash for years and I've only just noticed this problem, I guess because I haven't had much call for noisy buttons for a while. In the olden days (FlashMX and earlier) I swear that I could make a button, put a keyframe on the Over frame and attach an Event sound to it, put a keyframe on the Down frame and attach a different Event sound to it and the first sound would ONLY play when the button was rolled over and the second sound would ONLY play when the button was clicked. I just tried doing the same in Flash 9 and when I click on the button, not only does the Down sound play, but the Over sound also plays simultaneously. They're both in the same layer, but the "Over" sound only has its keyframe and the very next keyframe under "Down" is the Down sound.
    Switching the sync to Start makes no difference. Synching with Stop on the "Down" frame for the "Over" sound sort of works if there is no Down sound, but there's still a brief snippet of the sound. If I add the Down sound back on new layer, the original problem returns. Of course Streaming doesn't work at all.
    This is incredibly maddening, especially since I found this old tutorial on Kirupa that shows exactly what I want, and what I can no longer get in Flash 9, apparently:
    http://www.kirupa.com/developer/flash5/buttonsound.htm
    I've attached a demo .swf.
    Thanks in advance

    maijakg,
         You've stumbled onto a good one!  If memory serves me right, the Kirupa article indeed shows how this used to work (Kirupa is always top notch), but this behavior changed in one of the recent versions of Flash Flayer.  Not sure now if it was 8, 9, or what.  It should be easy enough to pinpoint with one of the legacy Flash Players at http://www.adobe.com/go/tn_14266.
         This issue is easy enough to address with ActionScript, which may not be what you want to hear.  Still, it's an option.    I'll go into that in just a minute.  If you want to stick with the button timeline ... well, I'm finding that this proves to be a challenge (and it really shouldn't be).  I notice, for example, that I can create an empty movie clip symbol, put my Over sound in frame 1 of that symbol (Event sound), and then drag that symbol into the Over frame of the button.
         That does keep the audio from repeating when I actually click the button -- that is, when I enter the Down frame -- so that does work.  You can put your Down audio directly into the button's Down frame, but ... using this approach, you'll hear the Over sound when you release the mouse, even if the mouse hasn't left the button.  That's because the movie-clip–with-audio in the Over frame is summoned again when the mouse lifts, and that naturally causes the movie clip in that frame to play its audio again.
         Here's how you can do exactly what you want using ActionScript.
    // ActionScript 2.0
    var overSound:Sound = new Sound();
    overSound.attachSound("sndOver");
    var downSound:Sound = new Sound();
    downSound.attachSound("sndDown");
    btn.onRollOver = overHandler;
    btn.onPress = pressHandler;
    function overHandler():Void {
        overSound.start();
    function pressHandler():Void {
        downSound.start();
         Here's what's going on.  In the first two lines, I've declared a variable -- arbitrarily named overSound -- and set it to an instance of the Sound class.  At this point, the variable overSound contains all the rights and priviledges of a sound object, because that's exactly what it is.  If you look in the Sound class entry of the ActionScript 2.0 Language Reference, you'll see that it has an attachSound() method (methods are things an object can do; they're basically verbs).  So in the second line, you'll see that I'm attaching an audio file from the library.  In ActionScript 2.0, this happens by way of a linkage identifier, which you can get to by right-clicking a sound and selecting Properties.  In the dialog box that opens, you'll see an "Export for ActionScript" checkbox.  Select that, and you can type in your identifier, which is just a unique label.  In this case, I used the same name as the variable (sndDown) -- only, the linkage identifier is referenced with quotes.
         In the second pair of lines, the same thing happens, but with a different sound.
         In the third pair of lines, I'm referencing the button symbol by way of an instance name.  To give a button an instance name, select it in the timeline and then look at the Property inspector.  You'll see an "instance name" input field.  Here, my instance name is btn, but you could choose whatever makes sense for that button's purpose.  In these two lines, I'm simply associating the Button.onRollOver event with one custom function (overHandler) and the Button.onPress event with another custom function (pressHandler).  Events are something an object can react to, and you'll see events listed in class entries too.  Because we're dealing with a button simple, the class in question is the Button class.  When a rollover or press occurs ... I want these custom fuctions to be triggered.
         Finally, the last few lines are the definitions for the custom functions.  One, overHandler(), invokes the Sound.start() method on the overSound instance of the Sound class.  The other, downHandler(), does the same for the downSound instance.
         The mechanics of the AS3 version are slightly different, but the principles are the same.  Instead of linkage identifers, AS3 has linkage classes.  When you select that "Export for ActionScript" checkbox in an AS3 document, the identifier input field will be disabled.  You'll enter an identifier-like value into the Class field, and the Base Class field will be filled in for you automatically with flash.media.Sound (just go with the default).  After that, the code goes like this:
    // AS3
    var overSound:sndOver = new sndOver();
    var downSound:Sound = new sndDown();
    btn.addEventListener(MouseEvent.MOUSE_OVER, overHandler);
    btn.addEventListener(MouseEvent.MOUSE_DOWN, pressHandler);
    function overHandler(evt:MouseEvent):void {
        overSound.play();
    function pressHandler(evt:MouseEvent):void {
        downSound.play();
         In this case, you don't need the attachSound() method anymore, because you're invoking the constructor function of each library sound itself (these are linkage classes, remember, and classes create objects directly).  The events are managed the same in princple.  Once again, each mouse event is associated with its corresponding custom function.  In AS3, this happens via the addEventListener() method.
         Finally, the custom functions invoke the Sound.play() method on each Sound instance.  Remember, these are instances of the Sound class, even though their linkage classes are actually sndOver and sndDown:  each of those inherits its functionality from the base class, which is Sound in both cases.  Note that in AS3, the method that starts audio is play(), instead of start().  Just minor differences in syntax.
         Granted, that's a lot to do -- in either version of the language -- just to associate a couple sounds with a button, but off the top of my head, it looks like scripting is the way it has to be done.  If I'm wrong, I'd love to hear about it.  Maybe there's a simpler workaround!
    David Stiller
    Contributor, How to Cheat in Adobe Flash CS4
    http://tinyurl.com/dpsCheatFlashCS4
    "Luck is the residue of good design."

  • Review Quiz - Audio plays again after reviewing

    Hey,
    I integrated an audio into my Quiz Result Slide. Its like "Here are your results. If you wanna see, what mistakes you did click on "Review" "
    Problem is, when user is reviewing and the last question in the Quiz was shown it  automatically shows the Result slide and PLAYS THE AUDIO AGAIN!
    How can I tell Captivate, 'Do not play this audio again. Stay mute.' or 'Jump to annother slide' ?
    I tried to find the script for the Review-Button, but couldn't figure out.
    Thanks for any help!
    Martin

    If this is the only audio, you could set the system variable cpCmndMute to 1 in the conditional action if the user variable has been toggled to 1. It will be a conditional advanced action, something like this:

  • Often songs won't play again after pausing.

    I have a black, 30GB video iPod I got back in October just a little bit after it came out. Up until about a little over a month ago, I had no problems with it. But lately, after I pause a song and turn off the iPod, and when I try to play it again, the song won't play! The "play" icon appears, but there is no progress. I can use all of the other functions, so it doesn't freeze, but the only way to fix it is to restart it, which I am doing most of the time now. According to other posts I've read, a lot of other people have had this problem. Does anybody have any information about this? Any way to fix it? Or does it need to be replaced? Any help at all would be appreciated!

    I am having the same problem. What seems to happen randomly, then I wake my iPod it sometimes does not play. I have the time in the title and it reads 12:00AM when the problem occurs. If I return to the main menu and then enter a different playlist the list is empty! Almost as if the iPod is not reading the HD or something. This can happen a dozen times a day or not at all. They only way to get things working again is to reset the iPod. I tried resorting the iPod but the problem continued.
    I made a visit to my local Apple Store and got my iPod replaced. I loaded all my content back (which includes music and video from all sources). To my dismay the problem continues. It is my conclusion that is not the iPod hardware (as I first thought). I am now thinking it may be some of the media on the iPod. When I get time I am going to restore the iPod and load it with only a few songs and no video (my music library is over 3,000 songs).
    Try putting the time in the title and see if it reads 12:00AM when the problem occurs.
    Although the iPod plays great (when it plays!) having to reset the iPod so often is annoying.

  • How to play sound after clicking on an object?

    Can anyone explain me how to play a sound in java when I click on a particular object? I have read lots of threads but couldn't find anything. All I want is a short sound(3,4 seconds) to be played each time I click on an object. I know I need to use Sound API but I cannot find anything helpful
    Thanks in advance

    flounder wrote:
    ProGenius wrote:
    I have read lots of threads but couldn't find anything.
    [I found lots of info|http://lmgtfy.com/?q=java+audioclip]
    that is knowing you can use audioclip. Even searching for "java sound tutorial" gives many good resources, including the sun trail:
    http://java.sun.com/docs/books/tutorial/sound/index.html

  • Why Can't I Get My Music to Play Again After an Update?

    Hi all
    I downloaded the latest update on my iPod.  Afterwards I found my purchased music would no longer play.  They show up on my playlists, and under My Music on my iPod, but they will not play.  They just skip to the next song.  I tried resetting, but the same issue exists.  Does anyone know how I can fix this problem without losing any of my songs?  Any help is appreciated.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    You can always redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Buttons to Page Destination Disappear after clicking

    I have a column of headers on the left side of my document that upon clicking, take me to the appropriate page. I click on the first two and it work beautifully. But I click on any others and the list and although it takes me to right page, all of the buttons disappear. Anyone know why this might be and how I can fix it?
    Thanks,
    Lauren

    The next time you have the problem, note the exact times when it starts and ends: hour, minute, second.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Scroll back in the log to the time you noted above. Post any messages timestamped during that interval – the text, please, not a screenshot.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • ¿Custom button with different size/shape for rollover state in Muse?

    Hello, i'm trying to make a custom button, that has one size/shape when normal, and other size/shape when rollover.
    The problem is that the area not visible in normal state is a hot area, so when then mouse rollover anywhere near, activates the button rollover state.
    So i think what i need is mask or something like that
    Is there a work around to do this? Is even possible in normal CSS - HTML5?
    Here is the website:
    http://www.audime.com/prueba/
    And here what i'm talking about:
    Thanks in advance!

    I'm not fully understanding the screenshot, but what you're describing sounds more like a Composition:Tooltip widget than a button.

  • Button rollover animation repeats

    I have an animation for a button rollover that is repeating
    after the mouse is released. Is there a way for me to stop this and
    have the animation play on the rollover only?

    Thanks again. I'm getting closer! I used to have 2 rollover
    repeats. The first was as you left the current page, the second
    just after arriving at the new page. The on(rollOut) got rid of the
    second one, but I still have a repeat immediately after release.
    AmI putting the code in the right place? Here's the action script I
    have for the button:
    on (release) {
    gotoAndPlay("HoAbout");
    on(release){
    _global.btnVar = true;
    on(rollOut){
    _global.btnVar = false;

  • How can i get my iphone to automatically play music after watching a video or something that requires audio

    I Have a iphone 5 and was wondering if there is a way i can get my music to automatically play again after watching a video or something that requires audio

    Is the jack not fitting into the top of the iPhone?
    If so then you would need this adapter for it to fit properly.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=3DB 4EB78&fnode=home/shopiphone/iphone_accessories/cablesdocks&nplm=TN546LL/A

  • When playing music from Ipod in my car, music suddenly stops and message appears to restore in iTunes.  After a few minutes, it starts to play again.  I hear a click and the apple logo shows on the screen.  Any ideas??

    When playing music from Ipod in my car, music suddenly stops and message appears to restore in iTunes.  After a few minutes, it starts to play again.  I hear a click and the apple logo shows on the screen.  Any ideas??

    You may need to do a Restore in iTunes.
    Clicking sounds from an iPod that has a hard drive is probably not a good thing.  It is possible that your iPod's hard drive is becoming unreliable.

Maybe you are looking for

  • Insert Textpool with dictionary reference

    Hi! I want to translate a textpool per down and upload in excel. I translate the downloaded textpool in excel and upload it for the new language. The problem is: if the parameters are with dictionary reference, it doesn´t work - after INSERT TEXTPOOL

  • Powerbook 180c Display Screen Troubleshooting

    Hello, I'm trying to repair at least one, and maybe two of my old standby 180c laptops. I do have a CD showing the physical take-apart illustrations. I'm looking for help in troubleshooting the Interconnect, Inverter, Daughterboard and/or Cousin Boar

  • Powering off the iPhone

    Okay, so I feel like a big idiot posting this, but I figured if I could save someone else the pain, I could redeem myself. Did you know you should power off the phone at least once a day for 30 seconds? You hold the top button down for 10 seconds and

  • I can't stop shutdown normal

    hi expert, i'm running the command shutdown, but it don't finish. sqlplus SYS/password#@TMPDB1 as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 10 14:08:51 2010 Copyright (c) 1982, 2005, Oracle.  All rights reserved. Connected to: Oracl

  • Exchange 2007 backup and recovery

    hi... I am using windows server 2008 and i installed exchge 2007 in that. who can i take backup only for my exchage 2007 log files and mailbox ect.... here i tryed using NTbackup utilities but it showing only the restore option in that utility.... He