ÔÚ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);
 
Ïà¹ØÎĵµ£º
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
</title>
</head>
<body>
<table width="100%" border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF"
&n ......
1.¼àÌýʼþʱÓÃÈõÒýÓ÷½Ê½£¨ÌرðÊǶÔApplicatiion.applicaionºÍStageµÄʼþ¼àÌý£©£¬·½Ê½ÈçÏ£ºµÚÎå¸ö²ÎÊýֵΪtrue
Application.application.addEventListener(MouseEvent.CLICK,doClick,false,0,true);
2.¼¯ºÏÀàÈçArrayºÍDictionaryÀïµÄÔªËØ£¬ÔÚ²»ÓõÄʱºòÒªÉèÖÃΪnull;(ÓÈÆäÊÇÖ÷Ò³ÃæÉϵļ¯ºÏÀà)£¬È磺myMap[o]=null;
3. ......
HTML Tidy Configuration Options
ÎÒÃÇÏÖÔÚµÄÍøÕ¾´ó²¿·Ö¶¼ÊÇHTMLµÄ£¬Èç¹ûÏ£Íû½«ËüÃDZê×¼»¯£¬ÊÖ¹¤µÄÒ»Ò³Ò»Ò³Ð޸ķdz£Âé·³¡£Èç¹ûÓÐÒ»¸ö¹¤¾ßÄÜ×Ô¶¯½«HTMLת»»³É·ûºÏ±ê×¼µÄXHTML¾ÍºÃÁË¡£ÆäʵÔÚÕâ·½ÃæÒѾÓÐÐí¶àÉÌÒµºÍÃâ·ÑµÄ¹¤¾ßÈí¼þ¿ÉÒÔʹÓã¬ÕâÀォҪ½éÉܵÄHTML Tidy ¾ÍÊÇÒ»¸öºÜ»ù±¾µ«ºÜÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÔËÐÐÔÚ¶àÖÖÆ½Ì¨ÉÏ£¬ ......
I always consider the coolitm control only can use its control tag in its body.
But I found that it can use html tag ,this very good.
so I show the sample to other:
<ext:Window
ID="Window1"
runat="server"
Width="500"
Height="485"
......
Ëæ×Å Adobe Flex ¼¼ÊõµÄ³ÉÊ죬ԽÀ´Ô½¶àµÄÆóÒµ¿ªÊ¼²ÉÓà Adobe Flex ¼¼Êõ¿ª·¢ RIA (Rich Internet Application)¡£ÔÚ³£¼ûµÄ RIA Ó¦ÓóÌÐò¼Ü¹¹ÖУ¬¿Í»§¶ËÓà Adobe Flex äÖȾ³öƯÁÁµÄ½çÃæ£¬¶øäÖȾ½çÃæËùÐèÒªµÄÊý¾ÝÔò´Ó·þÎñÆ÷¶ËµÄÓ¦ÓóÌÐò»ñÈ¡¡£ÔÚ Java EE ÁìÓò£¬·þÎñÆ÷¶ËµÄÓ¦ÓóÌÐòͨ³£ÊÇÔ ......