flex 彈³ö對話¿ò³ö錯
TestSearch.mxml(mx:Application):
<mx:Button label="search" click="Search.showSearchWindow(this)"/>
Search.mxml(mx:TitleWindow):
private static var search:Search = new Search();
public static function showSearchWindow(par:DisplayObject):void
{
PopUpManager.addPopUp(search,par,true);
}
¿ÉÊÇrun TestSearch.mxmlºó頁Ãæʲ÷ᶼ沒ÓУ¬請問ÊÇÄÄÀï³ö錯ÁË¡£¡£¡£¡£謝謝¡£¡£
ßÀ¡£¡£¡£¹ûÈ»ÊÇSearch.mxmlÓÐ錯¡£¡£¡£謝謝¡£¡£
Ïà¹ØÎÊ´ð£º
flexµÄaddEventListener ÀïÃ溯Êý²»ÄÜ´ø²ÎÊý°¡¡£
ÎÒÏÖÔڵŦÄÜÊÇÕâÑù¡£¡£
ÔÚ·þÎñÆ÷¶ËµÃµ½Ò»¸öArrayCollection ,È»ºó±éÀúÕâ¸öÊý×飬£¬È»ºóÔÚ¶¯Ì¬´´½¨button,buttonµÄclick¸ù¾ÝArrayCollection ÀïÃæ¶ÔÏóµÄid,ä¯ÀÀ¶ÔÏ ......
ÎÒÊǸöjava ²ËÄñ µ«ÊǶÔjava ºÜ¸ÐÐËȤ Ïë×ö¸öÀàËÆͨѶqq·½ÃæµÄ¼´Ê±Í¨Ñ¶Èí¼þ µ«ÊÇȱ·¦Õâ·½ÃæµÄ×ÊÁÏ £¡£¡Ï£ÍûÄÄλ¸ßÊÖÄܸøÎÒµã×ÊÁÏ ×îºÃÊÇÈ«Ò»µãµÄ ÈÃÎÒ¼ÌÐø×ßÏÂÈ¥ £¡£¡ ÖÔÐĸÐл £¡£¡£¡ ÓÊÏä rz_string@126.com ......
ÒªÇ󿪷¢Èí¼þ£º Flex builder 3.
ÒªÇó£º×öÒ»¸öÖйú²ËÍâÂòµê¶©²ÍµÄÍøÕ¾¡£
Á÷³Ì£ºÍâ¹Û²»ÐèÒª×öµÄºÜºÃ¿´£¬ºÜÆÕͨ¾ÍÐС£
¹Ë¿Í´ò¿ªÍøÕ¾£¬ÍøÕ¾ÏÔʾ²Ëµ¥ºÍ¼Û¸ñ£¬Ñ¡ÔñÁËÒªµãµÄ²Ë£¬µã²ËµÄ½á¹û ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import flash.external. ......
×î½ü¸Õѧflex£¬ÒªÇó±àдһ¸öΧÆå³ÌÐò£¬Ä¿Ç°ÕýÄÑ°¡¡£ÓÐË×ö¹ý°¡£¬¸÷¸öÎĵµ¿´Ï°¡¡£Ð»Ð»À²£¡
End_rbody_64451718//-->
¸Ã»Ø¸´ÓÚ2010-04-06 14:03:36±»°æÖ÷ɾ³ý
¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ ......