View Full Version : Control Flash with JScript, how can i do that?

Mar 15th, 2007, 02:22 PM
Hi there,

I have been trying around to make something quite simple:

I have a flash movie and wanto to be played if i scroll the html page.

In case I stop scrolling the movies should be paused.

I have arranged my ActionScript:

var counter = 0;

onEnterFrame = function(){
if(counter == 0){
} else if(counter ==1){

but can not really figure out how can I check the status of the scrollbar constantly and pass the counter variable to my swf file.

Any ideas?