|
-
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
-
Senior Member
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.
-
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;
}
-
Senior Member
I don't see how your code works at all the dynamic text field is always displayed
-
Senior Member
never mind maybe next time you could include the absolute path to the object. _root.tooltip.visible = true;
-
Senior Member
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|