flex³õѧ£¨Ò»£©
FlexÖпؼþ×é¼þÒ»´ó¶Ñ£¬×ܽáһϡ£
1£®
ÓÃÀ´²¼¾ÖµÄ¿Ø¼þÓÐ form¡¢canvas¡¢panel¡¢box µÈ¡£ µ±È»box ÖÐÓÖÓкܶàÁË£¬ÓÐvbx¡¢hbox¡¢VDividedBox¡¢HividedBox¡¢Tile¡£ µ±È»ÕâЩÀïÃæ´óÌåÉÏÓÖ·ÖΪÁ½ÖÖ
Ò»ÖÖÊǾø¶Ô²¼¾Ö¡¢Ò»ÖÖÊÇÏà¶Ô²¼¾Ö£¨¸öÈËÈÏΪ°¡£©¡£ÆäÖÐcanvas ÊÇÖ»Ö§³Ö¾ø¶Ô²¼¾ÖµÄ form¡¢box Ö»Ö§³ÖÏà¶Ô²¼¾Ö¡£¶øpanel ÔòÁ½ÖÖ¶¼Ö§³Ö ¿´Ñ¡ÔñÁË layout ÊôÐÔµÄÖµ¶øÈ·¶¨¡£ »¹ÓÐһЩÓÃÀ´Ê¢·Åbutton µÈµÄÈÝÆ÷
ApplicationControlBar¡¢ControlBar µÈ¡£
2£®
ÓÃÀ´¿ØÖƵĿؼþ¡£Button¡¢LinkButton¡¢CheckBox¡¢RadioButton ºÍ PopupButton ¿Ø¼þµÈ¡£
3£®
ÓÃÀ´ÏÔʾÊý¾ÝµÄ¿Ø¼þ£¨List ¿Ø¼þ£© ComboBox¡¢List¡¢HorizontalList¡¢DataGrid¡¢Tile¡¢Menu ºÍ TreeµÈ¿Ø¼þ¡£
Flex Ç¿´óµÄ¶¯»¹¦Äܵ±È»ÊǺÜÈÇÈ˹Ø×¢µÄ
ÊÕ¼¯ÁËһЩ¶¯»µÄЧ¹û¿Ø¼þ
Effect Ãû³Æ
1¡¢AnimateProperty
Õë¶Ô×é¼þµÄÒ»¸öÒÔÊý×Ö¼ÆËãµÄÊôÐÔ£¬±ÈÈ糤¶È£¬
°´¸ø¶¨µÄÆðʼֵÖ𽥸ıäÊôÐԵĴóС¡£
2¡¢Blur
Ä£ºýЧ¹û¡£¿ÉÒÔÈÃ×é¼þ±äµÃÄ£ºý£¬ºËÐÄÓÉ BlurFilter Â˾µÍê³É¡£
µ±¶Ô×é¼þʹÓÃÁ˸ÃЧ¹û£¬²»¿ÉÔÙʹÓà Blur Â˾µºÍÆäËûÄ£ºýЧ¹û¡£
3¡¢Fade
µÈëµ³öЧ¹û¡£
×¢Ò⣺µ±Ä¿±ê¶ÔÏóÖаüÀ¨ÎÄ×Öʱ£¬±ØÐëʹÓÃǶÈë×ÖÌå¡£
4¡¢Dissolve
ÈܽâЧ¹û£¬Ö÷ÒªÊÇÔÚÄ¿±ê¶ÔÏóÉÏÔö¼Ó¸²¸Ç²ã£¬¸Ä±ä¸²¸Ç²ãµÄ͸Ã÷¶È£¬´ïµ½ÈÃÄ¿±êÏûʧ»ò³öÏÖµÄЧ¹û¡£
ºÍ Fade Ч¹ûÏà±È£¬Ëü¿ÉÒÔÉèÖø²¸Ç²ãµÄÑÕÉ«¡£
×¢Ò⣺µ±Ä¿±ê¶ÔÏóÖаüÀ¨ÎÄ×Öʱ£¬±ØÐëʹÓÃǶÈë×ÖÌå¡£
5¡¢Glow
·¢¹âЧ¹û£¬Ê¹ÓÃÁËGlowFilter Â˾µ¡£
µ±¶Ô×é¼þʹÓÃÁ˸ÃЧ¹û£¬²»¿ÉÔÙʹÓÃGlowFilter Â˾µºÍÆäËû·¢¹âЧ¹û¡£
6¡¢Iris
²ÊºçЧ¹û£¬×é¼þÒÔ¾ØÐη½Ê½£¬´ÓÖÐÐÄ·Å´ó»òËõСµ½ÖÐÐÄ¡£
ÊôÓÚÕÚÕÖЧ¹û¡£
7¡¢Move
Òƶ¯Ð§¹û£¬Òƶ¯×é¼þµÄ×ø±ê£¬Ö»Óе±×é¼þλÓÚÖ§³Ö¾ø¶Ô¶¨Î»µÄÈÝÆ÷ÖÐʱ²ÅÓÐЧ¡£
8¡¢Pause
Í£Ö¹£¬Ê²Ã´¶¼²»¸Ä±ä£¬Ã»Óж¯»¡£
Ò»°ãÓÃÓÚ¸´ºÏ¶¯»Ð§¹ûÖУ¬ÓÃÀ´·Ö¸îÇ°ºóÁ½¸ö¶¯»¡£
9¡¢Resize
³ß´çµ÷ÕûЧ¹û£¬¸Ä±ä×é¼þµÄ³¤ºÍ¿í¡£
µ±¸Ä±ä×é¼þµÄ³¤ºÍ¿íʱ£¬´¦ÓÚͬһ¸öÈÝÆ÷µÄÆäËû×é¼þµÄ´óСҲ¿ÉÄÜ»áÏàÓ¦¸Ä±ä£¬Èç¹û¸ÃÈÝÆ÷ʹÓÃÁ˾ø¶Ô¶¨Î»Ôò²»»á·¢ÉúÕâÖÖÇé¿ö¡£
10¡¢Rotate
ÐýתЧ¹û¡£
11¡¢SoundEffect
×¢Ò⣺µ±Ä¿±ê¶ÔÏóÖа
Ïà¹ØÎĵµ£º
×î½ü¿´ÁËflexÏà¹Ø×ÊÁÏ£¬ÐĵÃÌå»áÈçÏ£º
Flex³ÌÐò°üÀ¨£º
1.flex framework
2.MXML ³ÌÐòÖ÷Îļþ£¬»ùÓÚxmlµÄÒ»ÖÖʵÏÖ¡£
3.Actionscript 3.0 ÀàËÆJSµÄÒ»Öֽű¾
4.CSS Ñùʽ
5.ͼÐÎ×ÊÔ´ ͼ±êÖ®ÀàµÄ¶«¶«
6.Êý¾Ý
Flex±àÒë·¢²¼¹ý³Ì£º
FlexÓ¦ÓóÌÐò±»±àÒë³ÉÒ»¸öSWFÎļþ£¬È»ºóÔÚFlash PlayerÏÂÔËÐС£µ±Ô´´úÂë±»±àÒëÊÇ£¬Ëü¾Í±»× ......
ÓÐʱºòһЩ×ÊÁÏÖ»Äܸø±ðÈË¿´£¬Èç¿É´òÓ¡µÄÎĵµÈçDOC£¬PDF£¬µ«²»ÄÜÈÃÆäËûÎÞȨÏÞµÄÈËÁí´æ»òÕß´òÓ¡£¬ÌرðÊÇweb°æµÄÎļþ¹ÜÀíÀàµÄϵͳ£¬×ܻῼÂǵ½Õâ¸öÎÊÌâ¡£µ±ÓÃIEÖ±½Ó´ò¿ªpdfµÄʱºò£¬¾¡¹Ü¿ÉÒÔÆ£±ÖIEµÄÁí´æΪ£¬µ«Êǵã»÷PDFÎļþµÄʱºò£¬ÔÙ°´F8µÄʱºò£¬PDFµÄÔĶÁÆ÷È磨adobereader£©»áÏÔʾToolsBar£¬ËùÒÔÖ±½Ó´ò¿ªpdfòËÆÐв ......
Flex Builder 3 Õýʽ°æ£¬·¢²¼ÓÚÖйúʱ¼ä 2008 Äê 2 Ô 25 ÈÕ£»
ÏÂÔصØÖ·Ò»£º
http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
´óС£º 424 MB £»Î´½øÐÐѹËõµÄ Flex Builder 3 °²×°Îļþ
²»ÓÃ×¢²áµÇ¼£¬¿ÉÒÔÖ±½ÓÏÂÔØ¡£
ÏÂÔصØÖ·¶þ£º
http://trials.adobe.com/Applications/.../FB3_WWEJ.exe
´óС£º¡ ......
Ê×ÏÈÒªÇó´ó¼Òµ½Êý¾Ý¿â½¨Á¢Ò»¸öÊý¾Ý¿â£¬ÔÚÎÒÕâÀý×ÓÖÐÊý¾Ý¿âÃûΪuserDb,½¨Á¢Ò»¸ö±íuserInfo£¬ÀïÃæÉèÖÃÁ½¸ö×Ö¶ÎÒ»¸öΪid£¬Ò»¸öΪname¡£
´´½¨ÒÔÏÂjava´úÂëÔÚsrcĿ¼ÏÂ
User.java
package org.rjb.java;
public class User {
private String name;
public String getName() {
return name;
}
public voi ......
/*Copyright (c) 2006 Adobe Systems Incorporated
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, m ......