Jump to content

[SOLVED] Editing FLA file, changing link...


CrazeD

Recommended Posts

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

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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.