Play and Stop Flash from JQuery?
Is there any way to play, stop or gotoAndP开发者_Go百科lay(anyframe) from JQuery?
Yes you can. Here is generic javascript code to gotoAndPlay:
var movie = window.document.movie;
movie.GotoFrame(24);
movie.Play();
Details here
jquery doesn't matter. You need to call flash with the AS3 ExternalInterface class. Jquery might assign a listener, but the call itself is just vanilla javascript. Here's a good tutorial
精彩评论