the AS2 code is:
MovieClip.prototype.setModel = function(m)
{
this.model = m;
this.drawModel(m);
}
MovieClip.prototype.drawModel = drawModel;
I tried:
package
{
import flash.display.MovieClip;
public class Prototype extends MovieClip
{
public function Prototype()
{
super();
}
public function setModel(m)
{
this.model = m;
this.drawModel(m);
}
public function setDrawModel(m)
{
this.drawModel = m;
}
}
}
but there is no "this.model" nither "drawModel(m)" in MovieClip.
Any idea?