A good first step is to get the actual client not the loader (ie you want AssembleGameClient1369861973.swf not AGCLoader1369861973.swf).
You can get the client build number here: https://www.realmofthemadgod.com/version.txt
Use that number here: https://www.realmofthemadgod.com/AssembleeGameClient[NUMBERSHERE].swf