hi all

i am in swishmax 25 frame per sec actionscript 2

I created a project to control the external video, I made all the buttons like play, previous, and next, but what I could not do was to control the video by using the scroll.

1- I need code to move the scroll while playing the video

2- I need to move the video when I move the scroll manually.

3- I need code to write the current time of the video and the total time




PHP Code:
onSelfEvent (load) {
    var 
my_loader:MovieClipLoader = new MovieClipLoader();
my_loader.loadClip("myswf.swf"this);
var 
mclListener:Object = new Object();
my_loader.addListener(mclListener);
my_loader.onLoadComplete = function(target:MovieClip) { 
     
target.gotoAndPlay (1)
     
trace(target._totalframes)// total frames of my swf      
   
target.onEnterFrame = function () {        
if(
target._currentframe==target._totalframes){
               
target.gotoAndStop(1);                                                           
          } 
       }    
    }