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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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