SWF Video with JS Controls
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.
精彩评论