# How can I open a .swf file in a blank window?

**URL:** <https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061>\
**Category:** Uncategorized\
**Created:** [August 2, 2004, 2:35pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061 "2004-08-02T14:35:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ittoop](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@Ittoop](https://forum.kirupa.com/u/Ittoop)\
**Post date:** [August 2, 2004, 2:35pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061/1 "2004-08-02T14:35:18Z")

</div>

Hey everyone, So my dilemma is this. I want open up a link in a blank window, so what would be the exact get url; code for it.

Right now I have the index.swf, which iam doing for [www.pacificgrillny.com](http://www.pacificgrillny.com/) and there is a link called lunch.swf, the lunch.swf is an html formatted .swf file, so it has to open up in a blank file.

Please help me asap. Thanks much!

---

<div class="post-metadata">

**Author:** ![egoldy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/egoldy/32/385_2.png) [@egoldy](https://forum.kirupa.com/u/egoldy)\
**Post date:** [August 2, 2004, 2:49pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061/2 "2004-08-02T14:49:23Z")

</div>

getURL(“path/file.html”,"\_blank");

---

<div class="post-metadata">

**Author:** ![Ittoop](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@Ittoop](https://forum.kirupa.com/u/Ittoop)\
**Post date:** [August 2, 2004, 3:12pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061/3 "2004-08-02T15:12:23Z")

</div>

Hi! Thanks for replying so quickly. Since I am new to Flash, I am confused about writing the path. This is what I had originally.

on (release) {  
getURL("[file:///O:/Neena/Pacific](file:///O:/Neena/Pacific) grill/Website/Lunch\_html.swf", “\_blank”);

but ofcourse, this only works on my computer.

then after reading your reply, I put down:

on (release) {  
getURL(“[www.boilingink.com/html/Lunch\_html.swf](http://www.boilingink.com/html/Lunch_html.swf)”, “\_blank”);

right now I am uploading to [boilingink.com](http://boilingink.com). This this shows how much I don’t know, but do I change the .swf to .html for Lunch\_html.swf.

Geeez! so many questions!, but what would be the exact way of translating this.

Thanks much.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [August 2, 2004, 3:56pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-swf-file-in-a-blank-window/118061/4 "2004-08-02T15:56:17Z")

</div>

if you publish an html file that holds swf, and I’d recommend doing that unless you intend on doing it elsewhere 😉
