Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexѧϰ flex¶ÁÈ¡xmlÎļþ

Ô´xmlÎļþ
 <?xml version="1.0" encoding="iso-8859-1"?>
<books>
<stock>
<name>The Picasso Code</name>
<author>Dan Blue</author>
<category>Fiction</category>
<description>Cubist paintings reveal a secret society of people who really look like that</description>
</stock>
<stock>
<name>Here With the Wind</name>
<author>Margaret Middle</author>
<category>Fiction</category>
<description>In this edition, nobody in the south really gives a damn</description>
</stock>
<stock>
<name>Harry Potluck and the Chamber of Money</name>
<author>J.K. Roughly</author>
<category>Fiction</category>
<description>Young wizard finds the real pot-of-gold and retires</description>
</stock>
<stock>
<name>No Expectations</name>
<author>Chuck Dickens</author>
<category>Fiction</category>
<description>Dickens finally reveals what he really thinks of people</description>
</stock>
<stock>
<name>Atlas Stretched</name>
<author>Ann Rind</author>
<category>Fiction</category>
<description>Great inventors finally just take the money and run</description>
</stock>
<stock>
<name>Recycling Software</name>
<author>Big Gates</author>
<category>Nonfiction</category>
<description>How to just change the name and interface of the same old software and sell it as new</description>
</stock>
<stock>
<name>Make Tons of Money</name>
<author>Donald Rump</author>
<category>Nonfiction</category>
<description>Rump explains how he became a billionaire while constantly declaring bankruptcy</desc


Ïà¹ØÎĵµ£º

Flexʼþ»úÖÆ

Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......

Flex Óà POST Ìá½»Êý¾Ý


public function submit():void{
   
    //ÒªÇëÇóµÄURL
    var request:URLRequest = new URLRequest("
http://localhost:8086/test.do
") ;
    var load:URLLoader = new URLLoader() ;
    //URL²ÎÊý
  & ......

ʹÓÃDOM4JºÍxpath½âÎöXML(¶þ)

ÔÚʹÓÃDom4j½âÎöxmlÎĵµÊ±,ÎÒÃǺÜÏ£ÍûÓÐÒ»ÖÖÀàËÆÕýÔò±í´ïʽµÄ¶«Î÷À´¹æ·¶²éѯÌõ¼þ,¶øxpathÕýÊÇÕâÑùÒ»ÖֺܱãÀûµÄ¹æÔò°É.
    ÒÔÏÂÊDZ¾ÈËÓÃдµÄÒ»¸öÀà,ժȡ²¿·Ö´úÂë;
Java´úÂë
Java´úÂë
String xmlName = path + "/" + userName + ".xml";  &n ......

½«XMLÊý¾ÝÌî³äµ½TreeViewÖÐ

Îĵµ¼°´úÂëÏÂÔØ£ºhttp://www.dingos.cn/index.php?topic=1899.0
½éÉÜ

µ±²Ëµ¥ÏîÊǾ­³£¸Ä±äʱ£¬´ÓXMLÎĵµÖд´½¨TreeView²Åµ±ÊǷdz£ÓÐÓõġ£ÀýÈ磬ʹÓÃXML×÷ΪÊý¾Ý¿â´æ´¢¼Ç¼¡£
ÕâÀïÓиö¼òµ¥Ê¾Àý¡£ÒÔ·À»ìÏýÕâ¸öÀý×ӱȽϼòµ¥¡£
±³¾°
¶ÔXML¡¢TreeView¿Ø¼þµÄÓ¦Óã¬ÔÚVisual StudioÖÐÓÐÖúÓÚÀí½âÕâЩ²½Öè¡£
ʹÓôúÂë
×¢Òâ ......

Flex Deep Link(ÉîÁ´½Ó)Ó¦ÓÃ


document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text");
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ