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
Ïà¹ØÎĵµ£º
½ñÌìÔÚ×öÏîÄ¿µÄʱºòÓöµ½ÁËÒ»¸öÎÊÌ⣬·ÃÎÊxmlÎļþ¾ÍÊdzɹ¦²»ÁË¡£¿´ÁË¿´ÒÔǰд¹ýµÄ´úÂ붼¿ÉÒÔ£¬¶øÕâ¸öÏîÄ¿ÖÐΪʲô¾Í²»ÐÐÁËÄØ£¿×Ðϸ²é¿´ÁËĿ¼£¬ÊÇ°Ù˼²»µÃÆä½â°¡¡£
´íÎóÐÅÏ¢£º*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from xxxx/data.xml¡£Õâ¸öxmlÊÇÔÚ¹¤³ÌÀïÃæsr ......
java¿ª·¢µÄ×ÜÏ뾡¿ì°ÑflexºÍjava½áºÏÆðÀ´,ÎÒÒ²ÊÇ,µ«ÕâÈÝÒ׺öÊÓһЩ»ù´¡µÄ¶«Î÷,¸Õ°ÑflexºÍjavaÕûºÏµÄµÚÒ»²½×öÍê,ºöÈ»ÏëÔÚflexÒ³ÃæÖе¯³ö¸ö¶Ô»°¿ò,²»ÖªµÀÔõôдÁË,ÍøÉϲéÁË°ëÌì²Å³öÀ´.
ÔÀ´ÕâÒ»¾ä»°¾Í¸ã¶¨ÁË
Alert.show(content,title,flags,parent,closeHandle,iconClass,defaultButtonFlag);
ÒÔÏÂÊÇÍøÉÏÕÒµ½×ÊÁÏ,¹©²Î¿¼. ......
package org.openscales.core.format
{
import flash.utils.getQualifiedClassName;
import flash.xml.XMLNode;
import org.openscales.core.Util;
import org.openscales.core.feature.Feature;
import org.openscales.core.geometry.Collection;
import org.openscales.core. ......
¸ü¶à Flex 4 ʾÀý£¬Çëµ½ http://www.slsay.com
ÏÖÓгÉÊì³£ÓõÄFlex¿ò¼Ü£º
Cairngorm (Adobe Open Source) - MVC framework
PureMVC (Open Source) - MVC framework
Mate (Open Source) - tag-based, event-driven
Swiz (Open Source) - Metadata-based Dependency Injection ......
ÈóǬ¼´Ê±±¨±í²»½ö¿ÉÒÔͨ¹ýÍÏקµÄ·½Ê½ÇáËÉʵÏÖ¸÷ÖÖ³£¼ûÀàÐ͵Äweb±¨±íÖÆ×÷£¬¶øÇÒÔÚÕ¹ÏÖ±¨±íʱ»¹ÌṩÁËÁé»îµÄFlex¹¤¾ßÌõ£¬¿ÉÒÔͨ¹ýFlex¹¤¾ßÌõʵÏÖµ÷ÕûÁÐ¿í¡¢ÅÅÐòºÍ¹ýÂËÏÔʾÊý¾ÝµÈ¹¦ÄÜ¡£ÏÂÃæ¾ÍÏȼòµ¥µÄ½éÉÜÒ»ÏÂÈçºÎʹÓÃFlex¹¤¾ßÌõµ÷ÕûÁÐ¿í¡£ ÎÒÃÇÉè¼ÆÒ»¸ö¼òµ¥ÀàÐ͵ı¨±í£¬±¨±í²é¿´ÈçÏÂͼ ÔÚÉÏͼÖÐÎÒÃÇ¿ÉÒÔ¿´µ½£¬µ±¹ÍÔ±µØÖ·¹ý³ ......