Jay
Jay

Reputation: 2141

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!

Upvotes: 0

Views: 407

Answers (1)

johngreen
johngreen

Reputation: 2744

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.

Upvotes: 1

Related Questions