Estoy diseñando una aplicación en flash, la cual requiere que un movieclip esté dentro de otro.
El clip padre (el cual fué "attacheado" desde la librería) tiene los comportamientos clásicos de un botón (onRollOver, onRollOut,etc).
El clip hijo también tiene comportamientos de botón ...
Mi problema radica en que cuando instancio la clase, el botón hijo parece no funcionar, más alla de que está attacheado en el clip padre.
Detallo parte del código:
Código :
this.regla_mc = contenedor_mc.attachMovie(regla_mc, "regla", contenedor_mc.getNextHighestDepth(), {_x:50, _y:403});
this.regla_mc.onRollOver = Delegate.create(this, onRollOver, this.regla_mc);
this.regla_mc.onRollOut = Delegate.create(this, onRollOut, this.regla_mc);
this.regla_mc.onPress = Delegate.create(this, dragRegla);
this.regla_mc.onRelease = Delegate.create(this, dropRegla);
this.regla_mc.onReleaseOutside = this.regla_mc.onRollOut;
this.f1 = regla_mc.attachMovie(f1, "f1", regla_mc.getNextHighestDepth(), {_x:50, _y:403});
this.f1_mc.onRollOver = Delegate.create(this, onRollOver, this.f1);
this.f1_mc.onRollOut = Delegate.create(this, onRollOut, this.f1);
Donde:
- contenedor_mc es el clip donde se creara el objeto.
Desde ya agradezco cualquier sugerencia ...
[/code]
