Comunidad de diseño web y desarrollo en internet online

ayuda por favor

Citar            
MensajeEscrito el 13 May 2006 01:45 am
tengo este codigo... en la un frame de la linea de tiempo principal...

Código :

function FNSCROLL(){
   if(this.scrollText != undefined ){      
      if(this.scrollText.maxscroll==1){
         if(this._visible) this._visible=false;
      }
      else{ 
         if(!this._visible)this._visible=true;
      }      
      this.slyder.clear();
      this.slyder.lineStyle(1,0x000000,100);
      this.slyder.moveTo(0,0);
      this.slyder.lineTo(0,this.scrollText._height-1);      
      this.rectwrapper._y=this.scrollText._height-this.rectwrapper._height;
      if(this.pressUp){
         if(this.scrollText.scroll>0){
            this.scrollText.scroll-=1;
            this.dragger._y = 10+int( (this.scrollText._height-30)*(this.scrollText.scroll-1) / this.scrollText.maxscroll );
         }
      }      
      if(this.pressDown){
         if(this.scrollText.scroll<this.scrollText.maxscroll){
            this.scrollText.scroll+=1;
            this.dragger._y = 10+int( (this.scrollText._height-30)*(this.scrollText.scroll-1) / this.scrollText.maxscroll );
         }
      }      
      if(this.dragging){
         var loc = this.dragger._y;
         var yDragged = loc-10;
         var newScroll = this.scrollText.maxscroll*yDragged/(this.scrollText._height-30);         
         this.scrollText.scroll=1+int(newScroll);
      }
      
   }
}


en otro frame... un movie clip tiene este codigo

Código :

onClipEvent(load){
   this.scrollText=_root.myText4;
   this.onEnterFrame=_root.FNSCROLL;
}


resulta que tomo los dos frames y los paso a un movie clip.... y deja de funcionar el scroll...

que está pasando?

gracias ayuda por favor

Por lecaro

50 de clabLevel



 

Cuba

firefox
Citar            
MensajeEscrito el 13 May 2006 02:28 am
y pasas todos los componentes por que si no tiene que ver con las rutas

Por FeNtO

BOFH

5091 de clabLevel

18 tutoriales

1 ejemplo

  Bastard Operators From Hell

FeNtO DataCenter

clabbrowser

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.