Flex中嵌入网页

1.下载Flex-IFrame,https://github.com/flex-users/flex-iframe/downloadshttp://download.csdn.net/detail/whuqin/4145329,注意对应Flex版本

2.在Flex项目中导入IFrame.as、IFrameExternalCalls.as

3.页面中使用iframe控件

<IFrame id="iframe" source="http://www.csdn.net" width="100%" height="630" bottom="30"></IFrame>


要想动态修改嵌入的页面,可以改为:

var path:String;
<IFrame id="iframe" source="{path}"></IFrame>



 

posted @ 2012-03-16 10:27  春文秋武  阅读(156)  评论(0编辑  收藏  举报