PDA

View Full Version : Cant get link to function


cambo
04-12-2010, 09:40 AM
ive finished the site this flash movie runs in but i can't get the link to work for the button 'view all projects'
http://www.sendspace.com/file/cmcwxj

i just want to do a 'get url' and send the viewer to another page on my site
all my nav links are working perfectly so im not sure where im going wrong.

thanks in advance for any tips.

[Paul Ferrie ]
04-12-2010, 10:57 AM
what's the problem?
You know how to use getURL() right?

cambo
04-12-2010, 11:30 AM
yes - thats why i uploaded the file to see if anything was amiss with the structure of the buttons.

if someone can open it and post the actionscript that gets it to work that would be perfect.

and im half scottish if that helps Paul - LOL

[Paul Ferrie ]
04-12-2010, 11:40 AM
I don't see where you have used getURL()???

All i see on the button is

onClipEvent (load) {
this.hitArea = this.area;
}
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
}

cambo
04-12-2010, 11:43 AM
i pulled out my code as it wasnt working

[Paul Ferrie ]
04-12-2010, 11:44 AM
hmmm.....
how can you go wrong with getURL("mypage.html")

[Paul Ferrie ]
04-12-2010, 11:47 AM
word of advice!
Never by another pre-purchased template.

cambo
04-12-2010, 11:49 AM
maybe im putting it in the wrong place.
its all new to me and im only 16.

[Paul Ferrie ]
04-12-2010, 11:57 AM
ok i have put the getURL call in the button. This seems to do the trick.
http://www.sendspace.com/file/chy0nu

cambo
04-12-2010, 12:13 PM
Hi Paul,

yes that works perfectly, thank you

i see you added the code as a new layer

your mention of templates - are they generally coded badly ?
i bought a few css templates that were full of errors and not worth the time invested to fix but being such a newb with flash decided it would be the best way to go

very grateful to you for spending time helping me

[Paul Ferrie ]
04-12-2010, 12:24 PM
Templates must be of some use to people else these sites that sell them wouldn't. My personal experience of templates have generally been trouble some.

Glad it's working for you now.