MyEclipse6.0Ìí¼ÓFlexÖ§³Öºó³öÏÖ´íÎó¡£
Flex Project Nature/Add Flex Project Nature Ö´Ðкó³öÏÖÒÔÏ´íÎó£¬
Severity and Description Path Resource Location Creation Time Id
Server SDK: Directory does not contain a Flex SDK.
ÐèÒªÔÚ¹¤³ÌÊôÐÔµÄFlex compiler ÀïÉèÖÃFlex SDK.
Ïà¹ØÎĵµ£º
ArrayCollection¾³£×öComboBox¿Ø¼þµÄ¼¯ºÏ»¹ÓÐDataGridµÄ¼¯ºÏ£¬Òª×¢ÒâËüµÄ¸ñʽ¡£dataµÄÊôÐÔÀïÃæÈç¹ûÊÇÊý×Ö²»ÐèҪ˫ÒýºÅ£¬ÈôÊÇ×Ö·û´®¾Í±ØÐë¼Ó£¬¶øÇÒÐèÒªÌáÇ°×÷var¶¨Òå
public var outgoing:String;
  ......
Õ⼸ÌìҪѧһÏÂflex¿ª·¢£¬µ«ÊÇ°²×°µÄÊÇeclipse²å¼þ°æµÄ£¬¿ÉÊÇ°²×°ºÃºó·¢ÏÖûÓпÉÊÓ»¯µÄ±à¼ÊÓͼ£¬×îºó·¢ÏÖÆäʵÊÇÒòΪflexµÄmxmlÎļþµÄ´ò¿ª·½Ê½ÊÇʹÓõÄspket±à¼Æ÷´ò¿ªµÄ£¬ËùÒÔûÓпÉÊÓ»¯±à¼ÊÓͼ£¬ÓÚÊÇ°ÉspketжÔØÁË¡£¾ÍºÃÁË¡£¼Ç¼һÏ£¬Ï£ÍûÄÜ°ïµ½±ðÈË£¬Ò²ÈÃ×Ô¼º¼Çס ......
¼ÙÉ踸´°¿ÚÊÇp,×Ó´°¿ÚÊÇc,×Ó´°¿Ú½øÐвÙ×÷ºó·µ»Ø¸¸´°¿Ú
¸¸´°¿Ú£º
var flag:Boolean = false;
var c:pop = pop(PopUpManager.createPopUp(this,pop,false)); // н¨×Ó´°Ìå¶ÔÏó
c.callFunction = this.fresh; // ×Ó´°ÌåÖпÉÒÔµ÷Óõĸ¸´°Ì庯Êý£¨ÕâÀïÊÇ×Ó´°Ìå¹Ø±Õʱ£¬ÓÃÀ´Ë¢Ð¸¸´°ÌåµÄÄÚÈÝ
function fresh():void
  ......
±¾ÎÄÁÐÊöÁË13¸öJava³ÌÐòÔ±Ó¦µ±Ñ§Ï°FlexºÍBlazeDSµÄÀíÓÉ£¬ÌÖÂÛ ÁËΪʲôFlex½áºÏBlazeDSÊÇ¿ª·¢RIAµÄ×î¼Ñ×éºÏÖ®Ò»¡£ÎÞ ÂÛÊǸ߶Ƚ»»¥µÄÍøÕ¾»¹ÊÇÒÔJavaΪºó¶ËµÄÆóÒµÓ¦Óã¬ÕâÏî×éºÏ¶¼ÊÇ×î¼ÑÑ¡ÔñÖ®Ò»¡£¸üÖØÒªµÄÊÇ£¬ÕâÏî×éºÏÄÜͬʱΪ¿ª·¢Ô±ºÍÆóÒµ´øÀ´¸ß»Ø±¨£¨ROI£©¡£
ÔÚ²ûÊöJava³ÌÐòÔ±Ó¦µ±Ñ§Ï°BlazeDSµÄ13ÌõÀíÓÉʱ£¬ÎÒÒÔÒ»¸ö¼ÙÏëµ ......
1. ×î¼òµ¥µÄ¾¯¸æ´°¿Ú
ÄãÐèÒªÏȵ¼ÈëAlertÀࣺ import mx.controls.Alert;
È»ºóÔÚÏëÒªµ¯³ö¾¯¸æµÄʱºòʹÓãº
Alert.show(“ÄãÈ·¶¨ÒªÍ˳öϵͳÂð?”,“È·ÈÏ”,Alert.YES|Alert.NO,null,logout)
²ÎÊý˵Ã÷£ºµÚÒ»¸ö²ÎÊýÊÇÒªÏÔʾµÄÎı¾£¬µÚ¶þ¸ö²ÎÊýÊÇ´°¿ÚµÄ±êÌ⣬ÕâÁ½¸ö²ÎÊýÊÇ×î¾³£Óõġ£µÚÈý¸ö²ÎÊýÊÇ°´Å¥£ ......