View Full Version : Swf to trigger jQuery ScrollTo Effect?

09-22-2011, 03:59 PM
Hey everyone, I'm a NOOB, yeah, its hard at the beginning but you have to start somewhere right? Anyway I'm currently building a website that incorporates JavaScript, ActionScript, and the usual CSS and XHTML, but I've run into a bit of a snag. Our wishes for this grass roots web page was to add Ariel Flesler's ScrollTo jQuery plugin to our navigation, to dynamically slide our entire pages from left to right, right to left, upon the users choice. But, our navigation buttons, on our homepage in particular, are within a SWF file.

Now is it possible to trigger the ScrollTo effect from buttons within a SWF?

If not, can you provide a alternate solution to this dilemma?

Thank you all, and I'm happy to be a new student of this community.

09-22-2011, 04:38 PM
if the scrolling effect can be called manually via js, this post on calling JS from actionscript might help you:


09-22-2011, 10:37 PM
Thank you DanInMa, I will be checking out your other posts.