download my file. it works great, just how i want it to work.
Right now, all the pictures are buttons. How can i change the buttons to MCs and still have my effect work?
I tried putting my buttons into a MCs, but then my effect would stop working, i think maybe it's because my A/S right now is meant for a button, so putting that button into a MCs makes the A/S not work? i'm not really sure.
on (release) {
setProperty(_root.c, _x, "0");
setProperty(_root.c, _y, "158.7");
}
on (release) {
setProperty(_root.cc, _x, "0");
setProperty(_root.cc, _y, "158.7");
}
on (release) {
tellTarget ("mth") {
gotoAndPlay("Jan");
}
gotoAndStop(2);
}
why would you need to separate those 3 mouse release event?
what is "mth"? i can't find you mth movieclip.
my guess is when you change to movieclip, the reference to "mth" is different. remember, "this" keyword in the button script will refer to the movieclip who contains the button, but "this" in movieclip script will refer to itself.
and why would you still use tellTarget anyway? you can change it to mth.gotoAndStop(2);
if you change to movieclip you can try _parent.mth.gotoAndStop(2);
i think that will work.
I cut out all the stuff that i didn't need. i am not very familiar with A/S, i didn't want to mess around with the A/S at all because i was afraid i was gonna mess it up or something. do you think you could convert just 1 of the buttons to a MC so i can see how you did it?
I just checked the link to the original file. and i realised quite a major changes had been happening there. and I might trying to shoot down a bird that doesn't exist!
your variable names, frames name, most of them need to be taken out.
sorrie but with the .fla you supplied i can't hunt down the bird.