flash on 2010-6-5

by kihon
♥0 | Line 11 | Modified 2010-06-05 04:58:20 | MIT License
play

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/mOCV
 */

<?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" backgroundColor="#5F1010">
	<fx:Declarations>
		<mx:Dissolve id="d_out" alphaFrom="1.0" alphaTo="0.0" duration="1000" color="#5F1010" />
		<mx:Dissolve id="d_in" alphaFrom="0.0" alphaTo="1.0" duration="1000" color="#5F1010" />
	</fx:Declarations>
	<mx:Label id="label" text="Dissolve" fontSize="20" hideEffect="{d_out}" showEffect="{d_in}"  color="#19FF01"/>
	<mx:Button  x="100" y="100" id="button" click="label.visible = !label.visible" />
</s:Application>