PDA

View Full Version : Linking in Flash


robfosters
12-23-2006, 06:31 PM
I am so crap at this. I have built a flash movie, and I have put in a button reading click here at the end. However, I can't make it link it to my main page.

How exactly can i get this button to link to my homepage?

I know this is probably easy for most of you, but I am tearing my hair out.

Help appreciated.

davidj
12-23-2006, 07:38 PM
select the button in flash and press F9. This should bring up your action script panel

in there write...
on(release) {

getURL(incomingAd, "_blank");

}

robfosters
12-23-2006, 07:50 PM
Thanks, but that does not seem to be working. The button is created okay, but I have typed that in and I am still getting an error message when previewing the website.

Where exactly in the code do I place the name of my website?

davidj
12-23-2006, 07:54 PM
sorry

where you have

incomingAd replace with your page

robfosters
12-23-2006, 08:00 PM
Now this comes up when I check the syntax:-

expected
getURL(http://www.kingsarmspool.co.uk, "_blank");
Total ActionScript Errors: 2 Reported Errors: 2

This is getting me quite down now:confused:

davidj
12-23-2006, 08:04 PM
where you have

getURL(http://www.kingsarmspool.co.uk (http://www.kingsarmspool.co.uk/), "_blank");

replace http://www.kingsarmspool.co.uk, with the page you want to direct to

example...

index.htm

if your still having problems then zip up the FLA file and upload it to this thread

robfosters
12-23-2006, 08:21 PM
I'm very sorry, but I can't upload it in zipped form. Is there any other way I can get the file to you. It's only 9 megs, not too much.

Many thanks

Rob

davidj
12-23-2006, 08:34 PM
email it to my address in my profile

chriskq
12-24-2006, 09:08 AM
It's only 9 megs, not too much. sorry i gotta laugh at that a little.

ps - if u ever have large files and want someone on the forums to have access to it, use a website like www.putfile.com or similar.

oakwoodevents
12-26-2006, 04:07 PM
hi
thanx for putfile - its great lol