Hi All,
Im trying to load an external swf and place it at certain co-ordinates on the screen when i press a button.
It works fine for me when i load it in without any button press ie,
stop();
loadMovieNum("viewer.swf",1);
this.onEnterFrame = function() {
_level1._x = 90;
_level1._y = 25;
_level1._xscale=100;
_level1._yscale=100;
}
no problems here, but when i try it on a button release it doesnt work. here is my code:
on (release) {
loadMovieNum("viewer.swf",1);
this.onEnterFrame = function() {
_level1._x = -90;
_level1._y = -25;
_level1._xscale=100;
_level1._yscale=100;
}
}
can anyone dig me out of this hole???