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

¶Ôflex½âÊÍjsonµÄһЩ±§Ô¹


adobeµÄas3libÀïÃæÓиöJSON¿â£¬µ«ÊDz»ºÃÓ㬸ñʽ¶¨ÒåÒªÇó·Ç³£Ñϸñ£¬¾­³£»áÓÐЩĪÃûÆäÃîµÄ´íÎó£¬Èç¹û²»ÊǷdz£±ØÒª·ñ´«ÊäÊý¾Ý»¹ÊÇʹÓÃXML±È½Ï¿É¿¿Ò»µã£¬ÄܼõÉÙһЩ²»±ØÒªµÄµ÷ÊÔʱ¼ä¡£
1¡¢Îı¾¶¨Òåkey¡¢valueÖµ¶¼Òª¼ÓË«ÒýºÅ£¬keyÖµ±ØÐë¼Ó£¬value½¨Òé¼ÓÉÏ£»
2¡¢ÎðʹÓõ¥ÒýºÅ´úÌæË«ÒýºÅ£»
3¡¢ÖÐÎıàÂë±ØÐëÑϸñ²âÊÔ£¬¼´Ê¹Í¬ÊÇUTF-8±àÂ룬ÒàÓпÉÄܽâÊͳö´í£¬½¨Ò鲻ʹÓÃÖÐÎÄ»òÕßÁíÍâµ¥¶ÀתÂ룻


Ïà¹ØÎĵµ£º

flexʵÀýЧ¹ûͼ

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="top" applicationComplete="init()">
<mx:Script>
 <![CDATA[
  
  import mx.events.ItemClickEvent;
import mx.collections.ArrayCollection ......

Flex¿É¿ò選µÄTileList

ÖÆ×÷¿ÉÓÃÊó標¿ò選µÄTileList£¬Òò為時間±È較´Ò棬ËùÒÔ´í©ÔÚËùÄÑÃ⣬Çë´ó¼Ò²»Áߴͽ̡£ÁíÍâС²¿·Ö´úÂë²Î¿¼×ÔÍøÉÏ¡£Ö±½ÓÉÏ´úÂë¡£
package
{
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Point;

import mx.controls.TileList;
import ......

Flex3ÓëÒ³ÃæJavaScriptµÄÏ໥µ÷ÓÃ

 ÈÕÇ°×öÏîÄ¿£¬ÐèÒª°ÑÒ³ÃæµÄJS´úÂë³é³öÀ´·Åµ½Ò»¸ö.jsÎļþÖУ¬ÓÉÓÚflex³ÌÐòÊÇÒÔdiv+SWFObjectµÄ·½Ê½Ç¶Èëµ½Ò³ÃæµÄ£¬ÎªÁ˴ﵽĿ±êÍøÕ¾Ö»ÐèÒªÒýÓÃÒ»¸ö.jsÎļþ¼´ÊµÏÖÒýÓÃÏîÄ¿¹¤³ÌµÄÄ¿µÄ£¬ËùÒÔÒ²Òª°ÑSWFObjectµÄ´úÂë·Åµ½.jsÎļþÖС£
˼·ÊÇÓÃdocument.write()°ÑÒýÓÃswfÎļþµÄ´úÂëд½øÒ³Ã棬Ȼºó°ÑflexÒªµ÷ÓõÄjsº¯Êý¶¼·Åµ½.j ......

Flex×é¼þÖ®Accordion

    FlexÀïÃæÓм¸¸ö×é¼þ»¹Ã»Óùý£¬×î½üÕýºÃûÊ£¬¾Í¶¼Ð´Ð´demoÀ´Ê¹ÓÃһϣ¬Õâ¸öÀý×ÓÊÇÔÚÒ»±¾½Ð¡¶Flex´óʦ֮·¡·µÄÊéÉÏ¿´µ½µÄ£¬Í¦ºÃµÄ£¬¾ö¶¨Ð´ÔÚÕâÀﱸÍü£¬·½±ãÒÔºó²éÔÄ¡£
    Accordionµ¼º½ÓеãÀàËÆÒ»¸öÕÛÒ³£¬ÔÚÿһҳ¶¼°üº¬Ò»¸ö×ÓÈÝÆ÷£¬Ã¿Ò»´ÎÖ»ÏÔʾһ¸öÒ³£¬Ò²¾ÍÊÇÒ»¸ö×ÓÈÝÆ÷¡£ÎÒÃÇÕâ¸öÀý× ......

flex game

package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;

import flashx.textLayout.formats.BackgroundColor;

import spark.effects.interpolation.RGBInterpolator;
public class Map extends Sprite implements IMap
{
//¸ñ×ӵĿí¸ß
private va ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ