-
Any ideas on how I can get my hangman to get the words from a database?? instead of from writing them in the flash-script....
I want the administrator to be able to choose the words, without going into the flash-script....
-
The easiest way would be to use a .txt file as your database. Flash can only understand variables that are URL encoded, ie: name and value pairs such as '?word1=this&word2=that'. It would be pretty easy for someone to edit such a list as long as they maintain the URL encoded structure.
You can load variables from a text file using the *shock* loadVariables command. Check out FK or http://www.actionscripts.org for tutes.
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|