# Actionscript 3 For A Simple Logo,

**URL:** <https://forum.kirupa.com/t/actionscript-3-for-a-simple-logo/290803>\
**Category:** flash\
**Created:** [June 19, 2009, 7:59pm UTC](https://forum.kirupa.com/t/actionscript-3-for-a-simple-logo/290803 "2009-06-19T19:59:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisdegrote](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Post date:** [June 19, 2009, 7:59pm UTC](https://forum.kirupa.com/t/actionscript-3-for-a-simple-logo/290803/1 "2009-06-19T19:59:01Z")

</div>

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](http://www.baanict.com)

This is the code I’ve got until now.

```auto

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
