Jan 22 2010

Tooltip Class

Category: Utilsadmin @ 6:55 pm

You might have seen a lot of tooltip classes around the net, but this one is very special! it’s so OOP!! and you can initialize it only once in your project and use it from ANYWHERE inside the deepest layers or classes and it will always be shown on top of everything. it is accessable from everywhere. This is a Pure coding AS3 tooltip class. Everything will be created on runtime. you will have very detailed documentations and help notes and even sample files to see how you should work with this class.

CHECK OUT THE DEMO HERE

just to give you a brief:

1) Import the tooltip classes.
2) initialize the tooltip and add it to the stage like:

1
this.stage.addChild(myTooltip);

3) show the tooltip whenever you need it from anywhere in your project by calling its name:

1
2
var theTooltip:* = this.stage.getChildByName("tooltipName");
theTooltip.showText("<font face='Arial' color='#000000'>This is a tooltip!</font>");

It’s worthy to mention that the tooltip class is using our Bg class. you can read the Bg documentations and use its features in the tooltip class and enjoy it.


Documentation

Read the Tooltip Documentation here. or download them for your offline review here.



BUY NOW

Currently being sold on Activeden

Regards,
Hadi

Tags: , , , , ,

10 Responses to “Tooltip Class”

  1. Eran Jalink says:

    Hi, I’ve purchased the Tooltip class from activeden, and it’s working great so far.
    The only thing I’m not able to do is, when using the ImgBg type, to also apply a stroke around the tooltip.
    is there a reason this wasn’t implemented, and is there a workaround?
    thanks in advance,

    Eran Jalink

    • admin says:

      Eran, you’re right, this is not included because there’s an easy workaround! you can simply modify your image and put the stroke in the image to Begin with :)

      Hadi

  2. Eran Jalink says:

    haha, thanks… in fact I was doing just that.
    I now probably should make a photoshop action out of it, since I have to apply it to 100+ images :(

  3. juan camilo says:

    Buy the tooltip component and throws me this error that be?

    1180: Call to a possibly undefined method addFrameScript.
    thanks

  4. juan camilo says:

    Buy the tooltip component and throws me this error that be?
    thank
    sample\FLA.as, Line 1 1180: Call to a possibly undefined method addFrameScript.

    • ali says:

      Hi, I’m not the author of this class, the author is Hadi my brother and he is gone for 2 months, but I try my best to help you on this.

      This error only comes up when you are trying to calling a method that there is no where, a method like addFrameScript…

      In the file that you have downloaded, if you open up one of the FLA files and take a look at the FLA.as, you clearly see how to use them and the files don’t throw any errors!

  5. juan camilo says:

    well after some good changes to the example code works now trying to implement at my work and more mistakes surprise hooo look far achieved after removing a lot of mistakes but I think this is the last
    ActionScript 3 Error # 1061: Call to undefined method addEvent to Possibly through to reference with static type flash I hope I can not give me an answer because I have not received the file only works as an example but integral to a job and only errors with Like other functions and solve it another way but this seemed to me good but I was disappointed completely Work Related

    • ali says:

      Hi, the original download files don’t throw any errors! maybe your download was damaged, you can try downloading your purchased package again… and again this is something similar to last errors. maybe you are using some classes without importing them… this is all I could do and I could get from your writings, if you think you need me to take the time on your files, you can contact me from my profile page on AD and I review your details and can do your work as a custom work with our hourly rates. I hope, I could help you on this, thanks

  6. gume says:

    Thanks for taking the time to discuss this, I really feel strongly about it and love studying extra on this topic. If doable, as you achieve expertise, would you mind updating your blog with extra data? It is extremely useful for me.

  7. jpmoreau says:

    Hi,
    Please show me
    How insert the text of tooltip into the image png ?
    Thanks

Leave a Reply

*