Help with linking flash to page

i have created a nav system which consists of squares. once your rollover the square it expands in to a rectangs displaying where the link is to take the view but on the square i have enterd this:

getURL(web address, _self);

its showing errors and im sure im doin summit stupid but im novice at AS can anyone provide help?

the nav system can be viewed at http://www.shiznat.chaotic-art.com

ta,

kip

{getURL("page.ext", target="_self");

}

You’re missing some quotes.

(and a target= )

humm when i paste that in my button i get this error

Error Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
{getURL(“http://www.chaotic-art.com”, target="_self");
Total ActionScript Errors: 1 Reported Errors: 1

can anyone help me out

Oh, that’s because you don’t have something like


on (press) {getURL("http://www.chaotic-art.com", target="_self");
}

Try that. What I posted before was just to correct the GetURL function.

aha thats the one thanks for your time ive learnt something new :slight_smile: