Reputation: 4921
i used http://code.google.com/p/swfobject/ SWF object to play the swf file. I am able to embed and play but i am not getting any api java script to pause,rewind forward API for that any one done this ?
Upvotes: 1
Views: 1481
Reputation: 15570
SWFObject is just a tool for embedding Flash content in a webpage. If you want to control the flow of your SWF with JavaScript you will have to communicate with it using ExternalInterface.
This will require you to to code the functionality you require in Flash, and then expose those functions using ExternalInterface so that you can call them from your page using JavaScript.
Upvotes: 2