Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. squiggles121

    time remaining becomes score

    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...
  2. squiggles121

    Flash, PHP and MySQl databases

    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'...
  3. squiggles121

    Flash, PHP and MySQl databases

    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...
  4. squiggles121

    forms to update text arrays

    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...
  5. squiggles121

    forms to update text arrays

    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...
  6. squiggles121

    Motion Tween

    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
  7. squiggles121

    forms to update text arrays

    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...
  8. squiggles121

    calculating segments of a circle

    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++) { //...
  9. squiggles121

    calculating segments of a circle

    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...
  10. squiggles121

    creating a form to submit the score

    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 :)
  11. squiggles121

    creating a form to submit the score

    I've put gDataList[#score] = gScore in the on beginSprite handler in the above code as this seemed like the most sensible place is that right?
  12. squiggles121

    creating a form to submit the score

    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] =...
  13. squiggles121

    creating a form to submit the 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...
  14. squiggles121

    creating a form to submit the score

    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...

Part and Inventory Search

Back
Top