topical media & game development
professional-flex-code-07-ToolTipEffects.mx
professional-flex-code-07-ToolTipEffects.mx
[swf]
flex
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.managers.ToolTipManager;
import mx.effects.*;
private function initApp():void
{
var blur:Blur = new Blur();
var fade:Fade = new Fade();
fade.alphaFrom = 0;
fade.alphaTo = 1;
var parallel:Parallel = new Parallel();
parallel.addChild(blur);
parallel.addChild(fade);
ToolTipManager.showEffect = parallel;
}
]]>
</mx:Script>
<mx:Button label="Button" toolTip="ToolTips enabled" />
</mx:Application>
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.