从Flash电影控件中调用JavaScript函数 [英] Calling a JavaScript function from flash movie controls

查看:100
本文介绍了从Flash电影控件中调用JavaScript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SWF文件,它使用Flash中的默认控件流式播放FLV。单击暂停按钮后,是否可以调用javascript函数?

I have a swf streaming an flv with the default controls from Flash. Is there a way to call a javascript function when the pause button is clicked? And then another when the play button is clicked?

感谢任何想法。

推荐答案

按钮上的一种简单方法就是简单地调用

An easy way is on the button controls simply call

getURL("javascript:yourFunction();");

这篇关于从Flash电影控件中调用JavaScript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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