var mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
this.createEmptyMovieClip("Plus",1);
// load images
mcl.loadClip("button1.jpg",Plus);
// when the image finishes loading
mclListener.onLoadInit = function(pic:MovieClip){
pic.onRelease = function(){
trace ("hi");
}
}
The jpg is loading, but it’s not acting as a button. Any idea why?