ÔÚflexÖÐʹÓÃǶÈëhtmlÎļþÒÔ½â¾öÏÔʾhtmlµÄÎÊÌâ
ÏëÔÚflexÖÐÕæÊµµÄÏÔʾhtml,µ«ÊÇtexteara,lable,textÖÐÖ»Ö§³Ö²¿·Öhtml±êÇ©
<a>¡¢<b>¡¢<br>¡¢<font>¡¢<img>Èç¹ûÓÃimgÓÖ´æÔÚÏÔʾ×Ô¶¯»»ÐеÄÎÊÌâ¡£Ö»ÓвÉÓÃǶÈëhtmlµÄ·½·¨À´½â¾ö¡£
1.flexdemo1
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*" width="427" height="282" viewSourceURL="srcview/index.html">
<mx:Panel x="10" y="10" width="407" height="262" layout="absolute" title="TabNavigator with HTML IFrame Enclosures">
<mx:TabNavigator x="10" y="10" width="367" height="202">
<local:IFrame source="http://www.ff-power.com" label="TÍø" width="100%" height="100%">
</local:IFrame>
<local:IFrame source="http://www.ctott.com" label="·É·²¶¯Á¦" width="100%" height="100%">
</local:IFrame>
<local:IFrame source="http://www.ff-power.com/bbs" label="·É·²¶¯Á¦-BBS" width="100%" height="100%">
</local:IFrame>
</mx:TabNavigator>
</mx:Panel>
</mx:Application>
2.Iframe.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
resize="callLater(moveIFrame)"
move="callLater(moveIFrame)">
<mx:Script>
<![CDATA[
import flash.external.ExternalInterface;
import flash.geom.Point;
import flash.net.navigateToURL;
private var _source: String;
private function moveIFrame(): void {
var localPt:Point = new Point(0, 0);
var globalPt:Point = this.localToGlobal(localPt);
 
Ïà¹ØÎĵµ£º
ǰ̨½Å±¾µÄÔªËØ×Ô¶¯ÏÂÀÀ©Õ¹:
¾ßÌåÊǵ±Êó±ê·ÅÔÚÒ»¸öÔªËØÉÏʱ,Õâ¸öÔªËØÈç¹ûÏÔʾ²»È«,¾Í×Ô¶¯À©Õ¹,²¢ÇÒ²»»áÓ°ÏìÆäËüµÄÔªËØ.ÒÆ¿ªÊó±ê¸ÃÔªËØ×Ô¶¯»¹Ô³ÉÔÀ´µÄÑùʽ.
ÔÚCoding µÄ¹ý³ÌÖÐ,Ò»¸ö¿çBrowserµÄÎÊÌâÊÇ:
ÔÚÿһ´ÎÏÔʾ float divǰ ......
ºÜ¾ÃûȥÁ·Ï°flex ¿ªÊ¼ÓеãÉúÊ裬ÓÃÆðÀ´»¹ÊǺÜÊæ·þ¡£flex 3ºÍflex4Ö®¼ä´æÔÚһЩ²î±ð£¬ËùÒÔÔÚÑ¡ÔñµÄʱºòÐèҪСÐÄÒ»µã£¬½ñÄêÖ÷ÍÆflex 4 ËùÒÔ³õѧµÄÈË¿ÉÒÔÌø¹ýflex 3Ö±½Óѧflex4¡£ ÒòΪflex ¿ª·¢Êǽ¨Á¢ÔÚas 3»ù´¡ÉÏ£¬¹Ê´ËÑо¿Àà¿âÖ®¼ä½á¹¹ÊÇÒ»¼þºÜ²»´íµÄÊÂÇé¡£±Ï¾¹½á¹¹ÃÀÊÇѧϰ±à³ÌÒ»ÖÖÃÀѧÁ÷¡£
½ñÌìµÄ´¿´âÁ·Ï° ......
HTML Tidy Configuration Options
ÎÒÃÇÏÖÔÚµÄÍøÕ¾´ó²¿·Ö¶¼ÊÇHTMLµÄ£¬Èç¹ûÏ£Íû½«ËüÃDZê×¼»¯£¬ÊÖ¹¤µÄÒ»Ò³Ò»Ò³Ð޸ķdz£Âé·³¡£Èç¹ûÓÐÒ»¸ö¹¤¾ßÄÜ×Ô¶¯½«HTMLת»»³É·ûºÏ±ê×¼µÄXHTML¾ÍºÃÁË¡£ÆäʵÔÚÕâ·½ÃæÒѾÓÐÐí¶àÉÌÒµºÍÃâ·ÑµÄ¹¤¾ßÈí¼þ¿ÉÒÔʹÓã¬ÕâÀォҪ½éÉܵÄHTML Tidy ¾ÍÊÇÒ»¸öºÜ»ù±¾µ«ºÜÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÔËÐÐÔÚ¶àÖÖÆ½Ì¨ÉÏ£¬ ......
±à³ÌÕâô¾Ã£¬Ï¸ÏëÁËһϣ¬·¢ÏÖÕâ¸öÎÊÌ⻹²»ÊǺÜÇå³þ£¬º¹£¡¿´Á˼¸ÆªÎÄÕ£¬ÕûÀíÁËһϣ¬·ÖÏíÏ£¡
Ò»¸öÅóÓÑÈçÊǵÄ˵µ½“ID¾ÍÏñÊÇÒ»¸öÈ˵ÄÉí·ÝÖ¤ºÅÂ룬¶øName¾ÍÏñÊÇËûµÄÃû×Ö£¬IDÏÔÈ»ÊÇΨһµÄ£¬¶øNameÊÇ¿ÉÒÔÖØ¸´µÄ”ÎҸоõºÜÌùÇУ¡¡¾µ«ÊÇÌ«ÁýͳŶ£¬ÏÂÃæÏ¸Ï¸½²Ò»Ï£¡¡¿¾ßÌåµÄ½«“ ......
Ëæ×Å Adobe Flex ¼¼ÊõµÄ³ÉÊ죬ԽÀ´Ô½¶àµÄÆóÒµ¿ªÊ¼²ÉÓà Adobe Flex ¼¼Êõ¿ª·¢ RIA (Rich Internet Application)¡£ÔÚ³£¼ûµÄ RIA Ó¦ÓóÌÐò¼Ü¹¹ÖУ¬¿Í»§¶ËÓà Adobe Flex äÖȾ³öƯÁÁµÄ½çÃæ£¬¶øäÖȾ½çÃæËùÐèÒªµÄÊý¾ÝÔò´Ó·þÎñÆ÷¶ËµÄÓ¦ÓóÌÐò»ñÈ¡¡£ÔÚ Java EE ÁìÓò£¬·þÎñÆ÷¶ËµÄÓ¦ÓóÌÐòͨ³£ÊÇÔ ......