La clase no deberia saber donde se encuentra el objeto visor. alguna idea?
esto es lo que llevo por el momento
Código:
class Thumb extends Movieclip
{
var vinculo:String;
var proporcion:Number;
function Thumb(imglib:String, prop:Number)
{
this.attachBitmap(BitmapData.loadBitmap(img_lib), this.getNextHighestDepth(), "auto", true);
if (prop>1)
trace("La proporcion debe ser entre 0 y 1");
else
{
this._xscale=prop;
this._yscale=prop;
}
this.onRelease//????
{
}
}
}

