flex Àï¼üÅÌʼþ
Ò»¡¢
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
addedToStage="stage.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDown)"
click="clickEvt(event)"
layout="absolute"
frameRate="6"
creationComplete="start()" keyFocusChange="testKey(event)"
backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#990000, #FF9900]">
<mx:Script source="SnakeMain.as"/>
¶þ¡¢<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
applicationComplete="appComplete();">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import flash.events.KeyboardEvent;
//¼àÌýkeyboardʼþ
private function appComplete():void
{
this.addEventListener(KeyboardEvent.KEY_DOWN,keyHandler);
//this.addEventListener(KeyboardEvent.KEY_UP, my
Ïà¹ØÎĵµ£º
±¾ÎÄͨ¹ýΪһ¸öÐé¹¹µÄ¹«Ë¾Éè¼ÆµÄ¾ÖÓòÍøÓ¦ÓÃʵÀý——Spark Intranet Sample App£¨Èçͼ1£©£¬½éÉÜÁËFlex 4 beataºÍFlash Builder 4 betaÖÐеÄһЩÌØÐÔ¡£
±¾ÎÄÄÚÈÝÊʺÏÓÚÓÐFlex 2»òFlex 3֪ʶ£¬×îºÃ»¹¶ÔFlex 4 beta¿ò¼ÜÓÐһЩ»ù±¾½Ó´¥µÄ¿ª·¢Õß¡£Í¨¹ý¾ßÌåÓ¦ÓÃÀí½âFlex 4ÓëÆä¸üÔç°æ±¾Ö®¼ä²îÒ죬ÊÇÒ»¸öºÃ°ì·¨¡£±¾ÎÄÖ÷Ò ......
FlexÖеı¾µØ¹²Ïí¶ÔÏó--SharedObject
±¾µØ¹²Ïí¶ÔÏóÓÐʱ±»³Æ×÷“Flash Cookie”£¬ËüÊÇÒ»¸öÊý¾ÝÎļþ£¬¿ÉÒÔÓÉËù·ÃÎʵÄÕ¾µãÔÚÄúµÄ¼ÆËã»úÉÏ´´½¨¡£ÔÚFlashÖÐÌṩÁËÏÂÃæµÄ²Ù×÷±¾µØ¶ÔÏóµÄ·½·¨£º
SharedObject.clear() ɾ³ý±¾µØ¹²Ïí¶ÔÏó£»
SharedObject.flush() Á¢¼´°Ñ¹²Ïí¶ÔÏóÊý¾ÝдÈë±¾µØÎļþ£»
SharedObject.getLoc ......
DataGrid×é¼þÑùʽÊôÐÔ
backgroundColor ±³¾°É«
backgroundAlpha &nb ......
³ÏƸFlex¿ª·¢ÈËÔ±
1 ʹÓÃAsp.net¹¹½¨ÍøÕ¾£¬Êý¾Ý¿âΪSql Server2008£¬»ùÓÚFlex 3.0ÒÔÉϹ¹½¨£»
2 ϵͳΪÓÃÓÚÓ¦¼±¹ÜÀíµÄMISϵͳ£¬¿ª·¢ÖÜÆÚ1¸öÔ£¬Çë½ÓÏîÄ¿ÕßÎñ±ØΪ¾«Í¨FlexµÄÓÐÏîÄ¿¾ÑéÈËÊ¿£»
3 ¿ª·¢Õß±ØÐëÔÚ±±¾©£¬ÍâµØÎðÈÅ£¡¿ª·¢´Ó3Ô¿ªÊ¼£¬ÇëÎñ±ØÓн϶à¿ÕÓàʱ¼ä£»
4 »¶ÓFlex¸ßÊÖºÏ×÷£¬±¾´¦¶ÔÓдóÁ¿ÏîÄ¿ÐèÕâ·½Ãæ¸ßÊÖ£ ......