flex Á¬½ÓÊý¾Ý¿âʧ°Ü£¿£¿
ÎÒÊÇ°´ http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html ¸øÎÒµÄÌáʾ×öµÄ£¬ÏÖÔÚ×ÜÊÇ
<mx:RemoteObject id="getData" destination="dataService1" result="proccessResult(event.result)" fault="Alert.show(event.fault.faultString,'Error')"/>
Õâ¶Î´úÂ룬µ¯³öÕÒ²»µ½¡°dataService1¡± £¬ÎÒÔÚremoting-config.xml ÅäÖÃÖмÓÈëµÄÊÇÈçÏ´úÂ룺
<destination id="dataService1">
<properties>
<source>com.connectDB.DateServiceImpl </source>
</properties>
</destination>
È·¶¨ÀàÎļþÊÇû´íµÄ£¬ÎÒµÄÊý¾Ý¿âÊÇÓÃmysql£¬mysqlµÄjar·ÅÖÃÁËlibÏÂÃ棬²»ÖªµÀ»¹ÓÐʲôûÓÐÅäÖõÄÂð????
Çë¸÷λ´óÏÀ°ï°ï棬¼±£¡£¡£¡
ÄÇÇëÎÊÎÒ¸ÃÔõÑùÕýÈ·µÄÖ¸¶¨service-config£¬ÎÒÊÇÔÚfdsÏÂÐ޸ĵÄÅäÖÃÎļþ£¬»¹Ðè²»ÐèÁíÍ⽨service-config.xml Îļþ
´íÎóÐÅÏ¢£º
[MessagingError message='Destination 'dataService1' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
Ïà¹ØÎÊ´ð£º
ÎÒµÄÎÊÌâÊÇ£º´ÓDAO²ã·µ»ØÒ»¸öList¼¯ºÏ£¬ÏÖÔÚÒª½â¾öµÄÊǽ«Õâ¸ö¼¯ºÏÖеÄÊý¾Ý
·¢Ë͵½Flex±àдµÄMXML³ÌÐòÖУ¬²¢ºÍ³ÌÐòÖеÄdataGrid½øÐа󶨣¬ÎÊϾßÌåʵÏֵķ½·¨
²éÁËÒ»ÏÂGoogle£¬ÓÐhessianºÍRemoteObjectµÈ·½·¨£¬ ......
ÎÒÔÚCanvasÀï»ÍøÂçÍØÆËͼ£¬½ÚµãÊÇÓÃVBoxÀ´×öµÄ£¬VBoxÀï°üº¬imageºÍlabel.µ±³¬³ö·¶Î§Ê±canvasÉú³É¹ö¶¯Ìõ£¬Í϶¯¹ö¶¯ÌõµÄʱºò£¬½Úµã¾Í´íλÁË¡£ÇëÎÊÔõô½â¾ö£¬Ð»Ð»
²»ÈÃËü³¬³ö·¶Î§ßÂ...£¬»ò½ûÓÃcanvasµÄ ......
ÈçÌ⣬ÇëÏê½â£¡£¡£¡
ʹÓÃflash.media.SoundMixer.stopAll();ÊÔÊÔ
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.ev ......
flexÈçºÎ½ÓÊÕhtmlÀïµÄ²ÎÊý¡£Ïêϸ˵Ã÷һϡ£ÎÒÓÃBlaedzȥȡremoteObject£¬Ô¶³Ì¶ÔÏóÊÇÓÃjavaµÄjdbc´ÓÊý¾Ý¿âÀï²éѯ³öÀ´µÄ£¬µ«²éѯ·½·¨ÀïÒªÓÃÒ»¸ö²ÎÊý¼ÙÉèÊÇÒ»¸öÖ÷¼üid¡£È»ºóÎÒÓÃjspÈ¥¼ÓÔØflexÉú³ÉµÄswfÎ ......