Forum Topic: Get Url Not Working

(231 views • 9 replies)

This topic is 1 page long.

<< < > >>
Angry

64

Reply To Post Reply & Quote

Posted at: 5/20/07 11:05 AM

64 DARK LEVEL 18

Sign-Up: 02/16/04

Posts: 3,861

When I test my game in Flash it works fine, but when I upload it the links don't work.
http://denvish.net/ulf/200507/28963_link_test .php

Button
on (press) {
address = "newgrounds.com/";
_root.open_url(address);
}

Frame
function open_url(address) {
getURL("http://www."+address, "_blank");
notify.start();
}

BBS Signature

None

Lord-Sonx

Reply To Post Reply & Quote

Posted at: 5/20/07 11:07 AM

Lord-Sonx EVIL LEVEL 32

Sign-Up: 01/17/04

Posts: 8,877

Shouldn't it be

on(release){
getURL("http://www.newgrounds.com/", "_blank")
}

?


None

64

Reply To Post Reply & Quote

Posted at: 5/20/07 11:18 AM

64 DARK LEVEL 18

Sign-Up: 02/16/04

Posts: 3,861

It's essentially the same thing. Mine is just a function that calls whatever I specify.

For example, the Newgrounds button says:
address = "newgrounds.com/";

And the function says:
getURL("http://www."+address,"_blank")

BBS Signature

None

fuzz

Reply To Post Reply & Quote

Posted at: 5/20/07 11:26 AM

fuzz NEUTRAL LEVEL 21

Sign-Up: 06/02/04

Posts: 5,681

Works for me


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 5/20/07 11:30 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 10,858

It's 'adress'. :P

And well that's not good. Do a quick check if it's executing properly or just find a diffirent way.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

64

Reply To Post Reply & Quote

Posted at: 5/20/07 11:56 AM

64 DARK LEVEL 18

Sign-Up: 02/16/04

Posts: 3,861

At 5/20/07 11:26 AM, fuzz wrote: Works for me

My demo or the code?

At 5/20/07 11:30 AM, GustTheASGuy wrote: It's 'adress'. :P

Uh...


And well that's not good. Do a quick check if it's executing properly or just find a diffirent way.

How can I load a URL with a different method than getURL?

BBS Signature

None

fuzz

Reply To Post Reply & Quote

Posted at: 5/20/07 11:57 AM

fuzz NEUTRAL LEVEL 21

Sign-Up: 06/02/04

Posts: 5,681

At 5/20/07 11:56 AM, 64 wrote:
At 5/20/07 11:26 AM, fuzz wrote: Works for me
My demo or the code?

The demo


None

64

Reply To Post Reply & Quote

Posted at: 5/20/07 12:04 PM

64 DARK LEVEL 18

Sign-Up: 02/16/04

Posts: 3,861

At 5/20/07 11:57 AM, fuzz wrote: The demo

That's weird.

Verrryyy interesting...

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 5/20/07 01:40 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 10,858

It's your popup blocker. Firefox?
I'm on a mistake-making roll here.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


Happy

64

Reply To Post Reply & Quote

Posted at: 5/20/07 06:49 PM

64 DARK LEVEL 18

Sign-Up: 02/16/04

Posts: 3,861

At 5/20/07 01:40 PM, GustTheASGuy wrote: It's your popup blocker.

I love you.

BBS Signature

All times are Eastern Daylight Time (GMT -4) | Current Time: 02:58 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!