开发者

SWF Video with JS Controls

开发者 https://www.devze.com 2023-02-04 12:40 出处:网络
I\'m new to flash and just need to do a simple task but I can\'t manage to get it to work. I\'m trying to import a video (flv) into a SWF container and need to AS functions which should be exposed to

I'm new to flash and just need to do a simple task but I can't manage to get it to work. I'm trying to import a video (flv) into a SWF container and need to AS functions which should be exposed to JS (using liveconnect or anything else). These two function should toggle sound on/off and 开发者_如何学编程toggle play/pause. I dont need any user interface or a full featured player, just these two functions.

Does anyone know a straight foward tutorial which covers these issue?

Thanks in advance!


If I am interpreting your question correctly , then I think you want to trigger Actionscript functions using javascript. Well, that this possible. You need to explore the ExternalInterface class. Here are some useful tutorials.

0

精彩评论

暂无评论...
验证码 换一张
取 消