<?xml version="1.0"?>
<!-- Simple example to demonstrate the Fade effect. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
initialize="Font.registerFont(myriad_font);">
<mx:Script>
<![CDATA[
import flash.text.Font;
[Embed("source='E:/ChenyulongGX/222.jpg'", fontName="MyMyriad")]
public var myriad_font:Class;
]]>
<mx:Text width="100%" color="blue"
text="Use the Fade effect to show or hide the text and image. Use an embedded font when applying the Fade effect to text."/>