开发者

jQuery scrollTo - how to stop embeded swf file when scrolling?

开发者 https://www.devze.com 2023-03-22 02:04 出处:网络
Actually 开发者_开发百科the question is in the title. I use the \"flashembed\" feature of the jQuery tools within a site that is using scrollTo as well. The embeded swf file is my banner and right now

Actually 开发者_开发百科the question is in the title. I use the "flashembed" feature of the jQuery tools within a site that is using scrollTo as well. The embeded swf file is my banner and right now it is running continiously. When I scroll to another hash it keeps running in the back and makes the scrolling a little bumby.

Does anybody know how to stop the swf file from playing while the scrollTo script is running?

Thanks in advance.


If you have the option, the simplest way to do this would be to create exposed methods of the play() and stop() actions of the swf. Once you do that, you can call them before the scrolling animation begins, and when it ends.

0

精彩评论

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