# Links not working on PC

**URL:** <https://forum.kirupa.com/t/links-not-working-on-pc/944>\
**Category:** flash\
**Created:** [August 3, 2002, 5:38pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944 "2002-08-03T17:38:23Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![007](https://avatars.discourse-cdn.com/v4/letter/0/a4c791/32.png) [@007](https://forum.kirupa.com/u/007)\
**Post date:** [August 3, 2002, 5:38pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/1 "2002-08-03T17:38:23Z")

</div>

For some reason the links from my home page are not working on some computers (could be a PC thing). This is the basic layout of the action script used on each section’s button.

I created this site on a Mac G3 with Flash 4.

Could any one tell me what the problem may be?

[http://www.trivision.biz/Rezolusion/](http://www.trivision.biz/Rezolusion/)

On (Release)  
Get URL ("javascript:Websites=window.open(‘RezWebsites.swf’,‘Websites’,‘height=421,width=650,toolbar=no,location=no,scrollbars=no,status=no,resizable=no,fullscreen=no’); Websites.focus(); ")  
Get URL (“javascript:Layout.close(); void(0);”)  
Get URL (“javascript:Graphics.close(); void(0);”)  
Get URL (“javascript:CD\_ROMS.close(); void(0);”)  
Get URL (“javascript:Color.close(); void(0);”)  
End On

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 8:56pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/2 "2002-08-03T20:56:55Z")

</div>

It might be because it’s javascript not java script. But I don’t know if you typed it like that because it wouldn’t work otherwise in the forum (since it converts HTML).🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 3:09am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/3 "2002-08-04T03:09:37Z")

</div>

Yes, it is one word “Javascript” in my code. It pasted wrong.

Did the links work for you?

This is driving me crazy.

Thanks for your help anyway lostinbeta.

Any other ideas? Could it be the upper case letters?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 3:39am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/4 "2002-08-04T03:39:01Z")

</div>

Ok, well your main movie opens in a new window (when I click the enter button). As for the rest. I don’t understand what you are trying to do. You are assigning the links to close windows that aren’t even opened. And then you have it void the link. Well, if the link is void, it can’t do anything. So I am a little confused. If you are trying to make pop-up windows, I recommend adding the code in the head tags section of your HTML page and call the function in flash such as

getURL(yourFunction()) (rough look of course)

I also noticed you load your .SWF file into the window, if you decide to do it on an html page just add

topmargin=“0” and leftmargin=“0” into the BODY tag and you wont have any border around the movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 3:41am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/5 "2002-08-04T03:41:53Z")

</div>

I just checked the source on your INDEX page and I noticed you used the chromeless windows script in there, but you don’t use Chromless Windows (found at [www.microbians.com](http://www.microbians.com) ). What I suggest for this, just to save you coding is read the .txt file I have as an attachment, I wrote it for another poster, but it should come in handy for you if you are interested in learning the basics of a pop-up window.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:04am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/6 "2002-08-04T04:04:11Z")

</div>

Thanks for the info and advice.

I originally was going to use the Chromeless window and decided to go another route. I forgot to delete the code from the HTML.

The reason for the window.close code was if one of the sections are opened it will close automatically when opening another section. It was my attempt to keep people from having to many windows opened at once.

I’m going to try your suggestions.

Thanks again. You rock.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:21am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/7 "2002-08-04T04:21:19Z")

</div>

If you want to close all opened pop-ups you can use more advanced javascript methods to check to see if a window is opened, and if it is, it should close it, that is… if you know enough to do that. I have never tried it before…hmmm, I wonder if I know enough to do it.

Hopefully my suggestions help you out, and thanks for the “you rock” comment:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:34am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/8 "2002-08-04T04:34:29Z")

</div>

This is my first Flash site. I’m more of a graphics person and a novice at coding. Most of my coding is done with the easier Action Script in Flash.

So, if you… I mean, when you figure out how to close the windows, please let me know.

As far as my comment “you rock”, I just call them as I see 'em and kindness is the ultimate quality for anyone.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:50am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/9 "2002-08-04T04:50:25Z")

</div>

I am a graphics person too. I am just learning actionscript now. Along with graphics I got in a great deal with Javascript and things, I love web-design. It is great figuring out layouts and creating them, and beefing them up with javascript, without being too tacky.

I will try to write that code ASAP. Javascript is usually my expertise, but I have never tried this before, it should prove interesting and fun.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:52am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/10 "2002-08-04T04:52:00Z")

</div>

Actually, what I would like to do is have one .swf section (ex: Websites) replace another .swf section (ex: Layout & Design) in the same borderless window.

In other words, I want to be able to view all sections in the same window no matter what order I select them.

Sorry if I confused you… hell, I think I just confused myself.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:55am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/11 "2002-08-04T04:55:25Z")

</div>

OHHHH, well in that case you can either use loadMovie or just create a whole bunch of pages with your .SWF pages on them. Then you can just link to them in your main flash movie as

getURL(newpage.html, \_main) (or however the code looks)

ta da, it will load the new html page in the same exact window, and if the movies are all the same size you wont have any border.

So basically, don’t load your .swf in the window, load an HTML page which contains your movie into the window.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 5:02am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/12 "2002-08-04T05:02:36Z")

</div>

Cool, I’ll try that sh\*t.

Your help is much appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 6:35am UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/13 "2002-08-04T06:35:41Z")

</div>

Lostinbeta.

It works fine on my computer. Could you let me know if the links are working for you now?

[http://www.trivision.biz/Rezolusion/](http://www.trivision.biz/Rezolusion/)

What do you think of my site? Be honest.

Thanks again. Rock on.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:11pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/14 "2002-08-04T16:11:41Z")

</div>

Your site is pretty good. It lags on my computer though. I don’t have the best of computers, so it might just be me. I have to say that it is better than what I can do as far as Flash Layouts go.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:39pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/15 "2002-08-04T16:39:11Z")

</div>

Hey 007,  
The site is really nice, and it does kind of lag my computer a bit. Too much tweening 🙂 If you want, I can move this thread to site check so more people may offer constructive feedback!

Cheers!  
Kirupa :rambo:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 5:07pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/16 "2002-08-04T17:07:37Z")

</div>

Thanks for your feedback.

I think you are both right. I’m going to cut down on some of the tweening.

Kirupa,

It’s cool if you want to move my thread to site check.

Thanks a bunch.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 8:21pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/17 "2002-08-04T20:21:31Z")

</div>

Alright, I made some minor changes to all of my pages.

Everything is much tighter now. It should run much smoother.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 8:32pm UTC](https://forum.kirupa.com/t/links-not-working-on-pc/944/18 "2002-08-04T20:32:56Z")

</div>

It runs smoother on my machine now. Keep up the good work.
