FlexÓë.NET»¥²Ù×÷ϵÁÐÎÄÕÂĿ¼
±¾ÏµÁÐÎÄÕÂÖ÷Òª½éÉÜÁ˹ØÓÚFlexÓë.NET½áºÏ¿ª·¢ÖеÄһЩ»¥²Ù×÷ÐÔ£¬°üÀ¨ÍøÂçͨÐÅ¡¢Êý¾Ý¼ÓÔØ¡¢Êý¾Ý´«Êä¡¢Îļþ´«Êä¡¢ÒÔ¼°Ó¦ÓÃÓÚFlexÓë.NETÐ×÷¿ª·¢µÄͨÐÅÍø¹Ø¿ªÔ´ÏîÄ¿FluorineFxµÄÏà¹Ø֪ʶµã¡£
¿ªÔ´ÏîÄ¿FluorineFx¾ÍÊÇרÃÅÕë¶Ô.NETƽ̨ÓëFlexͨÐÅÌṩµÄAMFÐÒéͨÐÅÍø¹Ø£¬ÎÒÃÇ¿ÉÒÔͨ¹ýFluorineFxºÜ·½±ãµÄÍê³ÉÓë.NETµÄͨÐÅ¡£ ÁíÍ⻹¿ÉÒÔÇáËɵÄʵÏÖ¼°Ê±ÎÄ×Ö¹µÍ¨¡¢ÊÓƵÓïÒôͨÐŵȼ°Ê±½»»¥ÏµÍ³µÄ¿ª·¢¡£
FluorineFx¹Ù·½ÌṩÁË°²×°°üµÄÏÂÔغÍÔÚÏßÎĵµ£¬¿ÉÒÔ°ïÖúÎÒÃÇÓÐЧµÄÀûÓÃFluorineFxÀ´¿ª·¢¡£
FluroineFx¹Ù·½ÍøÕ¾£ºhttp://www.fluorinefx.com/
FluroineFxÏÂÔصØÖ·£ºhttp://www.fluorinefx.com/download.html
FluroineFxÔÚÏßÎĵµ£ºhttp://www.fluorinefx.com/docs/fluorine/index.html
Ò»¡¢FlexÓë.NET»¥²Ù×÷(Ò»)£º»ùÓÚSocketµÄÍøÂçÁ¬½Ó
Flash/FlexÒ²Ö§³Ö»ùÓÚSocketµÄÍøÂçÁ¬½Ó £¬·þÎñÆ÷¶Ë¿ÉÒÔÊÇC++,VB,C#,JavaµÈÈÎÒ»ÓïÑÔ¿ª·¢¡£¼àÌýÒ»¸öÍøÂç¶Ë¿Ú±ã¿ÉÒÔ½ÓÊÕµ½Flash/Flex¿ª·¢µÄ¿Í»§¶ËµÄÁ¬½Ó¡£
¶þ¡¢FlexÓë.NET»¥²Ù×÷(¶þ)£º»ùÓÚWebServiceµÄÊý¾Ý·ÃÎÊ(ÉÏ)
FlexÌṩÁË¡¢ºÍ±êÇ©À´Ö±½Ó·ÃÎÊÔ¶³ÌÊý¾Ý£¬ÕâÓÃÓÚÓë¸÷ÖÖ²»Í¬ÓïÑÔ»·¾³¿ª·¢ÌṩµÄÔ¶³Ì·þÎñ¶ËÊý¾ÝÔ´£¨ÈçWebService£©½øÐÐÊý¾Ý½»»¥Í¨ÐÅÏԵøü¼ÓÈÝÒס£
Èý¡¢FlexÓë.NET»¥²Ù×÷(Èý)£º»ùÓÚWebServiceµÄÊý¾Ý·ÃÎÊ(ÏÂ)
ÔÚÉÏһƪÎÄÕ¡¶FlexÓë.NET»¥²Ù×÷(¶þ)£º»ùÓÚWebServiceµÄÊý¾Ý·ÃÎÊ(ÉÏ) ¡·ÖнéÉÜÁËͨ¹ý±êÇ©À´·ÃÎÊWebservice¡£Êµ¼ÊÉÏÎÒÃÇÒ²¿ÉÒÔͨ¹ý±à³ÌµÄ·½Ê½¶¯Ì¬µÄ·ÃÎÊWebService£¬Flex SDKΪÎÒÃÇÌṩÁËWebServiceÀà¡£
ËÄ¡¢FlexÓë.NET»¥²Ù×÷(ËÄ)£ºÊ¹ÓÃHttpService¡¢URLReqeustºÍURLLoader¼ÓÔØ/´«ÊäÊý¾Ý
ÔÚÇ°Á½ÆªÎÄÕÂÖзֱð½éÉÜÁËFlexÓë.NETµÄWebServiceÖ®¼äµÄÊý¾Ý½»»¥Í¨ÐÅ֪ʶ£¬±¾ÎĽ«½éÉÜÁíÍâÒ»ÖÖ¼ÓÔØÊý¾ÝÒÔ¼°·¢ÆðÇëÇóµÄ·½Ê½¡£ActionScript 3.0ÖÐÌṩµÄÊý¾Ý¼ÓÔØÇëÇóÀàÖ÷ÒªÊÇHTTPService,URLLoaderºÍURLRequest£¬¿ÉÒÔͨ¹ýËûÃÇÐͬÀ´Íê³ÉÊý¾Ý¼ÓÔغÍÇëÇó¡£ÏÂÃæÎÒô±ãÀ´¿´¿´ÕâÈý¸öÀàÊÇÔõôÀ´Íê³ÉÊý¾Ý¼ÓÔع¤×÷¡£
Îå¡¢FlexÓë.NET»¥²Ù×÷(Îå)£ºÊ¹ÓÃFileReference
Ïà¹ØÎĵµ£º
Ò³Ãæ´úÂ룺
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:marsImage="mars.display.*"
backgroundColor="#000000"
layout="absolute">
<marsImage:BorderImage
borderAlpha="{aBar.value ......
/*============ʹÓÃ==========*/
var contextmenu:ContextMenuManager=new ContextMenuManager();
contextmenu.add("×î´ó»¯",menuHandle);//menuHandle´¦Àíº¯Êý
/**==================ContextMenuManager.as==========================*/
package file
{
import flash.display.Interact ......
¸ÅÊö
ÓÎÏ·¿ª·¢ÊǸöºÜ´óµÄ¿ÎÌ⣬¸ÃϵÁÐÖ»¼òµ¥½²ÊöÈçºÎʹÓÃFlex¼¼Êõƽ̨´î½¨Ò»¸ö¼òµ¥µÄÓÎÏ·¿ò¼Ü£¬ÈçºÎÉè¼ÆÄÜÓÅ»¯ÓÎÏ·µÄCPUÕ¼Óã¬ÄÚ´æµÈ£¬×îºóÖÆ×÷Ò»¸öÍêÕûµÄFlexСÓÎÏ·(ÌṩԴÂë)¡£
ÓÎÏ·µÄ³ÊÏÖ
·½Ê½1£ºÔª¼þ·½Ê½
ÕâÖÖ·½Ê½±È½ÏÊʺÏСÐ͵ÄÓÎÏ·£¬ÓÎÏ·Ôª¼þÊýÁ¿ÉÙµÄÇé¿ö¡£µ±ÓÎÏ·Ôª¼þÊýÁ¿´óʱ¾Í²»ºÏÊÊÁË£ºÔª¼þ»á¶ÔÓÎϷͼÐΡ¢ÒôÆ ......
-----------------ex4_01_solution------------------Creating an event and dispatching the event object
<s:Application ...
creationComplete="employeeService.send()">
»á´¥·¢£º
<!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
& ......
ÔÚflex¿ª·¢»·¾³Öбàдas3´úÂëÊǺܷ½±ãµÄ£¬½èÖúflex¿ª·¢»·¾³´úÂ붼ÓÐ×Ô¶¯Ìáʾ¹¦ÄÜ£¬µ«ÊÇÔÚ×öflashÓÎÏ·µÄʱºò£¬ÔÚÉæ¼°µ½¶Ô»°¿òµÄʱºò£¬ÎÒÓöµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔÚÃÀ¹¤ÓÃflash cs²¼¾ÖºÃÁ˵ĽçÃ棬ÎÒÔÚ½çÃæÉÏÃüÃûÁËʵÀý£¨ÈçtextfieldÀàÐÍ var nameText:String£©£¬ÔÚµ¼³öÕâ¸öÀࣨguestDialog£©µÄʱºò(Õâ¸öÀà¼Ì³Ð×ÔMovieClip ......