Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

FlexͨÐÅƪ——FlexºÍÍⲿ½øÐÐÒ첽ͨÐÅ

ExternalInterface.callµÄÎÊÌâ
ÇëÁôÒâÒÔÏÂÇé¾°£¬ÒªÀûÓÃÍⲿӦÓóÌÐòµ¯³öÎļþÑ¡Ôñ´°Ì壬²¢·µ»ØËùÑ¡µÄÎļþ·¾¶¡£
ʹÓÃExternalInterface.callÀ´ÊµÏÖ£¬µ±Óû§60Ãë(FlexÒѾ­ÉèÖÃ×µÄµÈ´ýʱ¼ä)ÄÚδÄܹ»Íê³ÉÎļþÑ¡Ôñ»áµ¯³ö"1502"µÄ´íÎó£¬ÑÏÖØÓ°ÏìÓû§ÌåÏÖ¡£
ËùÒÔ£¬Ò»Ð©±È½ÏºÄʱµÄ²Ù×÷(³¬¹ý60s)£¬»òÎÞ·¨È·¶¨ºÎʱµ÷ÓÃÍê³ÉµÄ·½·¨(ÈçÉÏÊö)£¬Ó¦¸ÃʹÓÃÒì²½µ÷Óõķ½Ê½£¬µ±·½·¨Ö´ÐÐÍê³Éºó½øÐлص÷¡£
<![CDATA[
ʵÏÖÒì²½µ÷ÓûúÖÆ
Flex¶Ë
¶¨ÒåÒ»¸öDictionary£¬ÓÃÀ´»º´æ»Øµ÷µÄ·½·¨
private
var m_AsyncDict:Dictionary;
 ¶¨ÒåOpenFileDialogAsync·½·¨£¬ÓÃfscommandÀ´ÊµÏÖ£¬fscommandÊǵ¥ÏòµÄµ÷Ó㬲»´æÔÚ60Ã볬ʱµÄÎÊÌâ¡£
//µ¯³ö´ò¿ªÎļþ´°¿Ú£¬Ñ¡Ôñµ¥¸öÎļþ
public
function OpenFileDialogAsync(title:String = "ÇëÑ¡Ôñ1¸öÎļþ", initFolder:String = "", filter:String = "", callbackString:Function = null):void
{
    //´´½¨Òì²½ID
    var id:String = mx.utils.UIDUtil.createUID();
    //´´½¨×Ô¶¨ÒåÒì²½ÇëÇó
    var request:String = "<args>";
    request += "<arg>" + id + "</arg>";
    request += "<arg>" + title + "</arg>";
    request += "<arg>" + initFolder + "</arg>";
    request += "<arg>" + filter + "</arg>";
    request += "</args>";
    //»º´æ»Øµ÷·½·¨
    if (callbackString != null)
        m_AsyncDict[id] = callbackString;
    flash.system.fscommand(FLASH_TO_APP_OPEN_FILE_DIALOG_ASYNC, request);
}
¶¨Òå²¢×¢²áAsyncCallbackºÍCancelAsyncCall·½·¨£¬ÈÃÍⲿӦÓóÌÐòÄܹ»ÏìÓ¦Òì²½»Øµ÷»òÈ¡ÏûÒì²½»Øµ÷¡£
public
function AsyncCallback(id:String, value:Object):void
{
    if (m_AsyncDict[id])
    {
        //Ö´Ðлص÷·½·¨
   


Ïà¹ØÎĵµ£º

flex ÓÒ¼ü²Ëµ¥¹ÜÀí¹¤¾ßÀà

/*============ʹÓÃ==========*/
var contextmenu:ContextMenuManager=new ContextMenuManager();
contextmenu.add("×î´ó»¯",menuHandle);//menuHandle´¦Àíº¯Êý
/**==================ContextMenuManager.as==========================*/
package file
{
    import flash.display.Interact ......

flex ʹÓÃRSL¼õСswfµÄÌå»ý£¬ÒÔ¼°Óöµ½µÄÎÊÌâ

ÔÚ¿ª·¢ÏîĿʱ£¬ÏîÄ¿Ô½´ó£¬swfÉú³ÉµÄÌå»ýÔ½´ó£¬¶ÔÓÚ¾ÖÓòÍøÓ°Ïì²»´ó£¬µ«ÊǶÔÓÚ»¥ÁªÍø¾ÍºÜÍ·ÌÛÁË¡£
¼ÓÔØÒ»¸ö½çÃæÒªºÜ¾Ã¡£Ò»°ãÈ˸ù±¾Ã»ÄÍÐÔµÈÄã¼ÓÔØÍê¡£
ΪÁ˼õСswfÌå»ý£¬¸öÈË×ܽáÁËÁ½¸ö°ì·¨¡£°ì·¨ÈçÏ£º
µÚÒ»£¬¾¡Á¿Ê¹ÓÃmodule£¬ÉÙÁ¿Ê¹ÓÃ×Ô¶¨Òå×é¼þ£¬ÕâÑù¿ÉÒÔ¼õÉÙ¼ÓÔصÄʱ¼ä
µÚ¶þ£¬Ê¹ÓÃRSL£¬¼õСswfÌå»ý¡£RSLʹÓÃÈçÏ£º
Ó ......

FlexÓë.NET»¥²Ù×÷ϵÁÐÎÄÕÂĿ¼

  ±¾ÏµÁÐÎÄÕÂÖ÷Òª½éÉÜÁ˹ØÓÚFlexÓë.NET½áºÏ¿ª·¢ÖеÄһЩ»¥²Ù×÷ÐÔ£¬°üÀ¨ÍøÂçͨÐÅ¡¢Êý¾Ý¼ÓÔØ¡¢Êý¾Ý´«Êä¡¢Îļþ´«Êä¡¢ÒÔ¼°Ó¦ÓÃÓÚFlexÓë.NETЭ×÷¿ª·¢µÄͨÐÅÍø¹Ø¿ªÔ´ÏîÄ¿FluorineFxµÄÏà¹Ø֪ʶµã¡£
     ¿ªÔ´ÏîÄ¿FluorineFx¾ÍÊÇרÃÅÕë¶Ô.NETƽ̨ÓëFlexͨÐÅÌṩµÄAMFЭÒéͨÐÅÍø¹Ø£¬ÎÒÃÇ¿ÉÒÔͨ¹ ......

flex repeater¿Ø¼þRepeater is not executing"µÄÒì³£


flex repeater¿Ø¼þ×¢Òâ
Repeater ¹ËÃû˼Ò壬Repeat¾ÍÊÇÖظ´µÄÒâ˼£¬ Repeater ¾ÍÊÇÓÃÀ´Öظ´µÄ¿Ø¼þ
Repeater »á¸ù¾ÝÊý¾ÝÔ´ÖжÔÏóµÄ¶àÉÙÀ´²úÉú¶àÉÙ¸ö×ÓÏÉú³ÉµÄ×ÓÏîÈ«²¿ÊÇÒÔÊý×éÐÎʽ´æÔÚµÄ
<mx:Repeater id="myRepeater" dataProvider="{myArray}">
        <mx:HBox> ......

flex ÌØЧ Ðýתtooltip

<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/09/04/adding-animations-and-effects-to-flex-tool-tips/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertic ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ