For the last few days, I've tried to switch to using classes (which I heard were better). However, they only really work on "one frame games", which my game isn't, So I had to "rollback" my stuff. I then worked on the hardest part, making it so the user can make a flash game. Thankfully, that Is mostly over! Here is how it works
First, you pick the project (right now only Stick works)
Then, give it a really cool name
It will then run this whack-ass code
if (global.projectsInWork < 3) { var title: String = this.titletx.text; global.projectsInWork++ trace(global.projectsInWork + " projects in work") switch (global.flashChosenOne) { //nested ass switch case case "stick": switch (global.projectsInWork) { case 1: // shitty ass code wtf global.flashInWork.first = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP); trace(global.flashInWork.first); break; case 2: global.flashInWork.second = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP); trace(global.flashInWork.second); break; case 3: global.flashInWork.third = title + ",stick," + String(global.stickDays) + "," + "10," + String(global.stickFP); trace(global.flashInWork.third); break; } case "asdasd": } this.gotoAndStop("wrap"); } else { this.gotoAndStop("overload"); }
Then give it 2 days and.... IT WORKS!!! (as long as you ignore the invaild)
Anyways that is really it, any suggestions would be appreciated!