How to make a Flash Game Trainer by
axzusRequirementA brain from your mum and dad
VisualBasic 6 (search in google)
Sothink SWF Decompiler 4.1 which you could get it
HEREAnd your common sence
Step 1- Open Visual Basic 6.0
- After that there will popup a Window named "New Project" Choose "Standard EXE"
- Now right click on your left menu and choose "Components"
- After a new window has popup you should see a list of stuff search for "Shockwave Flash" mark it and press "Ok"
Step 2- Now you have a Shockwave Component in your toolbox. (which looks like a paper)
- Click on it and drag it over to your Form 1
Step 3- Once you dragged the Shockwave flash component to your Form 1 you should see the Form 1 became blank
- Click on the blank and in the right side there will apear on Propoties for your Component which is named "ShockwaveFlash1"
- Now on the "Propoties" window which is on the right side search for "Movie"
Step 4- Now open your Internet Explorer(could be any explorer as long as it can play flash games)
- Right click on the page and click "View Source"
- Press "Control + F" and type in .swf
- Open a new window and paste it at your URL bar
- Go to file on your Internet Explorer > Save Page As> save it on your desktop
- Now go back to your Visual Basic and paste the link into movie (e.g
http://www.miniclip.com/games/samurai-sam/en/samuraisam.swf)- You should see the game is loading in Form 1
Step 5- Open your Sothink SWF Decompiler which you have installed
- Click on the file you have saved on your desktop
- After the movie loaded look for your Action Folder on right menu and press the "+" sign next to it
- Click on "Main Movie"
Step 6- At the top go to "Action Scrip" Tab you should see a search function
- Search for a variable you want (e.g kill)
Step 7- Go back to Visual Basic 6
- Set a command button by clicking a rectangle stuff on left and drag it on your Form1 where the spot is
Step 8- Double click the command button to add code to change the variables
- Type in a code in this way
- Code:
-
Call ShockwaveFlash1.Setvariable("_root.variable", value)
- So if the variables is kills and you want to set the kills to 99999 it would be:
- Code:
-
Call ShockwaveFlash1.Setvariable("_root.kills", 99999)
- Now try testing it out. Press F5. Click on your button and see if the variable changes
Step 9- To change the name of your button, click on it once and in the properties window to the right, where it says caption, change "Command1" to whatever you want
- To change the name of the form, click on the Form 1 and in the properties window to the right, where it says caption, change "Form1" to whatever you want
Step 10- Continue to make buttons and add codes until you are finished.
- After you have done go to "File" > "Make Project1.exe..." then save it
Conguratulation you have just made your
FIRST trainer!