adobe flex²¿Êð ʵ¼Ê²Ù×÷
Adobe flexµ½µ×ÊÇ×öʲôµÄ£¬ÎÒÔÚÕâÀï¾Í²»½øÐвûÊöÁË¡£Ö÷ÒªÊÇдÏ£ºflex²å¼þ¼¯³Éµ½MyEclipse/EclipseÖеķ½·¨ºÍ flex+javaÏîÄ¿µÄ²¿Êð¹ý³Ì
²å¼þ°²×°¹ý³Ì£º
1.°²×°Eclipse»òÕßMyEclipse;
2.°²×°FlexBuilder3 beta2²å¼þ°æ -- FB3_WWEJ_Plugin.exe;
a.Ñ¡ÔñFlexBuilder3 µÄ°²×°Â·¾¶£¬¿ÉÒÔÈÎÒâÑ¡Ôñ£¬È»ºóµã next;
b.Õâ²½ÖеÄ·¾¶ÒªÑ¡ÔñEclipseµÄ°²×°Â·¾¶£¬»òÕßMyeclipseÖÐeclipseµÄ·¾¶£¬±ÈÈ磺c:\work\eclipse»òc:\work\MyEclipse\eclipse
c.µãnextÍê³É°²×°£»
3.´ò¿ªFlexBuilder3 beta2²å¼þ°æµÄ°²×°Â·¾¶£¬ÎÒµÄÊÇ£ºC:\Program Files\Adobe\Flex Builder 3 Plug-in\eclipse£»
½«eclipseÎļþ¼ÐϵÄfeaturesºÍpluginsÁ½¸öÎļþ¼ÐÄڵĶ«Î÷¿½±´µ½Eclipse»òMyeclipseÖеÄfeaturesºÍpluginsµÄÎļþ¼ÐÖУ¬
×¢Ò⣺²»Òª·Å´íÎļþ¼ÐÁË
4.½«FlexBuilder3 beta2²å¼þ°æÖеÄsdksÎļþ¼Ð¿½±´µ½Eclipse»òMyeclipseÖеÄeclipseÎļþ¼ÐÏÂ
5.°²×°LCDS --- lcds3-win.exe (java½øÐнáºÏ);
5.´ò¿ªÄãµÄEclipse»òÕßMyEclipse£¬Çл»µ½FlexÊÓͼ¡£ÅäÖÃÍê³É
ÏîÄ¿²¿Êð£º
1.Çл»µ½FlexÊÓͼ£»
2.н¨Flex project¹¤³Ì£¬
Project name:Test
Application type ÖÐÑ¡Ôñ£¬Web application(runs in Flash Player)
Application server typeÖÐÑ¡Ôñ£ºJ2EE£¬È»ºóÑ¡ÖÐÏÂÃæµÄLiveCycle Data Service£¨Ö¸ÔÚJ2EE,JAVAºÍflex½øÐнáºÏ£©
Java source folder:src Ö¸£¬javaÒµÎñ´úÂë´æ·ÅĿ¼ ¡£È»ºónext;
3.Target runtimeÖ¸Tomcat£¬µã»÷newÅäÖÃTomcat£»
Flex war fileÖ¸°²×°µÄLCDSÖеÄlcds.war/flex.war°ü£»
ÆäËüµÄĬÈϼ´¿É£»È»ºónext;
4.ĬÈÏ£¬µãnext;È»ºófinsh
5. Íê³Éflex+javaÏîÄ¿´´½¨
Ïà¹ØÎĵµ£º
½ñÌì¸Õ½Ó´¥Flex£¬µ«Êǵ±ÎÒ°Ñ´úÂë±àдÍê³ÉÔËÐеÄʱºò±¨ÏÂÁËÈçÏ´íÎó£º
C:\WINDOWS\system32\Macromed\Flash\Flash10e.ocx
Flex Builder cannot locate the required debugger version of Flash Player.
You might need to install the debugger version of Flash Player 9 or
reinstall Flex Builder.
Do you want to ......
ÀÏÉú³£Ì¸µÄ»°ÌâÁË¡£
Ê×ÏÈÊÇתÌû²¿·Ö£º
http://kingwind.blogbus.com/logs/44323315.html
ÏÈÀ´¿´Flexµ÷ÓÃJavaScriptÖеĺ¯Êý
FlexConnectJavaScript.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script> ......
<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
//µ¼ÈëÏà¹Ø°ü
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.ser ......
·¸ÁËÒ»¸ö¼«µÍµÄ´íÎó£¬Õâ¸öÔÒòÊÇ×Ô¼ºÔì³ÉµÄ£¬ÊÇ×Ô¼º°Ñ
¸ÄΪ±¾µØ×Ô¼º¼´¿É£¬
²éÁËЩӢÎÄÍøÕ¾µÄ½â¾ö·½°¸£¬ËµÊÇʲôϵͳÉý¼¶£¬Åµ¶Ùɱ¶¾Èí¼þÎÊÌ⣬¶¼²»ÊÇ×Ô¼ºÒªµÄ´ð°¸£¬ÊÇ×Ô¼ºÒÔÇ°²»Ð¡ÐĸÄÁË£¬ºóÀ´ÎÞÂÛÔõôжÔØ¡¢Éý¼¶¡¢ÖØ×°flash²å¼þ¶¼Ò»¸öÑù
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
ÀÏÊÇÓö¼û ......
Flex/Flash Ö§³ÖµÄÊý¾ÝͨѶ·½Ê½ÓУº
http URLLoader
SOAP(webservice)
json
xml
flash remoting / AMF3
xmlsocket
socket(¶þ½øÖÆ)(×Ô¶¨ÒåÐÒé)
¸ß²¢·¢µÄÓ¦ÓÃÖÐÓû§×´Ì¬¿ÉÒÔÓÃcookie£¬²»ÓÃsession
Èç¹ûÊǶàÈËʵʱ½»»¥ÈçÁÄÌìϵͳ£¬¶àÈËÔÚÏß»¥¶¯µÈÓ¦ÓÃÄ£¿é¡¡ÐèÒªÓÃsocket½øÐÐͨѶ(Óë·þÎñÆ÷½¨Á¢³¤Á¬½Ó)£¬·þÎñÆ÷¶Ë¿ÉÒÔ× ......