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

flex tree ×Ô¶¯ÏÔʾºáÏò¹ö¶¯Ìõ

mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cmp="com.render.*"
    height="100%" width="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
    <cmp:AutoSizeTree
            id="checkTree"
            itemRenderer="com.render.CheckTreeRenderer"
            change="updataDataGrid()"
            labelField="@label"
             width="100%" height="100%" 
             horizontalScrollPolicy="auto" >
     </cmp:AutoSizeTree>
</mx:Application>
actionscript
package com.render
{
    import flash.events.Event;
   
    import mx.controls.Alert;
    import mx.controls.Tree;
    import mx.core.ScrollPolicy;
    import mx.core.mx_internal;
    public class AutoSizeTree extends Tree
    {
        public function AutoSizeTree()
        {
            super();
            horizontalScrollPolicy = ScrollPolicy.AUTO;
        }
    
        override public function get maxHorizontalScrollPosition():Number
        {
             if (isNaN(mx_internal::_maxHorizontalScrollPo


Ïà¹ØÎĵµ£º

flexºÍsocketͨÐŵĿçÓòÎÊÌâ½â¾ö·½°¸

flexºÍC++·þÎñÆ÷ͨÐÅ¡£ÒòΪ°²È«É³Â©ÎÊÌ⣬µ±swfλÓÚA·þÎñÆ÷£¬C++·þÎñÆ÷³ÌÐòλÓÚB·þÎñÆ÷ʱ¡£
ÕâʱswfºÍB·þÎñÆ÷½¨Á¢Socket½¨Á¢Á¬½Ó»á²úÉú¿çÓòÎÊÌâ¡£
½â¾ö·½·¨ÈçÏÂ
swf½¨Á¢socketʱ»áÏÈ·¢ÆðÒ»¸öÇëÇó¿çÓòÎļþµÄÇëÇó:"<policy-file-request/>"
·þÎñÆ÷½ÓÊÕµ½ºó·¢ËÍ×Ö·û´®
<?xml version="1.0"?>
<cross-doma ......

FlexºÍAIRÖеÄÀ¬»ø»ØÊÕʵ¼ùÖ®¶ÔÏ󻺴æ[ÒëÎÄ]

Ô­ÎÄ£ºhttp://www.riameeting.com/node/587
ÀïÃæÓÐÒ»¾ä×ܽáÐԵϰ:
ÉèÖÃÒ»¸ö¶ÔÏóΪnull²»Ò»¶¨Äܹ»ÊÍ·ÅËüÕ¼ÓõÄÄڴ攡£ÕâÈ¡¾öÓÚflashÖÐÒѾ­ÊµÏÖµÄÀ¬»ø»ØÊյķ½Ê½£¬GCÓÉÖØ·ÖÅä´¥·¢¶ø²»ÊÇÓÉɾ³ý´¥·¢£¬ÕâÒâζ×ÅGCÖÜÆÚÔÚÄãÉùÃ÷new Object()µÄʱºòÔËÐжø²»ÊÇÄãÉèÖÃËüΪnullʱÔËÐС£
Ò²¾ÍÊÇ˵ÔÚnew ¶ÔÏóʱ²ÅÖØÐ·ÖÅäÄ򫾣 ......

Flex101£ºÓÃFlex´´½¨Swipe·­°å/SlideЧ¹û

±¾ÎÄÀ´×Ô£ºhttp://www.insideria.com/2009/12/flex-101-creating-an-swipeslid.html
ÔÚ±¾ÀýÖУ¬ÎÒÃǽ«Ì¸ÂÛÔõÑù´´½¨swipe/slideЧ¹û¡£µ±Äã´ÓÒ»¸öÆÁÄ»·­µ½ÁíÍâÒ»¸öÆÁÄ»ÉÏ£¬Äã¾­³£¿ÉÒÔ¿´µ½´¥ÃþÉèÊ©Àï³öÏ֓ת±ä”£¬ÎÒÃǾÍÊÇÊܵ½ÁËËüµÄÆô·¢¡£Ò»Ò³ÄÚÈÝ´Ó»¬ÒƵ½Ò»±ß£¬ÁíÍâÒ»Ò³´ÓÁíÍâÒ»±ßÎ޷컬¶¯½øÀ´¡£
ÔÚÎÒÃǽøÒ»²½ ......

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨

http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx  ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂ鷳Ĩ

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø



document.body.oncopy = func ......

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨


1. µ÷Óô°Ìå
A ´°ÌåÊÇÒ»¸öapplicaton´°Ìå B ´°ÌåÊÇ×Ô¶¨Òå´°Ì壨ÀàËÆDialogÖ®ÀàµÄ´°Ì壬±¾Éí²¢²»ÄܶÀÁ¢ÔËÐУ©
A ´°Ìå Æ¬¶Ï´úÂëÈçÏ£º
<mx:Script>
<!--[CDATA[
import mx.containers.TitleWindow;
import mx.managers.PopUpManager;
function ShowDetailDialog(){
var oInitObj:Object = new Object();
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ