如何在Flex桌面应用程序使用ActionScript制作视频全屏 [英] How do I make a video full screen using actionscript in flex desktop application

查看:90
本文介绍了如何在Flex桌面应用程序使用ActionScript制作视频全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我玩用录像机类柔性的FLV视频。 (它的所有属性都被设置在运行时)

I am playing a flv video using the videoplayer class of flex. (all the properties of it are being set at runtime)

我想使视频全屏无点击全屏按钮,即通过编程。

I want to make the video fullscreen without clicking on the fullscreen button i.e. through programming.

是否有可能。如果是的话那我怎么才能做到这一点?

Is it possible. If yes then how can I do this.?

推荐答案

调度点击从VideoPlayer的将FullScreenButton事件。

Dispatch click event from the fullScreenButton of VideoPlayer.

yourplayer.fullScreenButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));

这篇关于如何在Flex桌面应用程序使用ActionScript制作视频全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆