# Get URL function not working when testing in HTML

**URL:** https://forum.kirupa.com/t/get-url-function-not-working-when-testing-in-html/230324
**Category:** Uncategorized
**Created:** [June 25, 2007, 12:31pm UTC](https://forum.kirupa.com/t/get-url-function-not-working-when-testing-in-html/230324 "2007-06-25T12:31:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rosanna](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rosanna](https://forum.kirupa.com/u/rosanna)
#### Post date: [June 25, 2007, 12:31pm UTC](https://forum.kirupa.com/t/get-url-function-not-working-when-testing-in-html/230324/1 "2007-06-25T12:31:10Z")

</div>

hi !I have a small question : I gave a geturl function to one movie clip to link it to a website. the link works fine when testing the swf in Flash but not when testing in HTML,  
I tried 2 ways :  
put the code in my as script and  
with the behaviors, but it is the same.  
here is my code :  
link\_mc.onRelease = function() {  
getURL(“[http://www.kirupa.com](http://www.kirupa.com)”, “\_blank”);  
};  
Is it normal ? or I miss sthing ?  
Thank you …
