Hi,
I have a question that I thought would have a simple answer, but I can’t find it anywhere!
I have a button, myButton, and I’d like the SWF to “link” to another SWF on click. Meaning, I’d like to replace the SWF with another. I know I could create a master SWF and then create a Loader class within it and then when you click the button in the child SWF it could call a function in the master SWF to load a new file, but - that seems really complex for such a simple action so I’m sure there’s a straightforward way to do this.
Code:
function onClickBtn(e:Event):void
{
loadMovie(“what_web.swf”); // AS2 version
}
myButton.addEventListener(MouseEvent.CLICK, onClickBtn);
Thanks so much for your help!
H