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

FlexÍÏק ListÄÚ²¿ÍÏק

FlexÍÏק-ListÄÚ²¿ÍÏק
¹Ø¼ü×Ö: flex, flexÍÏק, list
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="creationHandler();">
<mx:Script>
<![CDATA[
import mx.utils.ObjectUtil;
import mx.events.DragEvent;
import mx.collections.ArrayCollection;
private function creationHandler():void {
var collection:ArrayCollection = new ArrayCollection( ['Josh', 'Todd', 'Abey'] );
contactList.dataProvider = collection;
}

]]>
</mx:Script>

<mx:Panel title="Contact List:" width="200" height="200">
<mx:List id="contactList" width="100%" height="100%" dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"/>
</mx:Panel>
</mx:WindowedApplication>


Ïà¹ØÎĵµ£º

ÓÐÓõÄFlex Builder¿ì½Ý¼ü

AdobeÔÚ¿ª·¢Flex×îÓÐÀûµÄ¹¤¾ß¾ÍÊÇFlex Builder£¬È»¶ø£¬¹¤ÓûÉÆÆäÊ£¬±ØÏÈÀûÆä"¼ü"£¬¿ìËÙ¼ü¶ÔÒ»°ã¿ª·¢ÕßÀ´Ëµ¶¼·Ç³£ÓÐÓ㬷ǵ«Èç´Ë£¬ºÜ¶à¿ìËÙ¼üÓë×éºÏ¼üÊÇ»áÓëÆäËûÈíÌå»òϵͳ¶¼ÓÐÀ×֮ͬ´¦£¬¾Ù¸öÀý×ÓÀ´Ëµ£¬Ctrl + C¾ÍÊǸ´ÖÆ£¬Ctrl + V¾ÍÊÇÌùÉÏ£¬¿´¿´Ðí¶à×÷ҵϵͳÓë±à¼­ÈíÌåÊDz»ÊǶ¼Ò»ÑùÄØ£¿ÈôÄãÓÐ×¢Òâµ½¾Í»á²»ÄÑ·¢ÏÖ£¬ÆäʵFlex ......

flex°ÙÒ¶´°Ð§¹û

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

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

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

ÓÃFLEXʵÏÖÆÁÄ»¿ìÕÕ¼°ÏÂÔØ AND EXCEL

ÓÃFLEXʵÏÖÆÁÄ»¿ìÕÕ¼°ÏÂÔØ
Flex/Flash, Flex2, Flex3 GgNET 01ÔÂ 31st. 2008, 2:53am
ÕâÖÖ·½Ê½£¬ÔÚ·þÎñÆ÷¶Ë²»»áÔÚ´ÅÅÌÉÏÉú³ÉͼƬ
FLEX´úÂë
public function printMap():void{
var en:JPEGEncoder = new JPEGEncoder(100); //ѹËõͼƬ£¬100ÊÇÖ¸ÖÊÁ¿
var ba:ByteArray=en.encode(ImageSnapshot.captureBitmapData(thi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ