Be a Supporter!

High Score trouble

  • 411 Views
  • 9 Replies
New Topic Respond to this Topic
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
High Score trouble 2007-07-19 21:38:16 Reply

Ok so i did an high score list in ArmorBot and heres the actionscript;
import ab20;
ab20_09 = new LoadVars();
ab20_09.z = namevar.text;
ab20_09.x = _root.finalScore;
ab20_09.c = 1475;
ab20_09.v = "HROWON";
ab20_09.sendAndLoad("http://armorbot.com /s_b",ab20_09,"POST");

the problem is that when i click submit score, it normally submits it, but the name doesent change
ab20_09.z = namevar.text;
it just stayes empty. I made the input with instanse name; namevar
so i dont know whats the problem, any1?


Click on sig pic!

BBS Signature
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-19 22:00:46 Reply

nobody else have this problem?
It is realy weard, i didnt find any ways to repairt it, because theres no mistakes in it... its now some weird flash tricks!


Click on sig pic!

BBS Signature
Kart-Man
Kart-Man
  • Member since: Jan. 7, 2007
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to High Score trouble 2007-07-19 22:13:17 Reply

Have you tried _root.nameVar yet?


postcount +=1;
Newgrounds Photoshop Headquarters || Don't use MS Paint! Use Aviary!
SING US A SING YOU'RE THE PIANO MAN

BBS Signature
Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to High Score trouble 2007-07-19 22:18:22 Reply

I do the simple way of making the button go to a different frame with the submit code on it.
A full tutorial can be found here.

LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-19 23:24:58 Reply

At 7/19/07 10:13 PM, Kart-Man wrote: Have you tried _root.nameVar yet?

Yes, it messed more and the name was undefined

At 7/19/07 10:18 PM, Sinistermuffin wrote: I do the simple way of making the button go to a different frame with the submit code on it.
A full tutorial can be found here.

that dont actualy help much...it explains all the same stuff as in ArmorBot tutorial, and my problem is pretty weird, the all works fine it sends all but only problem is the name, the input is not working or something!


Click on sig pic!

BBS Signature
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-20 08:07:05 Reply

Ok.... thanks for help all. 2 helps 1 not rly helpful 1 explains how to use that high score stuff


Click on sig pic!

BBS Signature
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-20 08:09:21 Reply

so does anybody have ANSWER on my question? what i have to put in there in place of that z = namevar;


Click on sig pic!

BBS Signature
Vengeance
Vengeance
  • Member since: Mar. 18, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to High Score trouble 2007-07-20 08:35:58 Reply

ab20_09.z = _root.namevar;

That normally works for me.


========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-20 14:09:56 Reply

At 7/20/07 08:35 AM, Vengeance wrote: ab20_09.z = _root.namevar;

That normally works for me.

i tried, but when i submitted score it sayd UNDEFINED, but the score worked


Click on sig pic!

BBS Signature
LegolasFIN
LegolasFIN
  • Member since: May. 7, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to High Score trouble 2007-07-20 16:47:16 Reply

I asked 1 guy who have this high score table and he said that he have exacly same code as me, but it works!


Click on sig pic!

BBS Signature