FLEX no.3
--------------ex3_01_solution -----------------------Using text controls
ÔÚǶÌ×µÄEmployeeOfTheMonthÖÐ
<s:Scroller width="100%">
<!-- Use a RichEditableText control -->
<s:RichEditableText text="Congratulations to Brad our Employee of the Month. Brad has been instrumental in planning and overseeing our new wind power unit development. His dedication and infectious enthusiasm has helped to increase our wind-powered sales by 8% throughout the nation and as high as 22% in the Central region."
height="57" width="240"/>
</s:Scroller>
<s:RichEditableTest>¶¨Ò壺RichEditableText is a low-level UIComponent for displaying, scrolling, selecting, and editing richly-formatted text.
<s:TextInput width="250" height="80"
textAlign="left"/>
--------------ex3_02_solution -----------------------Using text layout features
ÔÚǶÌ×µÄCafeteriaÖÐ
<s:Label text="Calorie Information"
fontWeight="bold"
rotation="270"/> <!--ÄæÊ±Õëת270¶È·½Ïò-->
<s:RichText> ¶¨Ò壺RichText is a low-level UIComponent that can display one or more lines of richly-formatted text and embedded images.
È磺
<s:RichText width="100%"
lineHeight="20">
<s:span font
Ïà¹ØÎĵµ£º
MXML:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="20" initialize="doinit()" mouseOver="getMouseTarget(event)">
<mx:ArrayCollection id="dgArray">
<mx:Object pid="1" name="ÇØÊ¼»Ê" time="ÇØ" />
&nbs ......
½ñÌìÔÚ×öÏîÄ¿µÄʱºòÓöµ½ÁËÒ»¸öÎÊÌ⣬·ÃÎÊxmlÎļþ¾ÍÊdzɹ¦²»ÁË¡£¿´ÁË¿´ÒÔǰд¹ýµÄ´úÂë¶¼¿ÉÒÔ£¬¶øÕâ¸öÏîÄ¿ÖÐΪʲô¾Í²»ÐÐÁËÄØ£¿×Ðϸ²é¿´ÁËĿ¼£¬ÊǰÙ˼²»µÃÆä½â°¡¡£
´íÎóÐÅÏ¢£º*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from xxxx/data.xml¡£Õâ¸öxmlÊÇÔÚ¹¤³ÌÀïÃæsr ......
1.ÎÒµÄÅäÖû·¾³Îª:
flexBuilder3,LCDS251,MyEclipse 5.5.1
GA+
2.°²×°lcds2.5.1£¬´ò¿ªÄ¿Â¼£¬ÀïÃæÓÐÒ»¸öflex
.war
3.¹Ø±Õtomcat(Èç¹û´ò¿ªÔڵϰ)
4.½«flex
.war¿½ÈëtomcatµÄwebappsĿ¼
5.ÖØÆôtomcat,¿ÉÒÔ¿´µ½webappsÀï¶àÁËÒ»¸öĿ¼flex
£¬Õâ±ãÊÇÎÒÃÇÒªµÄ¶«Î÷
6.¿ÉÒÔ½«flex
.warɾ³ý
7.½«flex
Îļ ......
Ò³Ãæ´úÂ룺
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:marsImage="mars.display.*"
backgroundColor="#000000"
layout="absolute">
<marsImage:BorderImage
borderAlpha="{aBar.value ......