FLEX中嵌入html代码

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Image alpha="100" source="file:///C|/Documents and Settings/Administrator/桌面/Exercise Files/Chapter 5/Banner.jpg"/>
<mx:VBox backgroundColor="white" id="fiction" label="Fiction">
<mx:Text width="800" textAlign="center" fontSize="36" text="Fiction" />
<mx:Text textAlign="left" width="100%">
<mx:htmlText>
<![CDATA[
<li><b>Here With the Wind</b> - <i>Margaret Middle</i> - In this edition, nobody in the south really gives a damn</li>
<li><b>Harry Potluck and the Chamber of Money</b> - <i>J.K. Roughly</i> - Young wizard finds the real pot of gold and retires</li>
<li><b>No Expectations</b> - <i>Chuck Dickens</i> - Dickens finally reveals what he really thinks of people</li>
<li><b>Atlas Stretched</b> - <i>Ann Rind</i> - Great inventors finally just take the money and run</li>
]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>

<mx:VBox backgroundColor="white" id="nonfiction" label="NonFiction">
<mx:Text width="800" textAlign="center" fontSize="36" text="Nonfiction" />
<mx:Text textAlign="left" width="100%">
<mx:htmlText>
<![CDATA[
<li><b>Recycling Software</b> - <i>Big Gates</i> - How to just change the name and interface of the same old software and sell it as new</li>
<li><b>Make Tons of Money</b> - <i>Donald Rump</i> - Rump explains how he became a billionaire while constantly declaring bankruptcy</li>
<li><b>How to Win Enemies and Lose Friends</b> - <i>Dale Crochety</i> - The ultimate how-to book for people who want to stay loners</li>
<li><b>My Lies</b> - <i>Swill Clinton</i> - This former American president tries to define what a lie is</li>
<li><b>The Complete History of the World</b> - <i>David McClutz</i> - McClutz gives you the entire history of all civilization in less than 300 pages</li>
]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>

<mx:VBox backgroundColor="white" id="idiots" label="For Idiot Series">
<mx:Text width="800" textAlign="center" fontSize="36" text="For Idiot Series" />
<mx:Text textAlign="left" width="100%">
<mx:htmlText>
<![CDATA[
<li><b>Boiling Water</b> - This book studies the intricacies of putting a kettle of water on the stove</li>
<li><b>Solitaire for Idiots</b> - You will learn the highly competitive world of pro</li>
<li><b>Concert Piano for Idiots</b> - In just 300 pages you will learn to play like Horowitz and Rubinstein</li>
<li><b>Writing Computer Books for Idiots</b> - Does wanting to write a computer book automatically make you an idiot?</li>
<li><b>Turning on a Light Switch for Idiots</b> - Learn the technical intricacies of the various types of light switches available</li>
]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>

<mx:VBox backgroundColor="white" id="technical" label="Technical Books">
<mx:Text width="800" textAlign="center" fontSize="36" text="Technical Books" />
<mx:Text textAlign="left" width="100%">
<mx:htmlText>
<![CDATA[
<li><b>Yet Another Flash Video Book</b> - <i>Tom Greeny</i> - Tom shares more of his video secrets with us</li>
<li><b>Flashing with XML</b> - <i>Sassy Jacobs</i> - Sassy shows us how to spice up your life with XML</li>
<li><b>How to Make Interesting Authors Boring</b> - <i>Chris Milled</i> - Chris reveals his secrets for making interesting manuscripts dreadfully boring</li>
<li><b>Dreamweaver Made Hard</b> - <i>C.E. Brown</i> - Brown will show you how to do something in 20 steps instead of 5</li>
<li><b>AJAX for Dirty Programming</b> - <i>Ben Forty</i> - This book squeezes the last breath from a dying technology</li>
]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>

<mx:VBox backgroundColor="white" id="videos" label="Videos">
<mx:Text width="800" textAlign="center" fontSize="36" text="Videos" />
<mx:Text textAlign="left" width="100%">
<mx:htmlText>
<![CDATA[
<li><b>Mission Very Possible</b> - Secret agent poses as an actor not very convincingly</li>
<li><b>Stuperman</b> - Man of aluminum saves the world while posing for red underwear commercials</li>
<li><b>Lost in Transition</b> - Washed-up, middle-aged actor and young and dumb starlet try to convince each other they are good</li>
<li><b>Fallback Mountain</b> - This is how the west was won?</li>
<li><b>Snoring in Seattle</b> - The coffee capital of the world and they are still asleep</li>
]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>

</mx:Application>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值