flexÖи¸´°¿ÚÓë×Ó´°¿ÚµÄͨÐÅ
¼ÙÉ踸´°¿ÚÊÇp,×Ó´°¿ÚÊÇc,×Ó´°¿Ú½øÐвÙ×÷ºó·µ»Ø¸¸´°¿Ú
¸¸´°¿Ú£º
var flag:Boolean = false;
var c:pop = pop(PopUpManager.createPopUp(this,pop,false)); // н¨×Ó´°Ìå¶ÔÏó
c.callFunction = this.fresh; // ×Ó´°ÌåÖпÉÒÔµ÷Óõĸ¸´°Ì庯Êý£¨ÕâÀïÊÇ×Ó´°Ìå¹Ø±Õʱ£¬ÓÃÀ´Ë¢Ð¸¸´°ÌåµÄÄÚÈÝ
function fresh():void
{
flag = true;
trace(flag);
}
×Ó´°¿Ú popÀà:
public var callFunction:Function;//»Øµ÷º¯Êý
//¹Ø±Õµ¯³ö´°¿Ú
function doClose():void
{
PopUpManager.removePopUp(this);
callFunction.call(parent);// µ÷Óø¸´°ÌåµÄˢк¯Êý
}
Ïà¹ØÎĵµ£º
ÎÄÕÂÒ»£ºhttp://blog.csdn.net/eyking/archive/2009/10/21/4702330.aspx
Flex¾ÍÊÇÖÂÁ¦ÓÚRIAµÄÓ¦Óã¬AdobeΪÁËÀ©´óÕ½³¡£¬ÍƳöÁËAIR»·¾³£¬ÄÇô´Ëʱ²ÉÓÃFlex±àдµÄ³ÌÐòÔÚä¯ÀÀÆ÷ÖÐÓë×ÀÃæ»·¾³Ï¶¼¿ÉÒԺܺõÄÒÆÖ²ÁË¡£ÏñFlexÓëFlashÕâÑùÆæ¹ÖµÄ¶«Î÷£¬Õ½³¡²»½ö½öÔÚä¯ÀÀÆ÷ÉÏ£¬»¹Åܵ½ÁË×ÀÃæ»·¾³Ï¡£Ò»¸öºÜÖØÒªµÄ°²È«Ä£Ð;ͱ»Ìá³öÁË£ºF ......
ת£ºhttp://www.k-zone.cn/zblog/post/flex-flash-player-gc.html
Flex±à³Ì×¢ÒâÖ®ÐÔÄÜÓÅ»¯¡¢À¬»ø»ØÊÕµÄһЩ×ܽá
×Ô´Ó¿ªÊ¼×öFlex¡¢ActionScript 3.0µÄÏîÄ¿£¬ÎÒ¾ÍÒ»Ö±ÓëÀ¬»ø»ØÊÕ¡¢ÐÔÄÜÓÅ»¯ÕâЩÎÊÌâ´ò½»µÀ£¬Òò´ËÒ²×ܽáÁËһЩÓÅ»¯µÄ·½°¸£¬Í¬Ê±ÔÚһЩQQȺÖÐÒ²µÃµ½ÁËһЩ“¸ßÈË”µÄÖ¸µã£¬Òò´Ë½«´ËÄÚÈݼǼһÏ¡£
ÒÔÏ ......
ArrayCollection¾³£×öComboBox¿Ø¼þµÄ¼¯ºÏ»¹ÓÐDataGridµÄ¼¯ºÏ£¬Òª×¢ÒâËüµÄ¸ñʽ¡£dataµÄÊôÐÔÀïÃæÈç¹ûÊÇÊý×Ö²»ÐèҪ˫ÒýºÅ£¬ÈôÊÇ×Ö·û´®¾Í±ØÐë¼Ó£¬¶øÇÒÐèÒªÌáÇ°×÷var¶¨Òå
public var outgoing:String;
  ......
<?xml version="1.0"?>
<!-- Simple example to demonstrate the Alert control. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script& ......
Õ⼸ÌìҪѧһÏÂflex¿ª·¢£¬µ«ÊÇ°²×°µÄÊÇeclipse²å¼þ°æµÄ£¬¿ÉÊÇ°²×°ºÃºó·¢ÏÖûÓпÉÊÓ»¯µÄ±à¼ÊÓͼ£¬×îºó·¢ÏÖÆäʵÊÇÒòΪflexµÄmxmlÎļþµÄ´ò¿ª·½Ê½ÊÇʹÓõÄspket±à¼Æ÷´ò¿ªµÄ£¬ËùÒÔûÓпÉÊÓ»¯±à¼ÊÓͼ£¬ÓÚÊÇ°ÉspketжÔØÁË¡£¾ÍºÃÁË¡£¼Ç¼һÏ£¬Ï£ÍûÄÜ°ïµ½±ðÈË£¬Ò²ÈÃ×Ô¼º¼Çס ......