At 7/3/05 02:25 AM, Inglor wrote:
Anyone can post questions here. I'll make a tutorial accordingly, I'm not in the mood for anything I'm comitted to atm
How about something about parsing user inputed lines of text into actionscript commands? Or even better would be just using Flash to execute whatever the user typed without having to parse.
For example: some sort of game were you have to program your way through it. Like on the first screen there is static text at the top that says the next scene you seek is Scene 2. And then you have an input text box to type: on (release) {gotoAndPlay("Scene 2", 1);}. I know that you could just test against some strings for this case, but for harder tasks parsing it into actionscript and having Flash execute it would be better. (Last level could be something like crash the swf with an infinite loop!).
Anyway, I wanted to incorporate something similiar (I came up with that game idea just now) into a project I am curently working on, but found a work around that works better anyway. It was just an idea of something that I had wanted to do, but lacked the skill to do it. Actually right now I had a new idea how to accomplish it. Have Flash save the user inputed text as a cookie and then #include it? Might work, I havn't tried it. Anyway, if you are still looking for something to do, great, if not I won't take it personally.