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

flexµÄCanvas¿ÉÒÔºÍHTMLµÄDIVÒ»Ñù×ö¿é×´µÄÍø¸ñ²¼¾Ö

Óõ½µÄMX±êÇ©£ºconstraintColumns¡¢ConstraintColumn¡¢constraintRows¡¢ConstraintRow
¸ø´ó¼Ò˵˵ǰÌáÇé¿ö£ºÔÚ×öMXML²¼¾Öʱ£¬ÒªÇ¶Ì׺ܶà²ã¼¶£¬ÕâÀïÃæÓкܶàÎÊÌ⣺
1¡¢Ç¶Ì×Ì«¶à²ã¼¶»áÓ°ÏìЧÂÊ£¡
2¡¢Ç¶Ì×Ì«¶à²ã¼¶£¬´úÂëµÄ¿É¶ÁÐÔ¡¢¿Éά»¤ÐԲ
3¡¢Ç¶Ì×Ì«¶à²ã¼¶ÊÇÒòΪCanvas¡¢Vbox¡¢Hbox¹¦Äܵ¥Ò»£¬²»ÄÜÂú×ãÐèÒª£¬¶ø²»ÊDZØÐëÒªÕâÑù×ö¡£
ºÃ°É£¬À´¿´Ò»¸öMXML´úÂëʾÀý£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600">

<mx:constraintColumns>
<mx:ConstraintColumn id="column1" width="250"/>
<mx:ConstraintColumn id="column2" width="100%"/>
</mx:constraintColumns>

<mx:constraintRows>
<mx:ConstraintRow id="row1" height="25"/>
<mx:ConstraintRow id="row2" height="25"/>
<mx:ConstraintRow id="row3" height="100%"/>
<mx:ConstraintRow id="row4" height="35"/>
</mx:constraintRows>
<mx:Button id="topMenuCvs" label="topMenuCvs" width="100%"
top="row1:0" bottom="row1:0"/>

<mx:Button id="topButtonCvs" label="topButtonCvs" width="100%"
top="row2:0" bottom="row2:0"/>

<mx:Button id="leftNavCvs" label="leftNavCvs" height="100%"
top="row3:0" bottom="row3:0" left="column1:0" right="column1:0"/>

<mx:Button id="leftMainCvs" label="leftMainCvs" height="100%"
top="row3:0" bottom="row3:0" left="column2:0" right="column2:0"/>

<mx:Button id="footCvs" label="footCvs" width="100%"
top="row4:0" bottom="row4:0"/>

</mx:Application>
 Ð§¹ûͼ£º


Ïà¹ØÎĵµ£º

Flex Óë servlet ͨÐÅ

servlet ¶Ë£º
String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");

Flex ǰ̨¶Ë
<fx:Script>
<![CDATA[
import flash.trace.Trace;
private var loader:UR ......

flex Êý¾Ý°ó¶¨Ö®Àí½â


       ֮ǰдÁË¡¶ flex ʼþÖ®Àí½â¡·ºÍ¡¶ flex meta tag Ö®Àí½â¡·£¬±¾ÏëÊÇΪд±¾ÎÄ flex Êý¾Ý°ó¶¨Ö®Àí½â×öÆÌµæµÄ£¬Ë­ÖªÍøÉÏÒÑÓÐ flex Êý¾Ý°ó¶¨Ö®Àí½âºÜºÃµÄÎÄÕ£¬ÈçÏ£º
       http://www.cnblogs.com/nianshi/archive/2010/05/19/1739407.html £¬ FLEX ......

DivCSSС½á£ºä¯ÀÀÆ÷ĬÈÏHTMLµÄCSSÑùʽÊôÐÔ


Õâ¸ö“ä¯ÀÀÆ÷ĬÈÏHTMLµÄCSSÑùʽÊôÐÔ”£¬ÔÚÄãÐèÒª»¹Ô­Ä¬ÈÏÖµµÄʱºò£¬±È½ÏÓÐÓ᣿ªÊ¼µÄʱºòÓ¦ÓÃͨÅäÑ¡ÔñÆ÷ *
{margin:0;padding:0;}£¬µ±ÐèҪʹÓñ߾àµÄʱºò£¬¾ÍÐèÒª»¹Ô­HTMLĬÈÏCSSÖµÁË¡£ 
µ«Í¨ÅäÑ¡ÔñÆ÷ÔÚ´óÐÍÍøÕ¾µÄ¹¹½¨ÖУ¬Ó°
ÏìÐÔÄÜ£¬¿ÉÒԲο¼52CSS.comµÄÏà¹ØÎÄÕ£¬´ó¼Ò»¹ÊÇÐèÒª½÷É÷һЩ¡£
¡¡¡¡Ò ......

È¥³ýÍøÕ¾ÖÐHTML±êÇ©µÄÕýÔò±í´ïʽ

string str = a.ToString();
str = Regex.Replace(str, @"</?span[^>]*>", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"&#[^>]*;", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"</?marquee[^>]*>", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, ......

ÔÚHTMLÖÐǶÈëPDF´úÂë

<OBJECT height="700" width="800" border="0" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000"
>
<PARAM NAME="_Version" VALUE="65539">
<PARAM NAME="_ExtentX" VALUE="20108">
<PARAM NAME="_ExtentY" VALUE="10866">
<PARAM NAME="_StockProps" VALUE="0">
<PARA ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ