Actionscript 3 For A Simple Logo,

Hello people,

for my site I’ve got a logo in flash. But I don’t got enough knowledge of actionscript 3.0 to get it working properly.

What I want is an eventlistener to go to my homepage when clicked on.
http://www.baanict.com

This is the code I’ve got until now.


logo_mc.buttonMode = true

var url:String = "http://www.baanict.com";
var request:URLRequest = new URLRequest(url);
try {
  navigateToURL(request, '_self'); // second argument is target
} catch (e:Error) {
  trace("Error occurred!");
}

Thanx in advance