A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Tooltop sticks after a few clicks

Hybrid View

  1. #1
    Member
    Join Date
    Feb 2004
    Location
    St. Louis, MO
    Posts
    65

    Tooltop sticks after a few clicks

    I have a site with a portfolio section that has thumbnails with tooltips. When you click each thumbnail, an area changes to reveal more about each piece.

    http://www.arocreative.com

    For some reason, after you click a few of the thumbnails, at some point the tooltip willstick and not leave the curser for the duration of the time you are on the site. I have found no consistency in when it sticks which makes it very hard to track down. My actionscript skills are limited so some of this is a little clunky. I have tried over and over to track this bug down but to no avail. Any advice would be appreciated. The .fla is attached.

    http://www.arocreative.com/Index.fla

  2. #2
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    yeah I hate those tooltips I used to have the same problem so I came up with a better solution....I create a text field with a tooltip and then make it into a movie clip then delete it from the stage then call it from the library with attachmovieclip on rollover ...its stationary that way and you can place it anywhere you like and style it advanced ...its also alot less code than those other stupid tool tip tutorials I've used....oh yeah don't forget to remove the movie clip with removemovieclip on rollout.

  3. #3
    Member
    Join Date
    Jan 2006
    Posts
    95
    i would just have a code on the thumbs that looks like this
    i didnt look at your FLA

    on(rollOver){
    toolTip.visible = true;
    }
    on(release, rollOut){
    toolTip.visible = false;
    }

  4. #4
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    I don't see how your code works at all the dynamic text field is always displayed

  5. #5
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    never mind maybe next time you could include the absolute path to the object. _root.tooltip.visible = true;

  6. #6
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    oh and another thing it will get stuck if you are hover over the button and you press the button then move off the button without releasing the mouse.

  7. #7
    Member
    Join Date
    Feb 2004
    Location
    St. Louis, MO
    Posts
    65
    Thanks for the input folks. It seems that my problem is in the swapDepths of the tooltip. I don't have it perfected yet, but it's getting better. Thanks again all.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center