flash on 2010-6-5
♥0 |
Line 11 |
Modified 2010-06-05 04:45:05 |
MIT License
archived:2017-03-30 02:18:41
ActionScript3 source code
/**
* Copyright kihon ( http://wonderfl.net/user/kihon )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/cYXn
*/
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
<mx:Dissolve id="d_out" alphaFrom="1.0" alphaTo="0.0" duration="1000" />
<mx:Dissolve id="d_in" alphaFrom="0.0" alphaTo="1.0" duration="1000" />
</fx:Declarations>
<mx:Label id="label" text="Dissolve" fontSize="20" hideEffect="{d_out}" showEffect="{d_in}" />
<mx:Button x="100" y="100" id="button" click="label.visible = !label.visible" />
</s:Application>