Hey everyone, I’ve been trying to find some threads on this issue of mine but can’t seem to find what I’m looking for so I’ll just post it and hopefully someone can help me out.
I found this tutorial on making buttons as MCs rather than btn. It allows for animations, etc. So I thought I’d try it.
Now, these are the actions I need for the button to animate:
this.photobutton_mc.onRollOver = function() {
photobutton_mc.gotoAndPlay("_over");
}
this.photobutton_mc.onRollOut = function() {
photobutton_mc.gotoAndPlay("_out");
}
So, those are on the actions layer on the main timeline. Now, if I want to link that button to an external swf I thought I could simply add:
on (release) {
container.loadMovie(“whatevermovieclip.swf”);
right? Well… I tried and when I click on it, the button seems to “cycle through its animation” . The “whatevermovieclp.swf” never loads.
Now if I make a button and then add the on (release), etc. code then it will load the “whatevermovieclip.swf”
What am I doing wrong?
Help…please.
here is a link to my site. Green button is a btn and the photobutton is a mc button: http://www.mrrojas.com/site/fla/mrrojas.html
THANKS!