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

Flex Builder 3 ÏÂtrace() ²»Êä³öµÄÎÊÌâ

Flex Builder 3 ÏÂtrace() ²»Êä³öµÄÎÊÌâ
ÏÂÃæ¸ø³ö¼òµ¥µÄ´úÂ루main.mxml£©£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Button label="Test Trace" click="test()"/>
<mx:Script>
<!--[CDATA[
private function test():void{
trace("Test Trace!");
}
]]-->
</mx:Script>
</mx:Application>

ÕâÑùÔËÐÐdebug£¬Èç¹ûµã»÷°´Å¥µÄ»°Ó¦¸ÃÔÚconsole¿ÉÒÔ¿´µ½“Test Trace”¡£
Èç¹û²»ÐеĻ°£¬¿ÉÄÜ»á³öÏÖÒ»¸ö±¨´í´°¿Ú£¬ÏÔʾÏÂÃæÏûÏ¢£º
Ensure that:
1.You compiled your flash application with debugging on.
2.You are running the debugger version of Flash Player.
ËüÖ÷ÒªÊÇÒªÄãÈ·ÈÏһЩÐÅÏ¢£¬ÒÔÏÂÊÇ´óÖ·­Òë¡£¡£¡£±¾ÈËÓ¢Óï²»ÐУ¬¹þ¹þ¡£¡£¡£¡£
[--·­Ò뿪ʼ--]
È·ÈÏÒÔÏ£º
1.ÄãÔÚ´ò¿ªµ÷ÊÔ£¨Ñ¡ÏµÄÇé¿öϱàÒëÄãµÄFlash
2.ÄãÕýÔËÐÐFlashPlayerµÄµ÷ÊÔ°æ±¾¡£
[--·­Òë½áÊø--]
ÎÒÒѾ­ÔÚwindow-preferences-run/debugÖдò¿ªÁËdebugÑ¡Ïî¡£Òò´ËÈ·¶¨ÊÇflash player°æ±¾²»¶ÔÒýÆðµÄ¡£
Òò´ËÄãÖ»Òªµ½AdobeµÄÍøÕ¾ÏÂÔØÒ»¸öDebugger°æ±¾µÄFlash Player£¬°²×°ºó¾ÍÄܹ»Ê¹ÓÃDebugÊä³ötraceµÄÄÚÈÝÁË¡£


Ïà¹ØÎĵµ£º

flex°ÙÒ¶´°Ð§¹û

effects\Blinds.as
JScript code
package effects
{
   
    import effects.effectClasses.BlindsInstance;
   
    import mx.controls.scrollClasses.ScrollBarDirection;
    import mx.effects.IEffectInstance;
   ......

flexÖÐsocketµÄʹÓÃ

flexÖÐʹÓÃsocketÓëÆäËûÓïÑÔ(ÈçJava)socket½»»¥µÄÀý×Ó¡£
    ×Ô´ÓAdobe Flash PlayerÉý¼¶µ½9.0.124ºó£¬ÓÉÓÚ°²È«²ßÂÔµÄÐ޸ģ¬Ô­À´µÄsocketÁ¬½Ó·½Ê½½«²»Äܱ»Ê¹Ó㬶ø±ØÐë²ÉÓÃÐµİ²È«²ßÂÔ·½Ê½À´ÑéÖ¤£¬¾ßÌåµÄ¹ý³ÌÈçÏ£º
    1.Ê×Ïȼì²â·þÎñ¶ËµÄ843¶Ë¿ÚÊÇ·ñÌṩ°²È«²ßÂÔÎļþ£»
  &n ......

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

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

FlexʵÏÖDataGridµÄÐòºÅÁÐ

ÒªÔÚFlexµÄDataGridÀïÌí¼ÓÐòºÅÁУ¬´óÌåÉÏÓÐÁ½ÖÖ·½·¨£º
ÉèÖÃDataGridColumnµÄlabelFunction¡£
Æä´óÖµÄ˼·ÊÇ£¬»ñÈ¡µ½µ±Ç°DataGridµÄdataProvider¼°µ±Ç°ÐеÄdata£¬µ÷ÓÃgetItemIndex·½·¨»ñÈ¡µ½µ±Ç°µÄÐеÄÐòºÅ¡£
¾ßÌå¿É²Î¿¼ http://wmcai.blog.163.com/blog/static/480242008111115724283/¡£ÕâÖÖ·½·¨±È½ÏÖ±¹Û£¬Ò²ºÜÈÝÒ ......

Flex ¼¯ºÏ(ArrayCollection)

¹Ø¼ü×Ö: flex, arraycollection
¼¯ºÏÊÇActionScript Öй¦ÄÜÇ¿´óµÄ»ùÓÚË÷ÒýµÄÊý×é×é¼þ£¬Ìí¼ÓÁËÈç¶ÔÄÚÈݽøÐÐÅÅÐòµÈ¹¦ÄÜ£¬
²Ù×÷Êý×éµÄ¶ÁȡλÖ㬴´½¨¾­¹ýÅÅÐòµÄÊý×éÊÓͼ¡£¼¯ºÏÒ²ÄÜ֪ͨÆäÈÎÒâʼþ¼àÌýÆ÷¼àÌýÆäÊý
¾ÝÊÇ·ñ¸Ä±ä£¬ÒÔ¼°ÈκÎÊý¾ÝÏî±»Ìí¼Óµ½Ô´Êý×éʱ¿ÉÖ´ÐÐ×Ô¶¨ÒåÂß¼­¡£µ±Êý¾Ý¸Ä±äʱ¿É֪ͨÆä
¼àÌýÆ÷£¬ÕâÊǼ¯ºÏµÄй ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ