by Pkdude on July 25th, 2009, 11:30 am
A lot of members(including jjkul) have asked me to post the code so they can make a button to load an swf(Shockwave flash object).
An swf, is actually a movie and NOT a cheating tool.
Games like DF,AQ,MQ are all swf based.
meaning they are swf movies!
what our custom swf does is loading an instance of the game at any given time.
e.g finish quest.swf loads the finish quest instance at anytime during the game.
So the code to use is:
ShockwaveFlash1.LoadMovie 1, App.Path & "yourswf.swf"
Put that code between the command button's
function and end codes.
Shockwaveflash1. part of the code indicates it's calling shockwaveflash1
Loadmovie 1, part of the load indicates the game to load the selected movie(swf) on this layer(1).
App.Path & "yourswf.swf", part of the code tells you where the file that needs to be loaded is located. App.path means the same path that the trainer is in and yourswf.swf is the name for your custom swf.
Try it out, it works 100%
Also this code format was designed by me, so if you use this code please credit me.
AND +REP or gold donations would be very nice!