flex ǶÈë×ÖÌå
±¾ÎÄϵԴ´£¬²Î¿¼ÁËFlexµÄ¹Ù·½Îĵµ£¡
ÔÚ´¦ÀíÎı¾Ê±£¬ÎªÁËÃÀ¹Û£¬ÓÐʱ»á¸øÎı¾Ñ¡ÔñһЩÌØÊâµÄ×ÖÌ壬ʹµÃÎı¾²»ÄÇôµ¥µ÷£¬Õâ¾Í»áÒý·¢Ò»¸öÎÊÌ⣺ÓÉÓÚÿ¸öÓû§µÄϵͳÓвîÒ죬µ±¶Ô·½»úÆ÷ÉÏûÓа²×°ÄãÖ¸¶¨µÄ×ÖÌåʱ£¬Flash Player»á×Ô¶¯Ñ¡ÔñÒ»¸öºÏÊʵÄ×ÖÌ壬ÎÞ·¨±£Ö¤ÎÄ×ÖµÄÍâ¹ÛÔÚ¿ØÖÆÖ®ÖУ¬ºÜ¿ÉÄÜ»á×ßÑù¡£ÈçºÎ±ÜÃâ³öÏÖÕâÑùµÄÇé¿ö£¿
½â¾ö·½·¨ÓÐÁ½ÖÖ£ºÊ¹ÓÃÉ豸×ÖÌåºÍʹÓÃǶÈë×ÖÌå¡£É豸×ÖÌåµÄÌØÐÔÊÇÓû§»úÆ÷ÉϵÄËùÓÐ×ÖÌ嶼×î´ó¿ÉÄܵØÄ£ÄâÆäÍâ¹Û£¬±£³ÖÎı¾µÄÑùʽ²»»á³öÏֽϴó±ä»¯£»Ç¶Èë×ÖÌåÊÇÖ¸½«×ÖÌåÎļþ±àÒë½øSWFÎļþÖлòÕßÔËÐÐʱ¼ÓÔص½SWFÎļþÖУ¬¹©SWFÎļþʹÓá£ÕâÑù²»¹ÜÓû§ÊÇ·ñ°²×°Á˸Ã×ÖÌ壬¶¼¿ÉÒÔÕý³£ÏÔʾ¡£Ê¹ÓÃǶÈë×ÖÌåµÄºÃ´¦»¹ÓУºÎı¾¾ßÓп¹¾â³Ý£¬±ßÔµ¸üƽ»¬£¬Îı¾¿ÉÒÔÉèÖÃ͸Ã÷¶È£¬Îı¾»¹¿ÉÒÔÐýת¡£µ±È»Ò²ÓÐȱµã£¬Ê×ÏȱãÊÇÔö¼ÓÁ˳ÌÐòµÄÎļþ´óС£¬¶øÇÒǶÈë×ÖÌåÖ»Ö§³ÖTrueType£¨Î¢ÈíºÍApple¹«Ë¾¹²Í¬ÑÐÖƵÄ×ÖÐͱê×¼£©ÀàÐÍ£¬µ±×ÖÌå´óССÓÚ10ʱ£¬Îı¾»áºÜÄѱæÈÏ¡£
Ò»°ãÇé¿öÏ£¬Ê¹ÓÃÉ豸×ÖÌå¾Í×ã¹»ÁË£¬Flash PlayerÖ§³ÖÈýÖÖÉ豸×ÖÌ壺_sans£¬_serif£¬_typewriter¡£ËùÒÔÔÚ¶¨ÒåÑùʽʱ£¬Îª±£Ö¤Ð§¹û£¬¿ÉÒÔÕâÑù£º
Application{
fontSize:12;
fontFamily: Arial, "_sans";
}
µ±Óû§µÄ»úÆ÷ÉÏûÓÐArial×ÖÌ壬Flash Player×Ô¶¯Ê¹ÓÓ_sans”É豸×ÖÌå¡£ºÍϵͳ×ÖÌåµÄʹÓò»Í¬£¬É豸×ÖÌå±ØÐëÓÃÒýºÅ¡£
ÓÐЩÇé¿öÒªÇó±ØÐëʹÓÃǶÈë×ÖÌ壬ÀýÈçʹÓÃÁ˶¯»Ð§¹ûÖеIJ¿·ÖЧ¹ûÈçFade£¨µÈëµ³öЧ¹û£©¡¢Rotate£¨ÐýתЧ¹û£©£¬Dissolve£¨ÈܽâЧ¹û£©¡£¿ÉÒÔÔÚÑùʽÔÚ¶¨ÒåǶÈë×ÖÌ壺
<mx:Style>
@font-face {
src:local("Arial"); //ǶÈë±¾»ú×ÖÌå
fontFamily: myFont; //×ÖÌåµÄ±ðÃû
fontStyle: normal; //ĬÈÏnormal£¬Õý³££¬¿ÉÑ¡Öµ£ºitalic | oblique | normal
fontWeight: normal; //ĬÈÏnormal£¬Õý³££¬¿ÉÑ¡Öµ£ºbold | heavy | normal
flashType: true; //ĬÈ
Ïà¹ØÎĵµ£º
ÔÚÓÃflex×öWebÓ¦ÓÃʱΪÁËÀ©Õ¹Ó¦ÓóÌÐò¹¦ÄÜ£¬ÊƱػá¸ü¶àµÄͬä¯ÀÀÆ÷½øÐн»»¥£¬ÕâÑù¾Í»áÓõ½ÏÂÃæ½éÉܵÄ֪ʶ
1¡¢ÔÚFlexÖÐʵÏÖURL Ìøת(ʹÓÃflash.net.navigateToURL()·½·¨È磺)
/*
* param1: ÒªÌøתµÄURL
* param2: Ìøת·½Ê½ _blank /_self
*/
navigateToURL(new URLR ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" layout="absolute" xmlns:ns1="com.component.*">
<mx:Script>
<![CDATA[
import com.component.DataHBox;
import com.component. ......
ŪÁËÁ½Ì죬ÖÕÓڰѸ´ÔÓµÄxmlÎļþµÄÊý¾Ý¸ù¾Ý×Ô¼ºµÄÒªÇó¶Á³öÀ´£¬ÏÔʾÔÚÒ³ÃæÉÏÁË¡£flexͨ¹ýHTTPService×é¼þ·¢ËÍÇëÇ󣬶ÁÈ¡xmlÎļþÖÐÊý¾Ý£¬ÓÃxmllistcollection´æ´¢xmlÖÐijһ²¿·ÖÊý¾Ý£¬²¢°ó¶¨ÔÚgridview¿Ø¼þÉÏ¡£
xml£¬xmllist£¬xmllistcollectionÖÐÖ»ÓÐxmllistcollection¾ßÓÐÐ޸ĸüÐÂÊý¾ ......
±¾ÎĽéÉÜһϹØÓÚflexÐÔÄÜÓÅ»¯,ÒÔ¼°flexÉú³ÉµÄµÄswf´óСÓÅ»¯.
1.¹Øµôbuild automaticly
2.רÐÄ×öÒ»¸öÏîÄ¿£¬¿ªÆðÀ´Ò»¸öflex builder
3.ÓÃflex builder¶ø²»ÓÃEclipse²å¼þ£¬ÕâÑù²»ÓÃÊÜÆäËüµÄ²å¼þµÄÓ°Ïì¡£
ÖÁÓÚºóÀ´ºÍÊý¾Ý¿âµÄ¾ÍÏȲ»ËµÁË,ÒòΪˮƽÓÐÏÞ
as3Ò»³öÀ´,flexÒ²¸ú×Å»ðÒ»°Ñ,ĿǰѧϰflexµÄÈËÒ²Ô½À´Ô½¶àÁË,µ«ÊǹúÄÚfl ......