After reviewing the code for the photo gallery post I have problems with the onRelease functions. I broke this problem out of the original post because I feel it doesn’t pertain to the original as much as being able to stand on it’s on.
I am able to load and resize an image in a created MC but I cannot assign any onRelease function to it. Here’s the code I’m trying to get to work.
this.createEmptyMovieClip(“clip1_mc”, 1);
this.clip1_mc.loadMovie(“pics/pic1.jpg”);
this.clip1_mc._xscale = 15;
this.clip1_mc._yscale = 15;
this.clip1_mc.onRelease = function() {
this.clip1_mc._xscale = 30;
this.clip1_mc._yscale = 30;
};
Thanks for any ideas!
w1cked5mile