flex4.5嵌入网页之WEB
2011-09-19 17:23
246 查看
一.基本讲解
1. 将flex-iframe-1.5.swc文件拷贝到lib文件夹中2. 引入需要用到的类库xmlns:code=http://code.google.com/p/flex-iframe/,绑定code标签。
3. 编写代码<code:IFrame id="frm" width="418" height="393" horizontalCenter="0"
source="http://www.baidu.com" verticalCenter="0"/>
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
xmlns:code="http://code.google.com/p/flex-iframe/">
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
</fx:Declarations>
<code:IFrame id="frm" width="418" height="393" horizontalCenter="0"
source="http://www.baidu.com" verticalCenter="0"/>
</s:Application>
三.预览
相关文章推荐
- 游戏嵌入Webview网页
- Android中WebView在加载网页的时候,怎样应用本地的CSS效果?就是说怎样把本地的CSS嵌入到HTML中
- 网页中嵌入任意web字体解决方案
- 安卓WebView的使用,在应用程序中嵌入一个浏览器,轻松地展示各种各样的网页
- 【玩转cocos2d-x之三十三】游戏嵌入Webview网页
- [Web] Eot (Embedded OpenType)字体转换工具及网页嵌入
- Flex4.5以IFrame形式嵌入网页
- Android使用WebView嵌入网页,网页内点击跳转到另一个网页后,返回问题解决
- 在网页中嵌入百度、谷歌搜索(Web搜索与站内搜索)
- Android 浏览网页:WebView 嵌入浏览器(浏览历史返回、自定义加载失败界面、支持缩放、获取标题栏)
- 自定义web字体-通过@font-face在网页中嵌入自定义字体
- web网页中直接嵌入图片
- 【玩转cocos2d-x之三十三】游戏嵌入Webview网页
- c++嵌入web网页组件调查结果:
- [Web 开发] 在网页中嵌入常用聊天软件在线状态
- Ewebeditor编辑器嵌入到PHP网页中
- Android原生软件里嵌入一个基于cordova的网页页面(webview)
- 小程序webview嵌入iframe网页demo,微信小程序内嵌iframe网页代码,不支持打开非业务域名,请重新配置
- Flex4.5以IFrame形式嵌入网页
- 通过调用百度地图API在web网页中嵌入百度地图,并进行单点或多点标注