[FB4] Custom ToolTip Implementation?

Hey all,
I searched the web and these forums but I can't seem to find info on customizing or creating custom toolTip's with Flash Builder 4. Does anyone know how to implement custom designed toolTip's or know of a good resource to check out?

Wow, I was just researching the same!
I'm trying to build a tooltip that can contain any other components. Can this be achieved using the built-in tooltips or by extending them?
I would like to use the built-in tooltips for their features like drop-shadow, auto-positioning, and the little pointer indicators.
Thanks!

Similar Messages

  • Gradient background color for custom tooltip

    Hi,
    I have created a custom tooltip where I am using light gray as background color.
    (I have created a separate custom tooltip component.)
    Now user wants to have it with a gradient effect (is that what its called?).
    Basically, this gray color should be more dark at the top region of tooltip.
    This color should gradually go lighter from top to bottom.
    Can you tell  me how this can be done?
    Thanks and regards,
    Amey

    Hi,
    Thank you for reply.
    Can you please tell me where do I have to set this?
    This is how my custom tooltip component looks: -
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
             implements="mx.core.IToolTip" width="{txtBody.width + 20}" height="{txtBody.height + 20}"
             backgroundColor="#E0E5E8"
             cornerRadius="10" horizontalAlign="center" paddingTop="5">
        <mx:Script>
            <![CDATA[
                [Bindable]
                public var bodyText:String;
                //  Implement required methods of the IToolTip interface;
                //  these methods are not used in this example, though.
                public var _text:String;
                public function get text():String {
                    return _text;
                public function set text(value:String):void {
            ]]>
        </mx:Script>
        <mx:Text id="txtBody" htmlText="{bodyText}" textAlign="left" />
    </mx:VBox>
    And I want background color '#E0E5E8' to be varying in shade from top to bottom

  • Errors randomly in my custom tooltip

    Im getting these errors randomly in my custom tooltip:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::positionTip()[E:\dev\4.x\frameworks\projects\f ramework\src\mx\managers\ToolTipManagerImpl.as:1146]
        at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::targetChanged()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\ToolTipManagerImpl.as:852]
        at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::checkIfTargetChanged()[E:\dev\4.x\frameworks\p rojects\framework\src\mx\managers\ToolTipManagerImpl.as:744]
        at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::toolTipMouseOverHandler()[E:\dev\4.x\framework s\projects\framework\src\mx\managers\ToolTipManagerImpl.as:1565]
    some of the tooltip:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" implements="mx.core.IToolTip"
              xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.core.IToolTip;
                [Bindable]
                public var dataItem:Object;
                //  Implement required methods of the IToolTip interface; these
                //  methods are not used in this example, though.
                public var _text:String;
                public function get text():String {
                    return _text;
                public function set text(value:String):void {
            ]]>
        </fx:Script>
        <mx:Image source="http://intranet/Intranet/EmployeeSearch/images/{dataItem.staffID}.jpg"/>
        <mx:Form paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10" verticalGap="1">
            <mx:FormItem label="Branch name">
                <mx:Label text="dataItem.NAME"/></mx:FormItem>
            <mx:FormItem label="Staff name">
                <mx:Label text="{dataItem.staffName}"/></mx:FormItem>
            <mx:FormItem label="Excessive Wait">
                <mx:Label text="{dataItem.wasExcessiveWait}"/></mx:FormItem>
            <mx:FormItem label="Eye contact">
                <mx:Label text="{dataItem.wasEyeContact}"/></mx:FormItem>
            <mx:FormItem label="Commission">
                <mx:Label text="{dataItem.commision}"/></mx:FormItem>
            <mx:FormItem label="Ex-Rate">
                <mx:Label text="{dataItem.exchangeRate}"/></mx:FormItem>
            <mx:FormItem label="Round up &gt; £5">
                <mx:Label text="{dataItem.wasRoundUp}"/></mx:FormItem>
            <mx:FormItem label="Trade-up attempted">
                <mx:Label text="{dataItem.wasTradeUpAttempted}"/></mx:FormItem>
            <mx:FormItem label="Offered other products">
                <mx:Label text="{dataItem.OfferedOtherProducts}"/></mx:FormItem>
            <mx:FormItem label="Wallet offered">
                <mx:Label text="{dataItem.wasWallet}"/></mx:FormItem>
            <mx:FormItem label="Thank you">
                <mx:Label text="{dataItem.wasThankYou}"/></mx:FormItem>
            <mx:FormItem label="Wished Pleasant Trip/Day">
                <mx:Label text="{dataItem.wasWishedPleasantTrip}"/></mx:FormItem>
            <mx:FormItem label="Branch appearance">
                <mx:Label text="{dataItem.branchAppearance}"/></mx:FormItem>
            <mx:FormItem label="Customer service">
                <mx:Label text="{dataItem.customerService}"/></mx:FormItem>
            <mx:FormItem label="userID">
                <mx:Label text="{dataItem.userID}"/></mx:FormItem>
        </mx:Form>
    </mx:Panel>

    I got round it by doing this:
        <s:Label text="Data" id="Comment" >
                                                    <s:toolTipCreate>
                                                        <![CDATA[
                                                        var toolTip:pa = new pa();
                                                        toolTip.dataItem = data;
                                                        event.toolTip = toolTip;
                                                        ]]>
                                                    </s:toolTipCreate>
                                                </s:Label>

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • How to display cusomized custom tooltip(jwindow)  in jtable cell position

    Hi,
    i am trying to display custom tooltip for jtable cell. i created custom tooltip(jwindow) and on mouseover of jtable cell i am trying to display the custom tooltip.
    But it is not display the position of jtable cell. How to display the exact position of jtable cell
    please help me on this.

    Did you read the posting directly below yours which was also about a custom tool tip?
    JScrollableToolTip is buggy
    The code presented there shows the tool tip in the proper location.
    For more help create a [url http://sscce.org]SSCCE, that demonstrates the incorrect behaviour.
    Don't forget to read the "Welcome to the new home" posting at the start of the forum to learn how to use the "code tags" so posted code is formatted and readable.

  • Can Wcf-Custom Adapter implement Wcf-WebHttp Functionality?

    Can the Wcf-Custom adapter implement the same functionality as the Wcf-WebHttp adapter in BizTalk 2013? In particular, can it provide the same functionality as the operation map and the variable map? If not, is there any other way to provide Wcf-WebHttp
    functionality without hosting an adapter in IIS with an isolated host?
    Thanks!

    Yes, but...
    You can set the mappings on outgoing messages with some new Context Properties.  This describes how to do it on a Dynamic Port, but it should work the same on a static port. 
    http://masteringbiztalkserver.wordpress.com/2013/11/11/calling-restful-service-using-dynamic-send-ports-biztalk-2013/
    The receive side is a bit different since I'm 97% sure all the mapping happens in the BizTalk Adapter (WS-WebHttp) not any of the binding elements.
    However, you can essentially replicate that functionality with a Custom Pipeline Component.  In that case you would use the WCF-Custom Adapter with the webHttpBinding.

  • AnyChart 5.1.2 custom tooltips

    Hello,
    I'm trying to create a 2DLine chart using Apex 3.1.1. and AnyChart 5.1.2 with the Integration Kit. I would like to know if it's possible to incorporate additional text values from the dataset in the tooltips by modifying the chart series / chart XML in Apex? I've looked at the AnyChart documentation regarding custom tooltips, and it seems possible using <attribute> tags, but I don't understand how to access the additional values from my table. Is this possible without writing the XML from scratch? Thanks.
    Lisa

    Hello,
    I assume you're talking about this page -
    http://anychart.apex-evangelists.com
    Take a look through those steps listed on that page, if you're still having problems, drop us a mail to [email protected] and we will help you out.
    Thanks,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Choosing custom control implementation

    Hello,
    Is there a way to specify the custom controls' implementation to be used (eg. specifying which jar to use, at server startup)?
    Since the controls variables point to an interface, I was wondering if there is any mechanism to specify which control implementation to use. So I could plug the control's - dummy, test or production - implementation without changing the clients of my controls.
    Thanks for help,
    Yves

    Hi,
    For report,, include the following statement
    CALL SCREEN 100.
    Double click on number 100 , Then CLick on Layout ..and follow the same steps as Dialog programming i.e. Drag & drop the Custom Control, assign a name to it & activate
    Best regards,
    Prashant

  • Custom filesystem implementation

    Hello there!
    We are looking for a way to implement distributed application using Hadoop/HDFS (http://lucene.apache.org/hadoop/). We would like to know - is there any way to provide custom filesystem implementation for BDB JE so it will use it rather than java.io-based classes?
    Probably it is possible to introduce additional layer between JE core classes and introduce additional layer of abstraction for underlying filesystem?
    Thank you in advance.

    Hi Eugene,
    You could try replacing the filesystem calls in JE by modifying this source file:
    src/com/sleepycat/je/log/FileManager.java
    However, when you say you want a "distributed application" you'll have to define specifically what you mean. By putting a distributed filesystem under JE, you could store the data on multiple disks on multiple hosts. But that won't allow multiple processes to access the data. JE is limited to:
    1) A single writer process can make changes to Databases in the Environment.
    2) Multiple reader processes are supported, but readers do not see changes made by the writer after opening the Environment. They see a snapshot of the data as of the time they open the Environment. To see changes made by the writer, the readers must close and re-open the Environment.
    When replication (High Availability) is added to JE, then JE will support multiple reader processes that see changes made by the writer as they occur.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JPanel custom tooltips in JTree not showing

    Hi,
    I use a custom TreeCellRenderer in a JTree like
    MyTreeCellRenderer extends JPanel implements TreeCellRenderer
    The panel contains two JLabels, each with a different tooltip. Although I register the tree, the panel and the two labels with the tootipmanager, no tooltips are showing up. Any idea?
    Thanks,
    Ulrich

    I'll provide my own answer:
    As it currently stands Logic Apps require a "default" response to be defined in the swagger. This is not implemented by default by an API app out of the box, but can be done relatively easily by adding a Swagger OperationFilter.
    That is to say in the
    public void Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)
    method of the filter you will need to ensure that the operation.responses dictionary contains an entry keyed with 'default'.
    Microsoft's provided connectors contain a reference to a "Microsoft.Azure.BizTalk.Adapters.SwaggerGenerator.dll" contains a OperationFilter that will do this for you if you don't want to write one yourself.
    Final note: Having spoken to MS about this issue it is currently under review and will hopefully be resolved in a future version of LogicApps so hopefully this will all disapear.
    Edit: Also see http://blogs.msdn.com/b/hosamshobak/archive/2015/03/31/logic-app-with-simple-api-app-with-inputs-and-outputs.aspx

  • Need expertise opinion on ADF custom BackEnd implementation

    Hi all,
    Jdeveloepr version: Studio Edition Version 11.1.1.5.0.
    I am working on an ADF application and trying to go with the following implementations which are currently working fine while unit testing (me alone- single user) . I would like to have a expert opinion as whether this would be a scalable solution for an application which will support multiple users simultaneously . I am very new to ADF framework , so please advice
    -The page are mostly inside bounded taskflows, which are nested and having backing beans are different scope. The backing bean is talking to a service layer (java classes ) to call the Webservice layer few database tables and then integrate and process the data to be shown on the front end.
    (we have decided to opt out of drag and drop technique in ADF, due to some UI design reasons and large Webservice calls, though it is possible as mentioned by some experts)
    The questions are based on the Database interaction, we have created an appmodule which has several VOs abased on entity objects and accessing them programmatically from the service layer like
    1. Get the appmoduleDatacontrol via the id name in Databindings.cpx and get corresponding VO implementation classes to invoke custom methods written inside. How good would be the connection pooling and state management of the application modue in production environments.
    2. for insertion - we call createROW on VO implementation and call an commit on the row implementation classes after adding detials to the new row.
    3. for select op- we create filter criteria on the view and apply them programmatically to get the rows.
    4. for update- get the row using the filters VO and manipulate the row using RowImpl classes and do a commit on then. (a commit on VO or commit on RowImpl, which would be better?)
    Any pointers to tutorials/Blogs related optimizing and testing this implemtnation to this would be really helpful.
    Thanks,
    JSWL

    Hi all,
    Jdeveloepr version: Studio Edition Version 11.1.1.5.0.
    I am working on an ADF application and trying to go with the following implementations which are currently working fine while unit testing (me alone- single user) . I would like to have a expert opinion as whether this would be a scalable solution for an application which will support multiple users simultaneously . I am very new to ADF framework , so please advice
    -The page are mostly inside bounded taskflows, which are nested and having backing beans are different scope. The backing bean is talking to a service layer (java classes ) to call the Webservice layer few database tables and then integrate and process the data to be shown on the front end.
    (we have decided to opt out of drag and drop technique in ADF, due to some UI design reasons and large Webservice calls, though it is possible as mentioned by some experts)
    The questions are based on the Database interaction, we have created an appmodule which has several VOs abased on entity objects and accessing them programmatically from the service layer like
    1. Get the appmoduleDatacontrol via the id name in Databindings.cpx and get corresponding VO implementation classes to invoke custom methods written inside. How good would be the connection pooling and state management of the application modue in production environments.
    2. for insertion - we call createROW on VO implementation and call an commit on the row implementation classes after adding detials to the new row.
    3. for select op- we create filter criteria on the view and apply them programmatically to get the rows.
    4. for update- get the row using the filters VO and manipulate the row using RowImpl classes and do a commit on then. (a commit on VO or commit on RowImpl, which would be better?)
    Any pointers to tutorials/Blogs related optimizing and testing this implemtnation to this would be really helpful.
    Thanks,
    JSWL

  • General Ledger Account Custom Clearing - Implement Custom Algorithm

    Hi,
    We have a situation where we have a lot of entries that fall into a clearing account within the balance sheet.  These entries are currently being cleared manually, because to the best of my knowledge the Automatic Clearing Program F.13, cannot cater for the logic performed by the users manually clearing the account.
    The Entries in the clearing account do not simply conform to the criteria as defined in OB74.  I was wondering if anyone else has got any ideas no how we can implement a custom clearing routine with far more complex logic than F.13.  Will this likely be a custom ABAP program that i will need to write?
    Thanks,
    Steve

    ps has different tables and have different calculations done on them to extract the data, your best bet is to search help.sap for oco_om_nwa_1, nwa_2 extractor and go through the list on which extractor is brining in what. then create a cube or multiprivder to satisfy your need.

  • Custom tooltips on maps (OBIEE 11.1.1.5)

    Is it possible to customize the tooltips on maps (i.e. add custom text, change the fonts used, remove unwanted columns)?
    I am using OBIEE 11.1.1.5.
    Thanks in advance!

    I know that Iphone has an APP to view our dashboard, but I don't try yet. But...for other smartphones (like Samsung or Nokia) is possible to get a correct view? In obiee 10g I can see the same distribution like computer (with safari explorer on Iphone) but in obiee11g it changes...
    THanks!
    Edited by: Alex1 on 03-ago-2011 2:36

  • OWSM 11g: Custom policy implementation

    Hi all,
    I am unable to replicate the example as discussed in the section 14 of Security and Administrator’s Guide for Web Services 11g Release 1 (11.1.1) B32511-03, April 2010. I am applying the custom policy on a osb (11g r3) proxy service. Kindly take a look at the steps mentioned below & suggest suitably where i may be going wrong:
    1. Creation of the IpAssertionExecutor class which holds the implementation logic (same as Step 1)
    2. Creation of the policy-config.xml file (same as Step 2)
    3. oracle.logging-utils_11.1.1.jar was also added to compile the above class.
    4. IpAssertionExecutor Class & policy-config.xml were added as a jar file as mentioned in page no: 4 of the following link: http://www.scribd.com/doc/25941008/How-to-Create-OWSM-11g-Custom-Policy-Assertion (same as Step 4)
    5. Updation of classpath (same as Step 5)
    6. Creation of oracle/ip_assertion_policy file (same as Step 2)
    7. Importing the Custom Policy File (same as Step 6)
    8. Attaching the Custom Policy to a Web Service or Client (same as Step 7)
    For testing purpose, i used soapui and specified the bind address in the request properties. However, the policy is not working as desired.
    Additionally, i hardcoded the String ipAddr (ip address) in the IpAssertionExecutor class & redeployed the jar. But still couldn't get it working.
    I shall be obliged if someone can help me.
    Thanks in advance

    In the security tab for your OSB Service, ensure that you set the radio button for processing of ws header. Otherwise no policies appear to be called.

  • Custom Expiry Implementation Advice Needed

    Hi Guys,
    I need help identifying best implementation approach.  A requirement is to transitionally persist data that is getting expired from a cache to either MQ queue or a database.  Here I need to make sure if persistence operation fails (ie database/mq is down), entry should be retained in cache until other systems are operational again.
    Implementation Options:
    1) Periodically scan all cached entries and manually identify which ones are ready for expiration.  Then use coherence transactions and link it through XA with persistence operation.
    2) Periodically scan all cached entries and manually identify which ones are ready for expiration.  Remove entry only if persistence operation is successful.
    3) Use Custom Eviction Policy?  I didn't see a good way of plugging in there.
    4) Extend LocalCache.Entry and override isExpired method.  Not too sure if that is a good option or if that will even work.
    5) ??
    Thanks,
    Dmitriy

    Hi Dmitriy,
    Personally I wouldn't do anything off of the back of Coherence's built in expiry. Going through your options...
    1) While you are scanning the entries Coherence has probably evicted them. Whenever you do an action on a cache the first thing Coherence does is evict anything that has expired. So if you tried to scan a cache Coherence would evict the entries before you could scan them. A second point, I wouldn't use Coherence transactions for what you suggest as you will find they are too restrictive to be much use.
    2) See, 1 above - again you will have trouble scanning the cache
    3) Custom eviction policies are really just ways to tell Coherence if it can evict something
    4) This could get tricky and trying to do some sort of persistence off of the back of isExpired is just wrong - methods should do what the name says, you have no idea how often Coherence will call your overriden method and if it is doing persistence you could have a big impact on performance of your cluster.
    5) I would choose this option
    I am pretty sure that triggers get fired when an entry is evicted so you could add a trigger to the cache that will do the persistence when an entry is evicted. When an entry is evicted you basically get a synthetic remove event which you can detect in the trigger (although is it not nice code as you need to use reflection to get to the isSynthetic() method). A trigger that looks like this might be workable...
    import com.tangosol.util.MapTrigger;
    import com.tangosol.util.ValueExtractor;
    import com.tangosol.util.extractor.ReflectionExtractor;
    public class MyTrigger implements MapTrigger {
        private static final ValueExtractor syntheticExtractor = new ReflectionExtractor("isSynthetic");
      @Override
        public void process(Entry entry) {
            if (entry.isOriginalPresent() && !entry.isPresent() && isSyntheticEntryEvent(entry)) {
                // The entry is being evicted...
      private boolean isSyntheticEntryEvent(Entry entry) {
            boolean isSynthetic;
            try {
                Object synthetic = syntheticExtractor.extract(entry);
                isSynthetic = (synthetic instanceof Boolean) ? (Boolean) synthetic : false;
            } catch (Throwable e) {
                isSynthetic = false;
            return isSynthetic;
    JK

Maybe you are looking for

  • GL A/c & Doc Type

    Hi,   If I want to know that for a particular GL account what are the different doc types effecting it .... how can I do that ?? which tables needs to be searched ?? Thank You, SB.

  • Photoshop CS5 problem (Win 7 Ultimate 64 Bit)

    Hallo leute, Also wenn ich in CS 5 Arbeiten will ... gehts ne zeit genz normal ... doch plötzlich wie aus dem nichts ... bäääm seh ich alles in grün oder blau ... oder ist gar das blatt einfach unsichtbar ... wenn ich dann speichere und es wieder öff

  • How to drag sections/pages from separate Pages document into current document using Pages 5

    I want to clarify whether or not Pages 5 allows users to drag individual pages and/or sections from separate Pages documents into the user's current working document. This feature was available in Pages 4 but seems to have been eliminated in the upgr

  • Z3 dual not recognizing sim card

    I had my xperia working just fine until 2 days ago it won't recognize my sim card I inserted the sim card and the phone reboots reading the sim card but then it just says no service I went to my network provider they troubleshoot the vpn gave me a ne

  • SAP GUI 7.20 patch version 4 error: runtime error

    Hi Experts, My developement getting error while running\opeing  crystal reports the error is Microsoft Visual C++ Runtime Error Runtime Error !       program M:\spvgui8...      R6030 - CRT not intialized let me know if any patch is required to openin