Hiya
I want to make a scoreboard for my flash mini game but so that the time remaining becomes the score (so the quicker you do it the more points you get!).
I have created my timer as a movie clip with a dynamic textbox with the variable name timer. This is then dragged onto the main timeline...
Hey
Thanks for the advice.
I changed the last line of AS from
vars.sendAndLoad("save_vars.php", save_check, "POST");
to
vars.sendAndLoad("save_vars.php", vars, "POST");
but now instead of displaying the failed screen on the swf it just sticks with the status 'transferring data to server'...
Hiya
I'm making a website for kids and on the profile page there is a character that you can change the clothes of (there is a Flash movie clip for Hats, Eyes, Hair etc. with a nextFrame and prevFrame arrow to change the colour of the items respectively).
I need to connect this in PHP to a...
I've now added an input button and as it stands, when i test it it shows what has been typed in the text boxes in the output window which is great! :) Now I just need to link this to the wheel so that whatever is typed into the boxes appears on the wheel.
This is all my coding to date:
code...
Thanks so much but I'm still a little confused!
This is the code I have so far:
//code to get the names into the circle!
// array with the names
var names = new Array("name2", "name3", "name4", "name5", "name6", "name7", "name8");
name_txt.text=new Array()
var total = names.length;
// number...
Have you tried creating a new Flash movie and importing the animation you have as a movie clip? that way all the layers will be together and you can easily get it to move up and down the page etc.
Good Luck
Hiya
I'm still working on the "wheel of fortune" game. I've managed to set up an array of "name1, name2, name3..." in actionscript (thanks to nunomira :thumbsup:) and then depending on how many entries there are the circle splits into that many segments, and displays the name.
Is there a way...
thank you so much for your quick reply!
I've managed to do it without as much maths!
// array with the names
var names = new Array("name1", "name2", "name3", "name4", "name5", "name6");
var total = names.length; // number of names
// loop through the names
for (var i=1;i<= total; i++)
{
//...
Hiya
I've been asked to create a game similar to "wheel of fortune" to decide who makes the tea in the office! I've managed to create a randomly spinning wheel but they would like it so at the beginning of the game you can type in up to 10 names (depending on whos in the office) and then Flash...
yay it works! :)
I had a look back through all my scripts and saw in some of them i had pScore and in some i had gScore!!!!
Now all I have to do is work out how to send it!
Thank you so much. Have a nice day :)
ah thank you so much that works great!
The only thing is it displays the score as zero all the time as it must be reading what gScore equals at the beginning of the movie.
Is it possible to say something similar to
gDataList[#score] = gScore when time = 300 seconds
or gDataList[#score] =...
Thanks for the quick reply! Both the datalist and the score are global variables but i think the problem is to do with the 'name' and 'email' being typed into fields by the user and the score being carried on from before.
This is the code attached to the fields (I adapted it from a tutorial on...
I've created a whack a mole game with a counter that adds up how many moles u manage to hit in a certain time limit. I have then created a form with the idea that the user can then type in their name and email address (the score will already be carried on from previous page) and submit their...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.