Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎĵµ£º

Flex Builder 3.0 for Eclipse

ÕâÁ½Ìì×¼±¸Ñ§Ï°Flex,ÓÚÊÇÏÂÔØÁËFlex Builder 3.0 For Eclipse plugin×¼±¸°²×°.
µ«Êǰ²×°ºóÆô¶¯Eclipse,ÕÒÁ˰ëÌìҲûÕÒµ½Flex.¶øÇÒFlex Builder»á°ÑJREÒ²°²×°.¾õµÃÕâÑùºÜ²»Ë¬.
ËùÒÔÎÒÏëµ½Äܲ»ÄÜÀ´¸öFlex BuilderÂÌÉ«°²×°·½·¨ÄØ.
Ïëµ½¾Í×ö.ÏÂÃæÊÇÎҵݲװ¹ý³Ì.(ǰÌáÊÇϵͳÒѾ­ÓÐJRE,ÇÒJAVA»·¾³±äÁ¿ÒѾ­ÅäÖÃOK,´Ë´¦ÂÔ¹ý¸ ......

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 ͼ±ícategoryFieldÉèÖà labelFunctionʹÓÃ

CategoryAxisÓÐÒ»¸ö½Ð×ölabelFunctionµÄÊôÐÔ£¬Õâ¸öÊôÐԵ͍Ò壺ָ¶¨Ò»¸öº¯Êý£¬ÓÃÓÚ¶¨ÒåΪCategoryAxisµÄdataProviderÖеĸ÷¸öÏîÄ¿Éú³ÉµÄ±êÇ©¡£
ËùÒÔÐ޸ĵÄÔ­Àí£º¿ÉÒÔÀûÓÃlabelFunctionµÃµ½Ã¿¸öLabel£¬È»ºóÔÙ¶ÔÆä½øÐÐÐ޸ġ£
Ƭ¶Î´úÂ룺
<mx:horizontalAxis>
  <mx:CategoryAxis id="ca"
  &nbs ......

flex ͼ±íʹÓðٷֱÈʾÀý

<?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 ......

FlexÖÐImage¼ÓÔØÍ¼Æ¬³ö´íʱÏÔʾĬÈÏͼƬµÄ¼¸ÖÖ·½·¨


FlexÖÐImage¼ÓÔØÍ¼Æ¬³ö´íʱÏÔʾĬÈÏͼƬµÄ·½·¨Ö÷ÒªÓÐÒÔϼ¸ÖÖ£º
·½·¨Ò»£ºÀûÓà brokenImageSkin ·ç¸ñÏÔʾһ¸öĬÈϵÄͼ£¬Ö»ÐèÉèÖÃCSS¾ÍÐÐÁË£¬ÈçÏ£º
<mx:Style>
     Image {
         brokenImageSkin: Embed("assets/404.jpg");
     }
 </m ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ