Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : flex

MyEclipse Flex»·¾³ÅäÖÃÏê½â

 MyEclipse Flex»·¾³ÅäÖÃÏê½â
MyEclipse FlexµÄÅäÖÃÖ®³õÎÒÃÇ¿´¿´ÔµÓÉ£ºÒ»¿ªÊ¼Ñ§Ï°Ê¹ÓÃFlexµÄʱºò,ÎÒÊÇÓõĵ¥¶ÀµÄFlexBuilder3,×öЩ´¿FlexµÄÓ¦ÓóÌÐò»¹¿ÉÒÔ.µ«ÊÇÈç¹ûÒªºÍJava½áºÏÔÚÒ»ÆðʹÓÃ,¼´ÀûÓÃFLEX³äµ±Ò»¸öÍêÕûµÄJ2EEϵͳµÄWEB²ãµÄ»°,ÄÇôµ¥¶ÀʹÓÃFlexBuilder3ºÍMYECLIPSEÊǺܲ»·½±ãµÄ,´ó´óÓ°ÏìÁË¿ª·¢Ð§ÂÊ,Òò´Ë×öÁËÏÂMyEclipse+FlexµÄÅäÖÃ,´ïµ½Ö±½ÓÔÚÀûÓÃMyEclipseÖпª·¢ÕûºÍÁËFlexµÄWeÓ¦ÓóÌÐò,²¢ÇÒʵÏÖÈȲ¿Êð.
Ê×ÏÈ,ÎÒÃÇÐèÒªÏÂÁÐÈí¼þ
Eclipse 3.3 :http://www.eclipse.org/
FlexBuilder3 beta2 ²å¼þ°æ: FB3_WWEJ_Plugin
MyEclipse 6.0£ºhttp://www.myeclipseide.com/
Lcds ds-console.war£ºds-console.war
Tomcat 5£º http://tomcat.apache.org/
¹ØÓÚ°æ±¾ÎÊÌâ,֮ǰÎÒÒ»Ö±ÓõÄÊÇec3.2+myec5.0,¿ÉÊÇÔÚ×îºóÒ»²½×ÜÒªµ¯³öecÄÚ²¿µÄ´íÎó,ºóÀ´»»³Éec3.3+myec6.0Ôò¿ÉÒÔ˳ÀûÍêÕûÅäÖÃ,Òò´ËÍƼöʹÓÃÒÔÉÏ°æ±¾.
Ê×ÏÈÊÇ°²×°EC+MYEC,¾Í²»ÐèÒª¶à˵ÁË.
È»ºó°²×°FlexBuilder3²å¼þ°æ,ºÍ°²×°MYECµÄ¹ý³ÌÒ»Ñù,¶¼ÐèÒªÔÚµÚ1´Î°²×°Ê±Ñ¡ÔñÒÑ°²×°µÄeclipseµÄλÖÃ
½ÓÏÂÀ´,¿ÉÒÔ´ò¿ªEC,Ó¦¸ÃÔÚVIEWÖÐÄÜ¿´µ½¶ÔÓ¦µÄFlexÊÓͼ
ʵ¼ÊÉÏ,µ±FlexBuilder3²å¼þ°²×°Íê³Éºó,ÎÒÃÇÒ²¿ÉÒÔÏòÌí¼ÓÆäËû³£Ó ......

ÎÒµÄFlexѧϰ±Ê¼Ç

ÎÒµÄFlexѧϰ±Ê¼Ç

2009-10-16 ÎÊÌ⣺Debug²»¿ÉÓã¬traceÎÞ·¨ÔÚConsoleÖÐÊä³öÄÚÈÝ¡£µ¯³ö¶Ô»°¿òÌáʾÊÇ·ñÖØа²×°flash player¡£ ½â¾ö£º°²×°flashplayer_debug£¬ÎÊÌâ½â¾ö¡£ http://www.java1995.cn/resource/8a8288881fe2c4f8011fe995e4320002

AS3²»Ö§³Öº¯ÊýÖØ¡£
ÎÊÌ⣺this = new Vector2D()£¬±àÒë´íÎó1050£¬ÎÞ·¨Îª·ÇÓ¦Óø´ÖÆ¡£
......

ÓÃFlexµ÷ÓÃSWF²é¿´PDF

   
ÓÐʱºòһЩ×ÊÁÏÖ»Äܸø±ðÈË¿´£¬Èç¿É´òÓ¡µÄÎĵµÈçDOC£¬PDF£¬µ«²»ÄÜÈÃÆäËûÎÞȨÏÞµÄÈËÁí´æ»òÕß´òÓ¡£¬ÌرðÊÇweb°æµÄÎļþ¹ÜÀíÀàµÄϵͳ£¬×ܻῼÂǵ½Õâ¸ö
ÎÊÌâ¡£µ±ÓÃIEÖ±½Ó´ò¿ªpdfµÄʱºò£¬¾¡¹Ü¿ÉÒÔÆ£±ÖIEµÄÁí´æΪ£¬µ«Êǵã»÷PDFÎļþµÄʱºò£¬ÔÙ°´F8µÄʱºò£¬PDFµÄÔĶÁÆ÷Èç
£¨adobereader£©»áÏÔʾToolsBar£¬ËùÒÔÖ±½Ó´ò¿ªpdfòËÆÐв»Í¬£¨Ä¿Ç°ËùÖªµÀµÄ£©¡£µ±Ê±Ò»Ìýµ½Õâ¸öÐèÇóÁ¢Âí¾ÍÏëÓÃswing£¨ÒòΪÎÒÖ»
¶®Ò»Ð©swing£©£¬°Ñpdfת»»³ÉͼƬ£¬È»ºóÿһҳ¶ÔÓ¦Ò»ÕÅͼƬÏÔʾ£¬µ«ÊÇÂíÉϸø·ñ¶¨ÁË£¬µÚһת»»³öÀ´µÄͼƬ²»ÇåÎú£¨ÎÒÄ¿Ç°ËùÁ˽âµÄ£©¶øÇÒÕâͼƬ·Å´óËõ
СµÄЧ¹ûÒ²²»ºÃ¿´£¬µÚ¶þ²»Ï뻨ʱ¼äºÍ±ðÈËÈ¥ÕùÂÛswingÂýµÄÎÊÌâ¡£
         ¸ÕÇɽøÒ»¼Òй«Ë¾Ã»Ê²Ã´ÈÎÎñ£¬ÔÚ¿´flex£¬¾ÍÏëÄܲ»ÄÜ°ÑPDFת»»³ÉswfÄØ£¿ºÃ£¬ÂíÉÏgoogle£¬½á¹û»¹ÕæÕÒµ½ÓÐÕâôºÃµÄ¶«¶«SWFTOOLS
£¬
Õâ¿î¶«Î÷ÊÇÀÏÍâÓÃcдµÄ£¬»¹ÊÇ¿ªÔ´µÄ£¬¹»Ç¿£¡ËüÓкܶ๦ÄÜ°üÀ¨
PDF2SWF£¬SWFCombine£¬SWFStrings£¬SWFDump£¬JPEG2SWF£¬PNG2SWF£¬GIF2SWF£¬WAV2SWF£¬AVI2SWF£¬Font2SWF¡£
ÔÚÕâÀïÎÒÃÇÖ»ÐèÒªPDF2SWF£¬¹ØÓÚPDF2SWFµÄÃüÁî´ó¼Ò¿ÉÒԲ鿴ËûµÄ°ïÖúdocumentation
£¬EÎIJ»ºÃµÄ ......

FLEX alert.show() flag Ïêϸֵ

 Alert.show()ÀïÃæÓжà¸öÊôÐÔ£¬ÆäÖÐÅÅÔÚµÚÈýÊÇflags£¬Õâ¸öÊôÐÔ×÷ÓÃÊÇÔÚµ¯³öµÄAlertÌáʾ¿òÀïÃæÏÔʾÄÇÒ»¸ö»ò¶à¸ö°´Å¥£¬ÎĵµºÍÊé
¼®Ò»°ãֻд¸ÃÊôÐÔ¿ÉÒÔ×ÔÓÉ×éºÏ Alert.OK, Alert.CANCEL ,Alert.YES
,Alert.NOËĸöÑ¡Ï²¢ÓÓ|”·Ö¸ô£¬ÆäʵҲ¿ÉÒÔÓÃÊý×Ö±àºÅ´úÌæµÄ£¬ÓÃÊý×Ö±àºÅ¸üΪ¼ò±ã£¬ÒÔÏÂÊDZàºÅ¶ÔÓ¦µÄ°´Å¥×éºÏ±í£¬Ò»¹²ÓÐ16¸öÊý×Ö±àºÅ£¨Æä
ʵֻÓÐ15ÖÖ×éºÏ£©¡£
1-   Alert.YES
2-   Alert.NO
3-   Alert.YES | Alert.NO
4-   Alert.OK
5-   Alert.OK | Alert.YES
6-   Alert.OK | Alert.NO
7-   Alert.OK | Alert.YES | Alert.NO
8-   Alert.CANCEL
9-   Alert.YES | Alert.CANCEL
10-   Alert.NO | Alert.CANCEL
11-   Alert.YES | Alert.NO | Alert.CANCEL
12-   Alert.OK | Alert.CANCEL
13-   Alert.OK | Alert.YES | Alert.CANCEL
14-   Alert.OK | Alert.NO | Alert.CANCEL
15-   Alert.OK | Alert.YES | Alert.NO | Alert.CANCEL
16-   Alert.OK £¨ºÍ4Ò»Ñù£©
17 ......

¹ØÓÚflex×Ô´øµÄ±íµ¥ÑéÖ¤

 ÏÂÃæ˵һÏÂÎÒÀí½âºóµÄÓ÷¨°É¡£½ö½öÊǸö¼Ç¼À²……-¡£-òËÆûʲô¼¼Êõº¬Á¿¡£
Ê×ÏÈ£¬¸øvalidatorÆð¸öid²»Óöà˵À²£»
required ÊǸöbooleanÀàÐ͵ÄÖµ£¬´óÖµÄÒâ˼ÊÇ˵£¬ÑéÖ¤µÄÕâ¸öÖµÊDz»ÊDZØÐëµÄ£¨Õâ²»ÊÇ·Ï»°Â²»ÊDZØÐëµÄ£¬ÎÒ¸ÉÂïÒªÑéÖ¤……£©ºÃ°É£¬ÉèÖÃΪtrue£»
requiredFieldError Õâ¸ö¶«Î÷ºÜºÃÓ㬾ÍÊÇ´íÎóÌáʾ¿òÄÚµÄÎÄ×ÖÃèÊö¡£Ò»°ãʱºòĬÈϵĶ¼ÊÇÓ¢Îĵģ¬¸æËßÄã"This field is required."-¡£-ÎÒÓ¢ÎIJ»ºÃ£¬»¹ÊǸijÉÖÐÎĵİɣ»
source ×ÖÃæÀí½âÊÇÔ´µÄÒâ˼ÊÇ°É……ËüÊÇ˵£¬ÄãÒªÑéÖ¤Äĸö×é¼þ£¬ÇÃÈëÕâ¸ö×é¼þµÄid¾Í¿ÉÒÔÁË£»
property ºÜÓÐÓõĶ«Î÷£¬ÒòΪÎÒlinksetnameÊǸöTextInput£¬ÄÇôÎÒÑéÖ¤µÄ¾ÍÊÇËüÀïÃæµÄÎÄ×ÖÄÚÈÝ£¬Ò²¾ÍÊÇÊôÓÚtextÀàÐÍÁË£»
trigger ´¥·¢Æ÷£¬ÊÇÖ¸£¬ÄãÒªÈÃË­À´´¥·¢Õâ¸öÑéÖ¤£¬Õâ¸öÖµÊÇÄã´¥·¢×é¼þµÄid£¬ÎҵĴ¥·¢Æ÷affirmÊǸöbutton£»
triggerEvent Õâ¸öÖµµÄÒâ˼ÊÇÄãÒªÔÚʲôʼþÏÂÀ´´¥·¢Õâ¸öÑéÖ¤£¬ÎÒµÄaffirmÊǸöbutton£¬ËùÒÔÎÒÏ£ÍûËüÔÚµã»÷£¨click£©µÄʱºòÀ´´¥·¢Õâ¸öÑéÖ¤¡£
µ½´Ë£¬Ò»¸ö¼òµ¥µÄÎı¾¿òÊÇ·ñÊäÈëÎÄ×ÖµÄÑéÖ¤OK¡£
µ«ÊÇ£¬ÎÒµÄÒ³Ãæ²»¹âÖ»ÓÐÎı¾¿ò¶øÒÑ£¬ÓÐÒ»¸öΰ´óµÄdatagrid£¬ÎÒÏ£ÍûËüÄܶÔd ......

flexÖÐʹÓÃÕýÔò±í´ïʽ

 <mx:TextInput id="userName" maxChars="4" restrict="a-zA-Z0-9" />
restrict Ó÷¨:
TextField.restrict = "´Ë´¦Îª¿ÉÊäÈëµÄÄÚÈÝ";
field.restrict = "^´Ë´¦Îª½ûÖ¹ÊäÈëµÄÄÚÈÝ";
restrictÊôÐÔÖ§³ÖһЩÀàËÆÕýÔò±í´ïʽµÄÑùʽ:
field.restrict = "a-zA-z"; //Ö»ÔÊÐí´óС×Öĸ
field.restrict = "a-zA-z "; //Ö»ÔÊÐí×ÖĸºÍ¿Õ¸ñ
field.restrict = "0-9"; //Ö»ÔÊÐíÊý×Ö
field.restrict = "^abcdefg"; //³ýÁËСд×Öĸabcdefg²»ÔÊÐíÍâ,ÆäËü¶¼ÔÊÐí
field.restrict = "^a-z"; //ËùÓÐСд×Öĸ¶¼²»ÔÊÐí,µ«ÊÇ,ÆäËüÄÚÈݶ¼ÔÊÐí,°üÀ¨´óд×Öĸ
field.restrict = "0-9^5"; //Ö»ÔÊÐíÊý×Ö,µ«5ÀýÍâ
ÈÃrestrict×Ö·û°üº¬¾ßÓÐÌØÊâÒâÒåµÄ×Öĸ(ÀýÈç-ºÍ^):
field.restrict = "0-9\\-"; //ÔÊÐíÊý×ÖºÍÆÆÕÛºÅ
field.restrict = "0-9\\^"; //ÔÊÐíÊý×ÖºÍ^
field.restrict = "0-9\\\\"; //ÔÊÐíÊý×ֺͷ´Ð±¸Ü
ÄãÒ²¿ÉÒÔʹÓÃUnicodeתÒåÐòÁÐ,Ö¸¶¨ÔÊÐíµÄÄÚÈÝ.ÀýÈç:
field.restrict = "^\u001A" ......
×ܼǼÊý:792; ×ÜÒ³Êý:132; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [123] [124] [125] [126] [127] [128] [129] [130] [131] 132  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ