PDA

View Full Version : flash and asp game help...


jay_gee
12-07-2006, 11:52 AM
Hi all,

Im new to the forum so please go easy on me... :)

I am currently working on a flash game for xmas and I have got to the point where I am trying to include a Highscore board system. The reason I am using ASP and not PHP is because the server that I will be running the game on does not support PHP and only supports ASP.

I followed this tutorial - http://planetbob.net/ftd/scoreboard/p5_flash02.htm which i found on the web.

The problem i am encountering is that i have a variable called "score" within the main game but i cannot seem to get it to display within the scoreboards movie clip. I have tried several things but no I have come to a hault. I am guessing that movie clip with the scoreboard in is not finding the "score" variable. I have amended all areas of the code in the tutorial as it suggests and still nothing.

Everything at the moment is running off of my localhost.

Does anyone know what I could be doing wrong? Am I not calling the variable in the movie clip itself?

Hope someone can help.

many thanks
J

Cota
12-07-2006, 12:44 PM
welcome to the forums...attach your files,or post the code in question.

jay_gee
12-07-2006, 01:33 PM
hi cota,

thanks.

i have attached the .fla file and asp files. I didnt add the MS access database, the file size was too big and had to remove something.

i hope you or someone out there can help?

thanks,
J

jay_gee
12-07-2006, 04:18 PM
right guys...

ill break down the problem...

i have a variable called "score".
once the game has ended this variable is displayed showing the user the points they scored. They are then prompted to click a button which when clicked plays the next frame in the timeline where the scoreboard is held. The scoreboard is a movieclip held in a 7 frames.

The problem is how do I get the variable "score" to be passed into the movieclip? or how do I get the movieclip to pull that variable into itself?

I hope I have made sense....

jay_gee
12-09-2006, 10:33 AM
can anyone help?

:(

Cota
12-09-2006, 10:49 PM
Sorry, got a little busy. I dont see where you are declaring "score" on the main time line..

jay_gee
12-10-2006, 07:05 PM
the variable "score" is in the top right hand corner of the screen in the game. Its within a dynamic text box and is updated whenever a person is hit with the snowball.

I just cant seem to get that variable to display within the movieclip.

Does this help?

Thanks
J

Cota
12-11-2006, 03:02 AM
Change all instances of "score" to _root.score