<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/09/04/adding-animations-and-effects-to-flex-tool-tips/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white"
creationComplete="init()">
<mx:Script>
<![CDATA[
import mx.managers.ToolTipManager;
private function init():void {
ToolTipManager.hideDelay = 2 ......
1¡¢as3ebaylib
http://code.google.com/p/as3ebaylib/
2¡¢as3youtubelib
http://code.google.com/p/as3youtubelib/
3¡¢as3flickrlib
http://code.google.com/p/as3flickrlib/
4¡¢Yahoo ASTRA Flash Components
http://developer.yahoo.com/flash/astra-flash/
5¡¢facebook-as3
http://code.google.com/p/facebook-as3/
6¡¢as3awss3lib
http://code.google.com/p/as3awss3lib/
7¡¢Adobe ActionScript 3:resources:apis:libraries £¨¹Ù·½£¬°üÀ¨corelib¡¢FlexUnit¡¢Flickr¡¢Mappr¡¢RSS and Atom libraries¡¢Odeo¡¢YouTube£©
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries
8¡¢Tweener ÓÃÓÚ¹ý¶ÉÓëÇл»µÄÒ»×鶯»¿â
http://code.google.com/p/tweener/
9¡¢uicomponents-as3 Ò»×éÇáÁ¿¼¶µÄAS3 UI×é¼þ¿â
http://code.google.com/p/uicomponents-as3/
10¡¢as3ds AS3µÄÊý¾Ý½á¹¹ÊµÏÖ
http://code.google.com/p/as3ds/
11¡¢mecheye-as3-libraries Ò»×éÖ÷ÒªÓÃÓÚFlash ÓÎÏ·¿ª·¢µÄAS3¿â
http://code.google.com/p/mecheye-as3-libraries/
12¡ ......
Õâ¸öDEMO¿ÉÒÔ´´½¨Ò»¸öȫеÄÊ÷Ðͽṹ£¬ÈÃÎҸе½Ææ¹ÖµÄÊÇ£¬ËäÈ»ÎÒÓÃXML¶ø²»ÊÇXMLListCollection/ArrayCollection×÷ΪTreeµÄÊý¾ÝÔ´£¬µ«¶ÔXMLµÄ¸üÐÂÒÀÈ»»áÔÚTreeÖз´Ó³³öÀ´——ÕâËÆºõºÍFlexµÄÎĵµÓгåÍ»£¬ÏÂÃæÊÇÒýÓÃFlexÎĵµµÄÒ»¶ÎÄÚÈÝ£º
Raw objects are often not sufficient if you have data that changes, because the data provider component does not receive a notification of any changes to the base object. The component therefore does not get updated until it must be redrawn due to other changes in the application, or if the data provider is reassigned. At that time, it gets the data again from the updated raw object.
Here is the demo(Ôõô²åÈëswfÎļþ£¿ÓÃembed±êÇ©£¿)
Source code here:
<?xml version="1.0"?>
<!-- dpcontrols/TreeSimple.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="12">
<mx:Script>
<!--[CDATA[
import mx.collections.ArrayCollection;
import mx.collections.XMLListCollection;
[Bindable]
private var ......
¼òµ¥µØËµ£¬xslÊÇ˵Ã÷xmlÈçºÎ±í´ï³öÀ´µÄÑùʽÎļþ£¬¶øxsd¸ø³öxmlÎļþµÄ¸ñʽÃèÊö
Èç¹û˵xmlÊÇÒ»µþ³®Æ±£¬xsd¾ÍÊÇÑé³®»ú£¬¿´¿´ÀïÃæÓÐûÓмٳ®£¬¶øxslÊǵ㳮»ú£¬¿´¿´µ½µ×ÊǶàÉÙÇ®¡£ÓÃxml¿ÉÒÔ²»ÓÃxsd£¬¾ÍÏñ»¨Ç®µÄʱºò²»Ò»¶¨ÒªÑé³®Ò»Ñù£¬µ«ÊÇÊÕÇ®µÄÈËÒ»°ãÊÇÏëÒªÑéµÄ¡£¶ø»¨Ç®µÄʱºò²»Äܲ»µã³®£¬²»µãÄǾͲ»ÊÇ»¨Ç®ÁË£¬ÊÇÍæÇ®¡£µ±È»ÁË£¬µã³®²»Ò»¶¨ÒªÓõ㳮»ú£¬Ò²¿ÉÒÔÓÃÊֵ㡣
±È·½²»ÊǺÜÇ¡µ±¡£Ïë˵Ã÷µÄÊÇ£¬xml£¨ÎļþÀïÃæµÄ¶«Î÷£©ÊÇÄÚÈÝ£¬xsdÊÇÄÚÈݵĸñʽ£¬xslÊÇ´¦ÀíÄÚÈݵġ£
ÏÂÃæÊÇxmlºÍxsl½áºÏµÄÀý×Ó
product.xmlÎļþµÄÄÚÈÝÈçÏÂ
<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="table.xsl"?>
<PRODUCTDET>
<PRODUCT PRODID="P001" CATEGORY="TOY">
<DESCRIPTION>SWPI</DESCRIPTION>
<COLOR>BLUE</COLOR>
<RATE>100</RATE>
</PRODUCT>
<PRODUCT PRODID="P002" CATEGORY="TOY">
<DESCRIPTION>SWPI</DESCRIPTION>
<COLOR>BLUE ......
xml
<mime>
<content>
<type>text/plain</type>
<big>357</big>
<text>D:\\cybercourttext2009101410241364.txt</text>
</content>
<content>
<type>text/plain</type>
<big>357</big>
<text>D:\\cybercourttext2009101410241364.txt</text>
</content>
</mime>
½âÎö
XmlDocument myDoc = new XmlDocument();
myDoc.LoadXml(xmlcontent);
//ËÑË÷Ö¸¶¨µÄ½Úµã
System.Xml.XmlNodeList mimenodes = myDoc.SelectNodes("//content");
for (int i = 0; i < mimenodes.Count; i++)
  ......
ÔÎÄÁ´½Ó£ºhttp://www.cnblogs.com/ding0910/archive/2007/07/12/815407.html
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Services;
using BX.Interface;
namespace WebService
{
/**//// <summary>
/// Service1 µÄժҪ˵Ã÷¡£
/// </summary>
public class doService : System.Web.Services.WebService
{
/**//// <summary>
/// ÍøÉϱ¨ÏúϵͳWebService·þÎñͨÓõ÷Ó÷½·¨
/// </summary>
/// <param name="ifCode">½Ó¿Ú±êʶ</param>
/// < ......
ÔÎÄÁ´½Ó£ºhttp://www.cnblogs.com/ding0910/archive/2007/07/12/815407.html
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Services;
using BX.Interface;
namespace WebService
{
/**//// <summary>
/// Service1 µÄժҪ˵Ã÷¡£
/// </summary>
public class doService : System.Web.Services.WebService
{
/**//// <summary>
/// ÍøÉϱ¨ÏúϵͳWebService·þÎñͨÓõ÷Ó÷½·¨
/// </summary>
/// <param name="ifCode">½Ó¿Ú±êʶ</param>
/// < ......