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

netbeans + flex µÚÒ»¸öDEMO

  Ê×ÏȽ¨Ò»¸önetbeansµÄjava webÏîÄ¿
È»ºó´ÓÍøÉÏ°Éblazeds.war ÏÂÔØÏÂÀ´ÓÃrar ½âѹ °Ñweb-inf Ìæ»»µôÔÚnetbeans\web ÏÂÃæµÄweb-infÖеÄÈ«²¿Îļþ
È»ºó ²¿ÊðÏÂ
ÔÚ´ò¿ªflex builder н¨Ò»¸öflex project Ð´ÉÏÃû×ÖºÍÏîĿ·¾¶
ÔÚApplication server type Ñ¡ÖÐj2ee
µã»÷ ÏÂÒ»²½
È»ºó Root folderÑ¡ÖÐnetbeans ½¨µÄÏîÄ¿ ϵÄweb·¾¶ ÀýÈçE:\ѧϰ\WebDemo\web  {ÎÒµÄÏîÄ¿½»WebDemo}
Root Url дÉÏÄãµÄ·þÎñÆ÷url·¾¶  ÀýÈç:http://localhost:8080/WebDemo
Context root »¹ÊÇ/WebDemo
 ÔÚoutput folder ÕâÀï×¢ÒâһϠ±ÈÈçÎÒµÄÏîÄ¿ÊÇE:\ѧϰ\WebDemo\ Õâ¸ö·¾¶Ï ÄÇôдE:\ѧϰ\WebDemo\web  ÕâÑùµÄ»°flex builfer¾Í»á°ÑÉú³ÉµÄÎļþ¶¼·ÅÔÚwebÏÂÃæÁË
È»ºóÏÂÒ»²½ ok ÏÖÔÚÏîÄ¿ËãÊǴÍêÊÂÁË
ÏÖÔÚÐÞ¸ÄÅäÖÃÎļþnetbeans ÏÂÃæµÄweb\web-inf\flex\remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="helloWorld">
<properties>
<source>com.demo.java.HelloWorld</source>
</properties>
</destination>
</service>
<destination id="helloWorld">
            <properties>
            <source>cn.demo.java.HelloWorld</source>
            </properties>
        </destination>
ÕâЩÊÇÎÒÐÂ¼ÓµÄ helloWrold ÊÇ×Ô¼ºÐ½¨µÄÃû×Ö
 com.demo.java.HelloWorld ÊÇÎÒн¨µÄÀà
ÀïÃæ´úÂëÈçÏÂ
 /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
p


Ïà¹ØÎĵµ£º

UbuntuÉÏÅäÖÃFlex±à³Ì»·¾³£¨º¬LAMPÅäÖã©

Ò»¡¢Flex BuilderµÄ°²×°
1¡¢ÏµÍ³ÒªÇó£º
    Eclipse 3.3.x (32-bit)
    Sun JRE 1.5.x or newer (32-bit)
    Firefox 3.0 (32-bit)
   £¨ÆäÖУ¬Eclipse°æ±¾ºÜÖØÒª£¬ÏÖÔÚÒѾ­µ½ÁË3.5.xÁË£¬ÎÒÊÔ¹ý·Ç3.3.xµÄ½ÏÐÂEclipse£¬µ«ÊÇ×ܲ»³É¹¦£¬¶ø3.3.xµÄ°²×°ÎļþºÜÄÑÕ ......

MyEclipse°²×°Flex 3 ²å¼þ¼°Ð½¨FlexÏîÄ¿ÑÝʾ


Ò»¡¢×¼±¸¹¤×÷£º
ËùÐèÒªµÄÈí¼þ£º
Tomcat 5£º http://tomcat.apache.org/
FlexBuilder3 beta2 ²å¼þ°æ: FB3_WWEJ_Plugin
Eclipse 3.3 : www.eclipse.org
 
»òÕß
MyEclipse 6.0£ºhttp://www.myeclipseide.com/
Blazeds.war£ºhttp://flexorg.wip3.adobe.com/blazeds/3.0.x/milestone/3978/blazeds-bin-3.2.0.39 ......

Flex——Flash Player Not Found

Are you running your Flex Application and continually getting the error below?
"Flex Builder cannot locate the required version of the Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version?"
Description ......

¡¾¿ª·¢¡¿²âÊÔÇý¶¯µÄFLEX¿ª·¢ ʹÓÃFLEXUNIT

http://elromdesign.com/blog/2010/03/10/test-driven-development-tdd-with-flexunit-4-complete-tutorial/
±¾À´ÊÇ´òËãÍêÕûµÄ·­ÒëÍê³ÉÕâƪ²©Îĵģ¬Ò»±ß·­Ò룬һ±ß̸̸×Ô¼º¶ÔÇý¶¯²âÊÔ¿ª·¢µÄÀí½â¡£ µ±È»ÎÒµÄÀí½âºÍÔ­ÎÄ×÷ÕßµÄÀí½â²»Ò»¶¨Ò»Ñù£¬µ«ÊÇÖÁÉÙ£¬ÎÒÃǶ¼³ÐÈÏ¿ª·¢µÃÊDzâÊÔÇý¶¯µÄ¡£ È»¶øCSDNµÄ²©¿ÍϵͳÊÇʵÔÚ²»ÄÜÀí½â¡¾Î ......

flexͼ±í×ø±êÖáÑùʽÉèÖÃ

<?xml version="1.0"?>
<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApp()"
backgroundColor="#FFFFFF" width="350" height="125"
layout="absolute">
<!- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ