Player的播放或倒带命令

Player的播放或倒带命令

本文介绍了Flex SWF接受来自Flash Player的播放或倒带命令(投影机)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让我的Flex SWF像Flash电影SWF一样工作,以便当用户在FLash Player中发出Play命令时,它可以在我的Flex SWF文件中触发一个事件。我不确定这会挂钩到什么事件,或者如果这可能与Flex。任何帮助表示赞赏。

谢谢!

解决方案

使用Flex中的play,因为即使Flash是一个基于框架的虚拟机,Flex也被屏蔽,以便用户可以使用基于框架的操作。



Flex是否需要播放/倒带命令?如果没有框架,什么会倒带?

I'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex. Any help appreciated.

Thanks!

解决方案

It's not possible to use the 'play' in Flex per say since even though Flash is a frame based VM, Flex is masked against that so that users can use frame based actions.

What would be the requirement to have Flex have a 'play/rewind' command? What would it rewind if there's no frame?

这篇关于Flex SWF接受来自Flash Player的播放或倒带命令(投影机)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 04:18