Show and hide tooltip with effect : Show Hide Effect « Effects « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Effects » Show Hide EffectScreenshots 
Show and hide tooltip with effect
Show and hide tooltip with effect
   

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
 initialize="initializeHandler(event)">
  <mx:Script>
  

    import mx.managers.ToolTipManager;

    private function initializeHandler(event:Event):void {
      ToolTipManager.showEffect = toolTipShowEffect;
      ToolTipManager.hideEffect = toolTipHideEffect;
    }


  </mx:Script>

  <mx:Parallel id="toolTipShowEffect">
    <mx:Fade alphaFrom="0" alphaTo="1" duration="1000" />
    <mx:Blur blurXFrom="10" blurYFrom="10" blurXTo="0" blurYTo="0" duration="1000" />
  </mx:Parallel>

  <mx:Parallel id="toolTipHideEffect">
    <mx:Fade alphaFrom="1" alphaTo="0" duration="1000" />
    <mx:Blur blurXFrom="0" blurYFrom="0" blurXTo="10" blurYTo="10" duration="1000" />
  </mx:Parallel>

  <mx:Button id="button" toolTip="Tool Tip Effect Example" />

</mx:Application>

   
    
    
  
Related examples in the same category
1.Add hide effect to a controlAdd hide effect to a control
2.ShowEffect and HideEffect for Canvas inside a ViewStackShowEffect and HideEffect for Canvas inside a ViewStack
3.Show/hide as the effect TriggerShow/hide as the effect Trigger
4.show/hide effectshow/hide effect
ww__w._j_av_a___2___s___.___c__o_m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.