Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/06/2007, 17:02
Avatar de karemlis
karemlis
 
Fecha de Ingreso: agosto-2006
Mensajes: 153
Antigüedad: 17 años, 7 meses
Puntos: 0
Re: problema con evento mouse move ayuda pliiiiissss!!

yap..gracias rizzo por responder..
bueno pal q algun dia tenga mi mismo problema aki va la solucion:
en las acciones del MC (INSTANCIA "imagen")
puse este codigo:
Código PHP:
onClipEvent(load){
    
ancho=this._width;
    
alto=this._height;
}

onClipEvent(mouseDown){
    if(
this.hitTest(_root._xmouse_root._ymousetrue))/*PREGUNTA SI EL RATON ESTA DENTRO DEL AREA DE LA IMAGEN*/
    
{startDrag(this); 
    }  
}
onClipEvent(mouseUp){
    
stopDrag();}
    
onClipEvent(mouseMove){ 
    if(!
this.hitTest(_root._xmouse_root._ymousetrue)){
        
stopDrag();} 
    if (
ancho 752 && alto 590) {
        
        if(
_x< -(_width-751)) {
            
_x= -(_width-751);} 
        
        else    
            if(
_x0){_x8;}   
        if(
_y< -(_height-590)){
            
_y= -(_height-590);}
        else         
            if(
_y0){_y0;} 
    }else{
    
imagen.stopDrag();
         
_x=8;
        
_y0
    }

asi se soluciona el problemita de las imagenes mas pekeñas q el escenario...

saludos..
karen