eclipse°²×°flex²å¼þ
1.ÏÂÔØeclipseµÄ²å¼þ°ü£ºFB3_WWEJ_Plugin.exe
µØÖ·£ºhttp://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
2.ÔÚÈÎÒâĿ¼½¨Ò»¸öÒÔϽṹµÄĿ¼£ºflex_plugin->eclipse->pluginsºÍfeatures
3.½øÈëFlex Builder 3 µÄ°²×°Ä¿Â¼ ½«pluginsĿ¼ÏÂËùÓÐÒÔ com.adobe ¿ªÍ·µÄÎļþ»òÎļþ¼Ðcopyµ½ÉÏÃæ½¨ºÃµÄ plugins Ŀ¼Ï¡£
4.½øÈëFlex Builder 3 µÄ°²×°Ä¿Â¼ ½«featuresĿ¼ÏÂËùÓÐÒÔ com.adobe ¿ªÍ·µÄÎļþ»òÎļþ¼Ðcopyµ½ÉÏÃæ½¨ºÃµÄ featuresĿ¼Ï¡£
5.ÔÚeclipse3.3ÏÂн¨Ò»¸ömypluginsĿ¼£¬²¢½«flex_pluginĿ¼¼ôÇе½mypluginsĿ¼Ï¡£
6.ÔÚeclipse3.3ÏÂн¨Ò»¸ölinksĿ¼£¬²¢ÔÚlinksĿ¼ÏÂн¨Ò»¸öflex_plugin.linkÎļþ£¬ÔÚÎļþÖÐдÈë: path=ECLIPSE_HOME\\myplugins\\flex_plugin£¨´Ë·¾¶ÊÇÎļþʵ¼Ê·¾¶£©
7.½øÈëFlex Builder 3 µÄ°²×°Ä¿Â¼£¬½«sdksĿ¼copyµ½ÆäËüµÄĿ¼Ï¡£
8.´ò¿ªeclipse½øÈë window->preferences->flex->installed flex sdks £¬ÉèÖÃÒ»ÏÂÄãµÄflex sdk ·¾¶¡£
==========================
ÕâÁ½Ìì×¼±¸Ñ§Ï°Flex,ÓÚÊÇÏÂÔØÁËFlex Builder 3.0 For Eclipse plugin×¼±¸°²×°.
µ«Êǰ²×°ºóÆô¶¯Eclipse,ÕÒÁ˰ëÌìҲûÕÒµ½Flex.¶øÇÒFlex Builder»á°ÑJREÒ²°²×°.¾õµÃÕâÑùºÜ²»Ë¬.
ËùÒÔÎÒÏëµ½Äܲ»ÄÜÀ´¸öFlex BuilderÂÌÉ«°²×°·½·¨ÄØ.
Ïëµ½¾Í×ö.ÏÂÃæÊÇÎҵݲװ¹ý³Ì.(ǰÌáÊÇϵͳÒѾÓÐJRE,ÇÒJAVA»·¾³±äÁ¿ÒѾÅäÖÃOK,´Ë´¦ÂÔ¹ý¸Ã°²×°)
Ò».Ê×ÏÈÏÂÔØ°²×°Eclipse 3.3 ½âѹµ½ D:Program Fileseclipse µ½Ëã°²×°³É¹¦ÁË.
¶þ.ÏÂÔØ°²×°Flex Builder 3.0
[url]http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe[/url]
1. Ö¸¶¨ Flex Builder 3.0 °²×°Â·¾¶ÎªD:Program FileseclipseFlex Builder,½øÏÂÒ»²½. (ÄãÒ²¿ÉÉèΪÆäËüĿ¼,µ«²»ÒªÕâÑù:D:Program Fileseclipse)
2. Ö¸¶¨ Eclipse °²×°Â·¾¶Îª D:Program Fileseclipse ½øÏÂÒ»²½.
3. Ñ¡ÔñÊÇ·ñ°²×°ä¯ÀÀÆ÷ Flash Plyer 9 ²å¼þ(¿ÉÑ¡°²×°)
°²×°Òª»¨Ò»µãʱ¼ä.´ó¼ÒÂýÂýµÈ´ý...³öÏÖһЩÌáʾÄã²»ÓùÜËü.
µÈ°²×°ÍêºóÔËÐÐ Eclipse.exe ÄãÊÇ¿´²»µ½ FlexµÄ..ÍùÏ¿´ÎÒ»á°ïÄã½â¾öÕâ¸öÎÊÌâ^_^
Èý. ÂÌ»¯Flex Builder ÕâÊÇÖØµã.
1. °ÑD:Program FileseclipseFlex Buildercom.adobe.flexbuilder.update.siteÏ嵀 plugins¡¢features¡¢site.xml
¸´ÖƵ½ D:Program Fileseclipse (Èç¹ûÄãµÄeclipseĿ¼ÒѾÓÐÒ»¸ösite.xml ÄãÖ
Ïà¹ØÎĵµ£º
<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.collections.ArrayCollection;
......
ä¯ÀÀÆ÷¼ÓÔØswfºó£¬Flex×é¼þ×Ô¶¯»ñÈ¡ÊäÈë½¹µã¡£
1.ÔÚflexÖÐÉèÖý¹µã
as3 ´úÂë
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationCom ......
´úÂëÈçÏ£º
Download: main.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
&nb ......
¾³£ÔÚDemoÖлῴµ½ÁÐ±í£¬±í¸ñµÈ·½Ê½À´ÏÔʾÊý¾Ý¡£µ±È»ÓÐʱºòÒ²ÐèÒªÌí¼ÓÊý¾Ýµ½ÕâЩÁбí»òÕß±í¸ñÖС£Óкܶ෽ʽÌá½»£¬ÕâÀïչʾһ¸öµ¯³ö´°¿ÚµÄ·½Ê½À´Ìí¼ÓеÄÊý¾Ýµ½DataGridÖС£
Àý×Óչʾ£º
Ê×ÏÈ£¬ÎÒÃÇ¿ªÊ¼½¨ÉèÒ»¸ö»ù±¾µÄ½çÃæ½á¹¹£¬Ò»¸ö´øÓС°Notes"±êÌâµÄPanel,Ò»¸öDataGrid£¬ÒÔ¼°Ò»¸öÓÃÓÚÌá½»Êý¾ÝµÄ°´Å¥¡£
Xml´úÂë
& ......
×î½üÔÚÏîÄ¿ÖÐÓöµ½flex¿çÓò·ÃÎʵݲȫɳÏäÎÊÌ⣬²é×ÊÁÏÁ˽⵽ÐèÒªÔÚ·þÎñ¶Ë¼ÓÉÏcrossdomain.xmlÎļþ£¬¼´£º
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-do ......