flex xml±éÀú
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:XML id="xmlSource">
<node label="grandFather" state="unchecked">
<node label="Father" state="unchecked">
<node label="son" state="unchecked">
<node label="1001" state="unchecked">
<node label="100101" state="unchecked">
</node>
</node>
</node>
</node>
<node label="Uncle3" state="unchecked">
<node label="son2" state="unchecked">
<node label="1002" state="unchecked">
<node label="100102" state="unchecked">
</node>
</node>
</node>
</node>
<node label="Uncle3" state="unchecked">
<node label="son3" state="unchecked">
<node label="1003" state="unchecked">
<node label="100103" state="checked">
</nod
Ïà¹ØÎĵµ£º
TypeError: Error #1034: 強ÖÆÐÍ変換¤Ëʧ敗¤·¤Þ¤·¤¿¡£jp.co.nec.necst.pi.ap2web::TestEvent@1645ee79 ¤ò jp.co.nec.necst.pi.ap2web.TestEvent ¤Ë変換¤Ç¤¤Þ¤»¤ó¡£
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispat ......
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/08/07/creating-full-screen-flex-applications/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" applicationComplete="init(event)" viewSourceURL="srcview/index.html">
& ......
xml -ÉùÃ÷-Òý·¢µÄÒì³£
XML ÉùÃ÷ [XML ±ê×¼]
XML ÉùÃ÷ͨ³£ÔÚ XML ÎĵµµÄµÚÒ»ÐгöÏÖ¡£XML ÉùÃ÷²»ÊDZØÑ¡Ïµ«ÊÇÈç¹ûʹÓà XML ÉùÃ÷£¬±ØÐëÔÚÎĵµµÄµÚÒ»ÐУ¬Ç°Ãæ²»µÃ°üº¬ÈκÎÆäËûÄÚÈÝ»ò¿Õ°×¡£
ÎĵµÓ³ÉäÖÐµÄ XML ÉùÃ÷°üº¬ÏÂÁÐÄÚÈÝ£º
°æ±¾ºÅ <?xml version="1.0"?>¡£
ÕâÊDZØÑ¡Ïî¡£¾¡¹ÜÒÔºóµÄ XML °æ±¾¿ÉÄÜ»á¸ü¸Ä¸Ã ......
HTML.htmlÎļþ
<div align="center" class="style1">
<p>±ù¹÷Áбí</p>
<p></p>
<table width="400" border="1">
<tr>
<th scope="col"><font size="4">Æ·ÅÆ</font></th> ......
·¢ÏÖÁËÒ»¸öFlexÖÐTextInputµÄÒ»¸ö±È½ÏÓÐÓõÄÊôÐÔrestrict(Ô¼Êø,ÏÞ¶¨),ÏÈ¿´ÏÂÀý×Ó:
1,<mx:TextInput id="test_ti" width="160" maxChars="20" restrict="0-9" text="0"/>
ÕâÑù,Õâ¸öÊäÈë¿ò×î¶àÖ»ÄÜÊäÈë20¸ö×Ö·û,Ö»ÄÜÊäÈë0µ½9Ö®¼äµÄÊý×ÖÁË,ÄãÈç¹ûÊäÈë±ðµÄÊÇÊäÈë²»½øÈ¥µÄ
2,<mx:TextInput id="test_ti" width="1 ......