<code>
function botones() {
 _root.localizador._width   = 0;
 _root.localizador._height  = 0;
 _root.localizador._visible = 1;
}

botones.prototype = new MovieClip();

botones.prototype.mostrar = function() {
 trace("Se esta haciendo uso de la funcio mostrar");
 delete this.onEnterFrame;
 this.x = 123;
 this.y = 142;
 this.reposition();
}

botones.prototype.ocultar = function() {
 trace("Se esta haciendo uso de la funcio ocultar");
 delete this.onEnterFrame;
 this.x = 0;
 this.y = 0;
 this.reposition();
}

botones.prototype.reposition = function() {
 this.onEnterFrame = efecto.showArea;
}

botones.prototype.onRelease = function() {
 this.ocultar;  //problema aki
 this.mostrar; //problema aki
}

function efecto() {}

efecto.showArea = function() {
 _root.localizador._width  += (this.x - _root.localizador._width)/4;
 _root.localizador._height += (this.y - _root.localizador._height)/4;
}

Object.registerClass("boton1", botones);
Object.registerClass("boton2", botones);
</code>

Donde pone problema aki es que no llama a la funcion y nose por que :-(
Iv�n Rodriguez Espada
_________________________
ALAPLAYA.COM
http://www.alaplaya.com
[EMAIL PROTECTED]
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->

Responder a