ÔÚ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);
 
Ïà¹ØÎĵµ£º
×îÖÕÎÒ¾ö¶¨»¹ÊÇÓÓÒþ²Ø”Õâ¸ö²»ÊǺܺÏÊʵĴʡ£mx_internalÊÇÒ»¸ö×Ô¶¨ÒåÃüÃû¿Õ¼ä£¬ÖÁÓÚ“ÃüÃû¿Õ¼ä”µ½µ×ÊÇʲô¾Í²»ÔÚÕâÀï˵ÁË¡£×ÜÖ®£¬µ±ÎÒÃÇÔÚ´úÂëÍ·²¿Ð´ÉÏ£º
use namespace mx_internal
£¨Èç¹ûÊÇ.ASÎļþ£¬ÐèÒªÊÖ¶¯import mx.core.mx_internal£¬×¢ÒâÕâ¸ö²»»áÓдúÂëÌáʾ£©
ÄÇôËùÓÐÒÔmx_internalΪÃü ......
HTML Tidy Configuration Options
ÎÒÃÇÏÖÔÚµÄÍøÕ¾´ó²¿·Ö¶¼ÊÇHTMLµÄ£¬Èç¹ûÏ£Íû½«ËüÃDZê×¼»¯£¬ÊÖ¹¤µÄÒ»Ò³Ò»Ò³Ð޸ķdz£Âé·³¡£Èç¹ûÓÐÒ»¸ö¹¤¾ßÄÜ×Ô¶¯½«HTMLת»»³É·ûºÏ±ê×¼µÄXHTML¾ÍºÃÁË¡£ÆäʵÔÚÕâ·½ÃæÒѾÓÐÐí¶àÉÌÒµºÍÃâ·ÑµÄ¹¤¾ßÈí¼þ¿ÉÒÔʹÓã¬ÕâÀォҪ½éÉܵÄHTML Tidy ¾ÍÊÇÒ»¸öºÜ»ù±¾µ«ºÜÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÔËÐÐÔÚ¶àÖÖƽ̨ÉÏ£¬ ......
½ñÌìÓöµ½µÄÒ»¸öÎÊÌ⣬¶ÁÈ¡ÍøÕ¾ÉϵÄÒ»¸öXMLÎļþ±»¾Ü¾ø£¬´íÎóÃèÊöÈçÏ£º
*** °²È«É³Ïä³åÍ» ***
µ½127.0.0.1:8080µÄÁ¬½ÓÒÑÍ£Ö¹ - ²»ÔÊÐí´Ód:/flex/work/bin_debug/work.swf½øÐÐÁ¬½Ó
´íÎ󣺾ܾøÇëÇóλÓÚ http://127.0.0.1:8080/php/work.xml µÄ×ÊÔ´£¨ÇëÇóÕß´Ód:/flex/work/bin_debug/work.swf·¢³öÇëÇ󣩣¬ÔÒòÊÇȱ·¦²ß ......
ͨ¹ýÇ°Ãæ½éÉܵÄHTML±êÇ©£¬ÎÒÃÇÒѾ¿ÉÒÔ³õ²½Íê³ÉÒ»¸ö²»´íµÄÍøÒ³ÁË£¬µ«ÎÒÃÇ×öµÄÍøÒ³¾ÍÏñÒ»·Ý±¨Ö½Ò»Ñù£¬Î¨Ò»±È±¨Ö½ÌØÊâµÄÒ»µã£¬¾ÍÊÇÎÒÃÇ¿ÉÒÔÔÚ²»Í¬µÄÒ³ÃæÖ®¼äͨ¹ý³¬Á´½ÓÌøת£¬µ«¼´±ãÈç´Ë£¬ÎÒÃÇÒÀȻֻÄÜÈñðÈËÔĶÁÍøÒ³£¬¶øÎÞ·¨Í¨¹ýÍøÒ³½øÐн»»¥£»
ÒªÄܹ»Í¨¹ýÍøÒ³½øÐн»»¥£¬Ôò±ØÐë¾ß±¸Á½¸öÇ°ÌáÌõ¼þ£¬ÐÅÏ¢ÊäÈë×é¼þºÍÐÅϢͨÐÅ·½Ê½ ......