flex ǶÈë¼òµ¥µÄhtml
<mx:TextArea
width=
"200"
height=
"100"
>
<mx:htmlText>
This is an example of setting a <B>
TextArea</B>
control's <I>
htmlText<I>
property.
</mx:htmlText>
</mx:TextArea>
Ö§³ÖµÄÑùʽ±ê¼Ç
<b> - Bold tag for text
<i> - Italic tag for text
<u> - Underline tag for text
<a> - Anchor tag for links (more information below)
<br> - Break tag for text
<font> - Font tag for text
<img> - Image tag for embedding inline images
<li> - List item tag
<p> - Paragraph tag
<textformat> - Text format tag (more information below)
Ïà¹ØÎĵµ£º
<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.collections.ArrayCollection;
......
1¡¢ÔÚflexÖУ¬²»ÄÜÖØÐ¶¨Òåinput()»òunput()£¬µ«ÊÇÄÜÖØÐ¶¨ÒåYY_INPUT£¬ËüÊÇflexµ÷ÓõĴÓÊäÈëÎļþÖжÁÈ¡Îı¾µÄºê¡£flex»º³åÇø£¬±»¶¨ÒåΪYY_BUFFER_STATEÀàÐÍ¡£Àý³Ìyy_create_buffer(FILE*,size0)Éú³ÉÖ¸¶¨´óСµÄflex»º³åÇø£¬Í¨³£ÊÇYY_BUF_SIZE£¬ÓÃÓÚ¶ÁÈ¡stdioFILE¡£¶Ôyy_swithc_to_buffer(flexbuf)µÄµ÷ÓøæËßɨÃè³ÌÐò¶ÁÈ¡ÏàÓ ......
flexǶÈëµ½html£º
ÓÃswfobject,ÏÂÔØµÄ.jsµØÖ·£ºhttp://www.adobe.com/devnet/activecontent/articles/devletter.html
ÔÚÄãµÄ HTML Ò³ÃæÍ·²¿<head>ÇøÇ¶ÈëÕâ¸ö½Å±¾Îļþ£º<script type="text/javascript" src="swfobject.js"></script>
ÔÚÄãµÄ HTML ÖÐдһ¸öÓÃÀ´·Å Flash µÄÈÝÆ÷£¬±ÈÈç<div> ......
<?xml version="1.0"?>
<!-- charts/BasicSeriesSlideEffect.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses1:ArrayCollectio ......
ÕâÀïÃæÓÐÐí¶àÌØÐ§ºÜ¿á£¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£ 1.Ðýת Ч¹û£ºhttp://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/ ´úÂ룺http://weblogs.macromedia.com/auhlmann/archives/DistortionEffects.zip
2.»²¼°´Å¥ http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton-added-to-flexlib/ ......