GameAmp Fansite Network Gamer Shirts, GameAmp T-Shirts
Change Game Sites   
About GameAmp, Inc GameAmp Staff Register for a free account
GameAmp Login GameAmp Password
GameAmp Homepage
GameAmp Game MapsGameAmp Game ListLatest Video Game NewsVisit the Video Game ForumsGame Item AuctionsFind Gamer FriendsGame Screenshots
Video Games Subnav
GameAmp Information

GameAmp: Flash help anyone

clear gif
Forum >> Miscellaneous >> Off-Topic >> Flash help anyone

 
User Message
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
Flash help anyone 

Hi everyone well i am trying to make a button in flash that when u click it sends u to a website!! but the problem is that i cant get the codeing correct can anyone help me there?? here is a video of wat i do, the button is already set and the only thing it says in tutorials is that what is shown in the vid.

Help video



this is the error message i get if i try to run it

1084: Syntax error: expecting rightparen before colon.[I][/I]
01/31/08 14:32 Login to rate this user's post!
Hijaru Ta Profile
Hijaru Ta
View Profile of Hijaru Ta
Posts: 4
Joined: 07/31/2007
Credibility: 0 pts
RE: Flash help anyone 

kinda obvious
i had that mistake too a while ago, you need to use these ""

so the code would be: getURL("http://www.gameamp.com");

i usually use this code:

on(Release){
getURL("http://www.ilikechocolatecookiesandmilk.com");
}




GW.IGN: Hijaru Ta CoH.IGN: Hijaru
01/31/08 15:27 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

thanks alot now when i do it i get no erros but when i play it i get this error

1180: Call to a possibly undefined method on.

how could i fix this

thxs again




takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 15:33 Login to rate this user's post!
Hijaru Ta Profile
Hijaru Ta
View Profile of Hijaru Ta
Posts: 4
Joined: 07/31/2007
Credibility: 0 pts
RE: Flash help anyone 

i'm not sure about this, but can you post your code that you have now?

it may be the wrong action your applying to it, and also post the version of flash you have ^^




GW.IGN: Hijaru Ta CoH.IGN: Hijaru
01/31/08 15:36 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

i have Adobe Flash CS3

and the code i put into the action of the button is this





takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 15:39 Login to rate this user's post!
Hijaru Ta Profile
Hijaru Ta
View Profile of Hijaru Ta
Posts: 4
Joined: 07/31/2007
Credibility: 0 pts
RE: Flash help anyone 

ah well, that's the problem i guess. i don't know for sure b/c i just started learning flash (school project)

but the first line should be:
on(Release){

(notice the squiggly thingy is in the first line!, now when you press enter it should leave a blank area before your next line)


getURL("http://www.gameamp.com");

and now the last line.

}

it should look like this:
QUOTE
on(Release){
      getURL("http://www.gameamp.com");
}





GW.IGN: Hijaru Ta CoH.IGN: Hijaru
01/31/08 15:44 Login to rate this user's post!
dragoniusx Profile
dragoniusx
View Profile of dragoniusx
Posts: 40
Joined: 09/09/2005
Credibility: 0 pts
RE: Flash help anyone 

try:

on(release)
{
getURL("http://www.gameamp.com", "GET");
}

edit: could use POST aswell, its the method used to define the way the data is sent.



***THIS POST HAS BEEN EDITED***



01/31/08 15:50 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

It still not working now i get htis error i am sorry if i am annoying with this but i cant find a good enough forum for this sort of help!!! they are all inactive





takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 15:54 Login to rate this user's post!
dragoniusx Profile
dragoniusx
View Profile of dragoniusx
Posts: 40
Joined: 09/09/2005
Credibility: 0 pts
RE: Flash help anyone 

code?



01/31/08 15:57 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

the code is copied from the post of Hijaru Ta the one above
QUOTE

on(Release){
      getURL("http://www.gameamp.com");
}




takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 15:59 Login to rate this user's post!
Hijaru Ta Profile
Hijaru Ta
View Profile of Hijaru Ta
Posts: 4
Joined: 07/31/2007
Credibility: 0 pts
RE: Flash help anyone 

well i'm going to bed now lol xD
and i think dragonius will take it from here, he/she/it seems to know much more about flash :D




GW.IGN: Hijaru Ta CoH.IGN: Hijaru
01/31/08 16:00 Login to rate this user's post!
dragoniusx Profile
dragoniusx
View Profile of dragoniusx
Posts: 40
Joined: 09/09/2005
Credibility: 0 pts
RE: Flash help anyone 

he, and the code seems totally fine... reminds me why i hate actionscr!pt -_-



***THIS POST HAS BEEN EDITED***



01/31/08 16:01 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

thxs a lot i have to go to bed to actually
i hope she knows what it is




takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 16:02 Login to rate this user's post!
dragoniusx Profile
dragoniusx
View Profile of dragoniusx
Posts: 40
Joined: 09/09/2005
Credibility: 0 pts
RE: Flash help anyone 

I'm a guy ffs, lol.. whoa guys.

Let me finish my round of CS:S first...



***THIS POST HAS BEEN EDITED***



01/31/08 16:02 Login to rate this user's post!
CED 14 Profile
CED 14
View Profile of CED 14
Posts: 6
Joined: 01/17/2006
Credibility: 0 pts
RE: Flash help anyone 

ahh u know wat °#§¬ it i am going to bed why make it so complicated i had programs

gd night




takeing sig requests just PM me.............IGN= Mazar Rackhammer -LOTRO IGN= leaderx (Human Captian lvl 11)or Olin (Dwarf lvl 4)server EN-Eldor



Studies show that 92% of teens listen to rap. If you are part of the 8% that listens to real music the add this to your signature.
01/31/08 16:03 Login to rate this user's post!
dragoniusx Profile
dragoniusx
View Profile of dragoniusx
Posts: 40
Joined: 09/09/2005
Credibility: 0 pts
RE: Flash help anyone 

Think the problem could be the differences in actionscr!pt versions,

CODE


on (release) {

getURL(\"http://www.gameamp.com\", \"_self\", \"GET\");

}





Made a quick button in Flash 8 (AS2) using the above code and it works just fine.

1) In your movie you changed the drop down menu to action 1.0 & 2.0

2) In your first clip you've got actionscr!pt 3 selected

3) You've got a frame selected rather then a button.



01/31/08 16:23 Login to rate this user's post!

clear gif
Don't Forget! - Rate users posts to reward or demerit their posts with Credibility!
GameAmp Footer