can some one help me optimize this. it works but not real well.
stop();
attachMovie("harpoles", "harpoles", 100);
harpoles._x = 440;
harpoles._y = 95;
harpoles.onRelease = function() {
attachMovie("harclp", "harclp", 125);
harclp._x = 72;
harclp._y = 120;
attachMovie("hartext", "hartext", 126);
hartext._x = 130;
hartext._y = 150;
attachMovie("closebtn", "closebtn", 127);
closebtn._x = 400;
closebtn._y = 370;
closebtn.onRelease = function() {
unloadMovie("harclp");
unloadMovie("closebtn");
unloadMovie("hartext");
};
};
attachMovie("willy", "willy", 101);
willy._x = 363;
willy._y = 173;
willy.onRelease = function() {
attachMovie("harclp", "harclp", 125);
harclp._x = 72;
harclp._y = 120;
attachMovie("willtext", "willtext", 126);
willtext._x = 130;
willtext._y = 150;
attachMovie("closebtn", "closebtn", 127);
closebtn._x = 400;
closebtn._y = 370;
closebtn.onRelease = function() {
unloadMovie("harclp");
unloadMovie("closebtn");
unloadMovie("willtext");
};
};
//bluebird
attachMovie("bluebirdbtn","bluebirdbtn",102);
bluebirdbtn._x=440;
bluebirdbtn._y=166;
bluebirdbtn.onRelease = function(){
attachMovie("harclp", "harclp", 125);
harclp._x = 72;
harclp._y = 120;
attachMovie("birdtext", "birdtext", 126);
birdtext._x = 130;
birdtext._y = 150;
attachMovie("closebtn", "closebtn", 127);
closebtn._x = 400;
closebtn._y = 370;
closebtn.onRelease = function() {
unloadMovie("harclp");
unloadMovie("closebtn");
unloadMovie("birdtext");
};
};