Hello,
I am new to Flash and using the trial Flash CS4 with AS3. The button does not open the website. I am not sure I referenced the button correctly. Could someone show me what I am missing? TIA.
=========
import fl.controls.Button;
var myButton:Button = new Button();
myButton.name = "button 39";
myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest=new URLRequest("http://cnn.com");
navigateToURL(request);
}