CrazeD Posted January 9, 2008 Share Posted January 9, 2008 I'm trying to add some free flash arcade games to my site. I have the swf files. I got a SWF decompiler to get the FLA file. In the SWF decompiler I found the thing I need. It's under the actionscript and it's called 'sprite123'. It has the link I need to edit which uploads the score for the arcade game. So. I open the FLA in Flash and find the sprite123. But, I have not even a clue what I'm doing with it. How can I change the link to what I need? This is the code I see in the SWF decompiler: // Action script... // [Action in Frame 33] stop (); sendscore = new LoadVars(); sendscore.gname = "hybrid_fighter"; sendscore.gscore = _root.score; sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST"); name_txt.restrict = "A-Z 0-9.:\\-"; name_txt.text = _root.game_so.data.playerName; Selection.setFocus(name_txt); Selection.setSelection(name_txt.length, name_txt.length); newGame_btn.onRelease = function () { _root.gotoandstop(2); }; I need to change the "sendscore.send" link. Can anyone help please? Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/ Share on other sites More sharing options...
mrdamien Posted January 9, 2008 Share Posted January 9, 2008 I'm trying to add some free flash arcade games to my site. I have the swf files. I got a SWF decompiler to get the FLA file. You have the authors permission to do that? It just sounds like your stealing because you decompiled it... Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-434331 Share on other sites More sharing options...
CrazeD Posted January 9, 2008 Author Share Posted January 9, 2008 I'm not stealing anything. The games are from a free plugin for e107. All I want to do is change the link that uploads the high score, so that it will work on my site. Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-434342 Share on other sites More sharing options...
mrdamien Posted January 9, 2008 Share Posted January 9, 2008 Okay. Just change "index.php?act=Arcade&do=newscore" to your site ex: "http://yoursite.com/e107/submitscore.php?act=Arcade&do=newscore" gname and gscore are the post variable being sent. Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-434770 Share on other sites More sharing options...
CrazeD Posted January 9, 2008 Author Share Posted January 9, 2008 Well yes, I get that. HOW do I change it? From where I got that code, I can't edit it. I have to edit it in Flash. Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-435027 Share on other sites More sharing options...
mrdamien Posted January 10, 2008 Share Posted January 10, 2008 Um yeah. Open the FLA in flash... then edit it and re-compile it... Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-435244 Share on other sites More sharing options...
CrazeD Posted January 10, 2008 Author Share Posted January 10, 2008 I kind of figured I opened Flash and edited it... HOW do I edit it in Flash? This is what I see when I double click the sprite: http://i13.photobucket.com/albums/a283/crazed_rider/flash.jpg Care to tell me where I'm supposed to edit the code? Thanks... Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-435269 Share on other sites More sharing options...
mrdamien Posted January 10, 2008 Share Posted January 10, 2008 Under windows -> Actions or F9 Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-435284 Share on other sites More sharing options...
CrazeD Posted January 10, 2008 Author Share Posted January 10, 2008 Thanks. Link to comment https://forums.phpfreaks.com/topic/85131-solved-editing-fla-file-changing-link/#findComment-435368 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.