# Problems with links

**URL:** <https://forum.kirupa.com/t/problems-with-links/283163>\
**Category:** Uncategorized\
**Created:** [March 3, 2009, 8:50am UTC](https://forum.kirupa.com/t/problems-with-links/283163 "2009-03-03T08:50:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roadrunner999](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@roadrunner999](https://forum.kirupa.com/u/roadrunner999)\
**Post date:** [March 3, 2009, 8:50am UTC](https://forum.kirupa.com/t/problems-with-links/283163/1 "2009-03-03T08:50:03Z")

</div>

Hi all!

Got a problem with links in flash - I’ve been making several flash websites that need to be linked together.

I’ve created animated buttons with rollOver and rollOut effects and used this code

\*\*on (rollOver) {  
this.gotoAndPlay(“h1”);  
}

on (rollOut) {  
this.gotoAndPlay(“h2”);  
}  
on (release) {  
getURL(“restaurant\_index.html”);  
}  
\*\*  
now the problem is that yesterday it all worked perfectly (the links were working like a charm in both IE and Firefox), and today they don’t work, now am I crazy or what.

I’ve noticed that when I write \*\*

on (release) {  
getURL(“restaurant\_index.html\_blank”);  
}  
\*\*  
it works but I don’t want pages opening in another window.

Please note that the sites I’m working on are not uploaded, so all files are on a hard disk (but that should not pose a problem)
