| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Sep 2002
Posts: 74
|
Hi!
I hope my friend "Eon" read this, my mathematic genie... Here is my question I have tried to make a virtual credit card (ice projector) I want the 16 numbers to generate when the user start the card, different from each other. When the number is generated I would like to store it in a txt.file (not a database) in some Way, but the random generated numbers are the first thing to fix. It would be nice if each number appears after itch other if it’s possibly Have someone any idea to do that? Thank swed http://www.dynamisk.nu/testcard.htm |
|
|
|
|
|
#2 |
|
thinking is design
Join Date: Apr 2003
Location: UK
Posts: 1,292
|
You could use Moock's function which generates a random number between two specified values:
ActionScript Code:
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Sep 2002
Posts: 74
|
Hi and thanks!
Could you get my file and put the code as it should be ? Thanks Swed |
|
|
|
|
|
#4 |
|
thinking is design
Join Date: Apr 2003
Location: UK
Posts: 1,292
|
I'm not sure what you mean by get your file . . . (from where?) . . . but why not try it yourself first?
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Sep 2002
Posts: 74
|
From my link, but i will try myself to...
Regards Swed |
|
|
|
|
|
#6 |
|
thinking is design
Join Date: Apr 2003
Location: UK
Posts: 1,292
|
Ah, I see, you have a link for the .fla in your .htm link. I'm retarded.
Cool. Let me know if you can't get it to work. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Sep 2002
Posts: 74
|
retarded ? i don´t think soo, you help me to find the script !
It would be cool to have each number spinning for a couple of sek and then stop, but how ??? The next thing is to send this number to a storage file ( txt ) thats tricky i think, ASP? or what ? Help on the way? All hands in the air and the brains clear... Swed ![]() |
|
|
|
|
|
#8 |
|
[Invent:Design:Create]
Join Date: Sep 2002
Location: Toronto, ON
Posts: 1,959
|
swed:
To save the .TXT file to the server you can use any backend or middleware you want....PHP, ASP, CGI, CF, etc... But that is another topic in a different forum thread.
__________________
o Please do a search before you post o Please use the [ as][ /as] tag for your code (so we can read it clearly) |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Sep 2002
Posts: 74
|
Hi Slowburn!
So you mean that i should move this question to an other Forum to get an answer ?! I wonder if someone could show me the steps to create such txt file and maybe the code... But if you say this is not the Forum, huuuuu this looks like the state of Sweden ( bigbrother ) Hi from Swede |
|
|
|
|
|
#10 |
|
[Invent:Design:Create]
Join Date: Sep 2002
Location: Toronto, ON
Posts: 1,959
|
I would suggest asking this question in the scripting and backend section of this forum.
you can try to fgure it out by going to the source (http://www.php.net), or ask in the Scripting and Backend section. It is a little more complicated for me to say here, since I'm not very good at PHP yet. but I'm suresomeone will be able to help you there. Hope this helps. Cheers.
__________________
o Please do a search before you post o Please use the [ as][ /as] tag for your code (so we can read it clearly) |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|