- 浏览: 1430987 次
- 性别:
- 来自: 苏州
文章分类
- 全部博客 (564)
- 算法 (7)
- 流金岁月 (1)
- Javascript (30)
- actionscript (108)
- as3.0 game (14)
- flex (84)
- fms2 (27)
- 正则表达式 (7)
- 开源组件代码(as3.0) (1)
- Pv3d (13)
- Cairngorm (4)
- vbs (54)
- VB程序设计 (26)
- 计算机应用与维护 (4)
- 职场实用穿衣技巧 (3)
- 历史风云 (15)
- 淡泊明志,宁静致远 (12)
- 情感 (26)
- 杂谈 (41)
- 越南风 (14)
- DirectX (9)
- Dev-cpp (11)
- 回望百年 (2)
- 建站经验 (2)
- Python (24)
- 网络赚钱 (4)
- php (2)
- html (1)
- ob0短址网 (1)
- ob0.cn (1)
- wordpress (1)
- pandas logistic (1)
- haxe (1)
- opencv (1)
- 微信小程序 (3)
- vue (3)
- Flutter (1)
最新评论
-
GGGGeek:
第一个函数滚动监听不起作用,onPageScroll可以
微信小程序--搜索框滚动到顶部时悬浮 -
naomibyron:
解决办法:工具 -> 编译选项 -> 编译器 ...
dev-c++中编译含WINSOCK的代码出现错误的解决方法 -
haichuan11:
这个…… 代码不全真的是让人很憋屈的感觉啊
actionScript 3.0 图片裁剪及旋转 -
chenyw101:
老兄能留个QQ号吗?具体的我有些东西想请教下你
用VB制作网站登陆器 -
yantao1943:
貌似有点问题,只派发一次事件啊
使用ActionScript 2.0或ActionScript 3.0处理音频文件的提示点(cue
private function goFullScreen():void {
stage.displayState = StageDisplayState.FULL_SCREEN;
}
private function exitFullScreen():void {
stage.displayState = StageDisplayState.NORMAL;
}
加了以上代码,还要对html模版进行修改,然后调用上面的函数就行了
displayState | property |
displayState:String
[read-write]
A value from the StageDisplayState class that specifies which display state to use. The following are valid values:
StageDisplayState.FULL_SCREEN
Sets Flash Player to expand the stage over the user's entire screen.StageDisplayState.NORMAL
Sets the player back to the standard stage display mode.
The scaling behavior of the movie in full-screen mode is determined by the scaleMode
setting (set using the Stage.scaleMode
property or the SWF file's embed
tag settings in the HTML file). If the scaleMode
property is set to noScale
while Flash Player transitions to full-screen mode, the Stage width
and height
properties are updated, and Flash Player dispatches the Stage.resize
event.
The following restrictions apply to SWF files that play within an HTML page (not those using the stand-alone Flash Player):
- To enable full-screen mode, add the
allowFullScreen
parameter to theobject
andembed
tags in the HTML page that includes the SWF file, withallowFullScreen
set to"true"
, as shown in the following example:<param name="allowFullScreen" value="true" /> ... <embed src="example.swf" allowFullScreen="true" ... >
An HTML page may also use a script to generate SWF-embedding tags. You need to alter the script so that it inserts the proper
allowNetworking
settings. HTML pages generated by Flash and FlexBuilder use theAC_FL_RunContent()
function to embed references to SWF files, and you need to add theallowNetworking
parameter settings, as in the following:AC_FL_RunContent( ... "allowFullScreen", "true", ... )
- Full-screen mode is initiated in response to a mouse click or key press by the user; the movie cannot change
Stage.displayState
without user input. While Flash Player is in full-screen mode, all keyboard input is disabled (except keyboard shortcuts that take the user out of full-screen mode). A Flash Player dialog box appears over the movie when users enter full-screen mode to inform the users they are in full-screen mode and that they can press the Escape key to end full-screen mode.
发表评论
-
Apache FlexJS 0.0.1 和 Apache Flex FalconJX 0.0.1发布
2015-11-01 19:44 528原文地址:http://note.sdo.com/u/634 ... -
Flash Catalyst 常用键盘快捷键
2011-03-28 15:38 1031转自:http://www.riameeting.com/ ... -
8款很实用的Actionscript写的位图(BitMap)操作类
2011-03-24 12:09 1906AS3 Scale9 Bitmap ... -
VC++ 项目中使用 FLEX
2011-03-24 09:13 19211, http://hi.baidu.com/qinpc/ ... -
flex应用开发/flash应用开发 代做flash作业/flex作业
2011-01-09 20:37 347专业承接flex应用开发/flash应用开发 ... -
脑袋里的秘密,输入姓名就可以知道你在想什么! flex版
2010-12-29 11:34 2513输入名字就可以知道她/他在想什么的工具~~ -
一个flex聊天机器人
2010-12-18 10:42 1640无聊之下所作,供大伙娱乐,随边聊聊。。。 -
Flex:基于Flex-config.xml的命令行编译
2009-07-01 09:33 1859关键字: Flex Flex2 编译 mxmlc ... -
抽出flash与java 用AMF交互代码
2009-06-30 15:09 3633最近做的一个java 与flash通讯的项目,由于项目框 ... -
BulkLoader类和PV3D
2009-06-26 17:02 1938AS3取消了movieclip的loader类,所以加 ... -
使用 Flex Builder 3.x 分析工具 Profile
2009-06-25 11:26 3376前言 关于分析工具 (原文见Flex Builder ... -
AMF3+JAVA的调用范例
2009-06-24 17:44 2527[AS3]AMF3+JAVA的调用范例 amf是Ad ... -
Flex 程序性能测试
2009-06-24 16:02 1920Flex 程序性能测试 作者:叶晖俊 yehui ... -
Flex RemoteObject类参考
2009-06-19 11:39 1214<mx:RemoteObject>标记 ... -
flex画的菱形
2009-05-11 16:19 3423package com { impo ... -
理解 Flex itemRenderer - 第 4 部分: 状态和过渡
2009-05-08 09:23 1687itemRenderer 最擅长与应用 ... -
理解 Flex itemRenderer - 第 5 部分: 效率
2009-05-08 09:21 1736如果您要显示大量 itemRenderer-无论在 Dat ... -
VO to XML converter
2009-05-04 09:00 1116private function convertToXM ... -
ExternalInterface在Firefox下出错的bug
2008-09-16 09:28 3151使用Document Class为避免命名空间冲突,通常会取消 ... -
Flex与Win32通信实例之ExternalInterface
2008-09-11 16:34 3453关键字: flex win32 vc++ vc externa ...
相关推荐
flex全屏代码界面全屏flex全屏代码界面全屏
Flex 组件全屏 部分全屏的实现 一般情况下,Flex全屏是指将整个舞台全屏,而不是待定的组件全屏.网上的例子也一般是指这种情况的. 下面发布一下,将特定组件全屏的代码:
util.as 文件中 修改goFullScreen 方法 有注释可以看到默认的时候是蒙上了一层黑色背景,测试的时候我给改成白色了
一般情况下,Flex全屏是指将整个舞台全屏,而不是待定的组件全屏.网上的例子也一般是指这种情况的.
这个是我一直在用的针对于组件全屏的一个类,这里是页面上的某个组件全屏,而不是整个页面全屏。 这是原始的库了,里面少了一个针对按下ESC键的处理,这个在使用的时候可以自己加,另外一个问题就是由于这个库是FLEX...
一.flex2的全屏代码 在仅仅使用Flex Builder2(我下载的是FLXB_2.0_Win_WWE.exe)的时候,写全屏代码竟然找不到flash.display.StageDisplayState,于是下载了Flex 2.0.1升级包(官方地址:...
flex 在运行页面时的全屏效果,可以下载看看
点击空间可以在屏幕上全屏显示,效果很炫,很牛-- 点击空间可以在屏幕上全屏显示,效果很炫,很牛
NULL 博文链接:https://fonny.iteye.com/blog/523943
flex 实现窗口托盘效果,托盘菜单可以直接退出或还原窗口.全屏和普通窗口状态任意切换,代码精简,功能简单有条理.
flex iframe 支持在flash中嵌套入html jsp asp php等flex iframe 支持在flash中嵌套入html jsp asp php等flex iframe 支持在flash中嵌套入html jsp asp php等flex iframe 支持在flash中嵌套入html jsp asp php等flex...
flex开发项目,application实现点击按钮界面全屏,或双击实现全屏,我搜集的方法集合。
Flex 制作的视频播放器,同时可以支持全屏播放 ,主要是个人对全屏播放器的一些实例
实现主要功能如下 1. 多屏切换,这里主要是tileLayout布局的使用 2. 单个视频双击全屏,整屏全屏 3. 右键菜单和屏蔽系统的右键菜单 主要是这个属性 ...4. flex与JS的交互,(通过js向flex中传递视频播放地址)
在浏览器下运行可以全屏模式的flash,js和flex实现
1访问red5服务器的flv视频进行播放.(rtmp协议) 2播放器的多种功能实现:VideoDisplay 播放视频、HSlider进度条、开始、暂停、停止、声音大小、全屏、当前时间/总时间等;
flex版的flv播放器源码,可以调节亮度。设置大小。全屏。
NULL 博文链接:https://tonyliu8731.iteye.com/blog/404609
VideoDisplay 播放视频、HSlider进度条、开始、暂停、停止、声音大小、全屏、当前时间/总时间,一个基本的页面在Flex Builder4.5下很快就能构建完成。在这里说明一下,“开始”,“停止”等这些按钮,我是用Image来...
非常强大的FLEX播放器源码,支持各种流播放,直播,FLV,MP4……等高清格式 ,界面美观漂亮,播放前可设定海报画面,双击全屏,同时可播放多个文件,完全开源,可在此基础上二次开发及学习用!