Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7696205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:43:32+00:00 2026-05-31T21:43:32+00:00

I am trying to make a custom Flex tooltip a la this tutorial .

  • 0

I am trying to make a custom Flex tooltip a la this tutorial. It’s basically just a bunch of labels showing a colour legend. This all works fine and well when the tooltip shows from the button event toolTipCreate:

<mx:Button label="ToolTip example" toolTip=" "
  toolTipCreate="toolTipCreateHandler(event)" />

However, I want to show the tooltip when the button is clicked and not wait for the actual tooltip delay. (In this sense, I’m not even sure if the terminology “tooltip” even applies anymore, but that’s for another time). I call the same handler with an instantiated ToolTipEvent being passed as the argument:

<mx:Button label="ToolTip example" toolTip=" "
  click="toolTipCreateHandler(new ToolTipEvent(ToolTipEvent.CREATE, false, false, instanceOfMyCustomToolTip))" />

However, this doesn’t work, and it’s driving me up the wall trying to figure out how to do this. This doesn’t seem like such an uncommon thing to do, but every example I find on the internet uses the actual tooltip delay instead of a button click. Any help would be appreciated.

P.S. – I want to do it as a tooltip specifically so I can try to get the little “balloon tail” as shown here.

EDIT: I have also tried ToolTipManager.createToolTip in the click event of the button, but this doesn’t work either.

<mx:Button id="ttt" label="Tooltip test"
  click="ToolTipManager.createToolTip(' ',75,75,'errorTipBelow',instanceOfMyCustomToolTip)"/>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:43:33+00:00Added an answer on May 31, 2026 at 9:43 pm

    After much research, this is impossible in its current form. Here is what should work:

    <mx:Button id="ttt" label="Tooltip test"
      click="createTooltip()"/>
    
    private function createTooltip():void {
      ToolTipManager.toolTipClass = MyCustomToolTip;
      ToolTipManager.createToolTip('any text here');
    }
    

    At this point, the ToolTipManager should create a new tooltip using the class specified in ToolTipManager.toolTipClass. However, due to a yet-unresolved bug in the Adobe Flex SDK, ToolTipManager.createToolTip ignores this class and always uses the default class ToolTip.

    So nothing short of a monkey patch will get this to work correctly. Found info on this bug (and corresponding patch) in this blog post. The post talks about Flex 3, but this bug is still unresolved as of Flex 4.5.1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a custom view in Django admin. I'm reading from this
I'm trying to make a custom Callout view for AnnotationView. I had seen this
I'm trying to make a custom Callout view for AnnotationView. I had seen this
I'm trying to make a custom dialog to show a view in this dialog.
I'm trying to make a custom context menu. I'll eventually put in all the
I'm trying to make a custom report. I've just put some test code on
Trying to make a custom :confirm message for a rails form that returns data
I'm trying to make a custom infowindow. Version = 2. I have added my
I am writing a custom session handler in PHP and trying to make the
Im trying to make custom icons for my HTC EVO, which is running Cyanogen

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.