Free ActionScript
Home
AS3 Scripts
AS2 Scripts
Resources
About
Contact
This is a dynamic tooltip window script that sizes and positions itself based on tooltip content size and location on the screen. It calculates it’s own size and current location, and if outside of the stage, reposition itself to remain always visible.
Download Fla Sample
There is one small problem which I notice, if you click and drag, the box stays on the cursor.
Thanks Stapled, I updated the fla with a fix.
Sweet, thanks
I got a question… How do you make the boxes a link to another scene without the tooltip from the original box appear
Hi gotbitey,
You can call the hideTooltip() function to hide the tooltip, before you use gotoAndStop to go to a different scene.
Thanks for sharing this script. I’ve been able to adapt it on a movie I’m working on and it works well. However, I’m using attachMovie from a main .fla to bring this second movie in and I’m not sure how I should adapt the script so that it works from a different _root. I’ve tried this and _parent but neither worked.
Don’t worry about my previous comment. I don’t think I’ve changed the script at all but today it’s working fine. Thanks you.
Glad to hear that marion
Hello,
the dynamic Tooltip (DT) is great and very useful for many applications. As a newbie, I start learning flash using AS3. I would like to work on the DT to treat it as a class or package. Any hint, advise or link to help me accomplish this task will be extremely appreciated.
I thank you in advance for your help.
Jamel
jameldj,
It shouldn’t be too hard to convert this to AS3. Just use addChild instead of attachMovie to show/hide the tooltip.
Hey, thanks alot for providing these.
One question, I’ve never really done it but how important is it to do this:
delete tootip_mc.onEnterFrame; removeMovieClip(tooltip_mc);
Instead of just doing this:
removeMovieClip(tooltip_mc);
Cheers.
Hi JFlash, I believe that doing just removeMovieClip(tooltip_mc) would remove the onEnterFrame as well.
Hey Having trouble with the flash file… the header and description is not rendering correctly. Im a newby, so any help would be great FlyingS
Hi FlyingS,
You need to embed the fonts for each textbox in the tooltip, otherwise you’ll get that weird error.
Is there a way to fade in/fade out the tool tips on rollover?
Thanks for the tutorial, this works great!
pradvan November 24, 2011 at 12:00 pm Hi curvwind8, Yes there is a way to do that. I would suggest using GreenSock’s TweenMax to do just that. If you’re having trouble figuring it out, please seek help on AS forums listed on the Resources page. Thanks, PR Log in to Reply
Hi curvwind8,
Yes there is a way to do that. I would suggest using GreenSock’s TweenMax to do just that.
If you’re having trouble figuring it out, please seek help on AS forums listed on the Resources page.
Thanks, PR
hi im fateme and i am iranian i dont know english a lot i hope u understand me for this tooltip thank a milion but i want more example for best wishes for you
You must be logged in to post a comment.
AS3 Effects
AS3 Gadgets
Game Examples AS2 Effects Animated Effects Dynamic Enemy AI Game Engine Game Weapons Images Interface Math Security
Effects Animated
Effects Dynamic
Enemy AI
Game Engine
Game Weapons
Images
Interface
Math
Security
Game Examples AS3 Basics Bitmap Blitting Collision Detection Enemy AI Movement Physics Space Shooter User Interface Weapon System
Basics
Bitmap Blitting
Collision Detection
Movement
Physics
Space Shooter
User Interface
Weapon System
Site Updates
718Hosting.com
Actionscript.org Forums
Flash Game Blogs
Flash Game License
Flashkit Forums
gotoAndLearn
IndieGames.com
Kirupa’s Tutorials
Kongregate Forums
MochiAds Resources
Philip Radvan
Photon Storm
Polygonal
Radvan Media
Tonypa’s Tutorials
Register
Log in
Entries RSS
Comments RSS
WordPress.org