Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Flash 电影中包装用于网站背景的视频。当用户单击元素列表时,我需要视频在预定义的帧处播放和暂停。是否可以使用 JavaScript 控制 swf 播放?
特别是,我需要:
你能指出任何已知的兼容性问题吗?
两种方式的通信都是可能的并且易于实现。
有一个名为 Actionscript 的类ExternalInterface,它使整个过程几乎没有痛苦。
ExternalInterface
检查示例。