A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PHP help

  1. #1
    Registered User
    Join Date
    May 2016
    Posts
    1

    PHP help

    Hello, I have following problem. So basically I have actionscript code :
    Code:
    lv = new LoadVars();
             lv.Uz173AB = _level0.uName;
             lv.KgLmn1D = _level0.fqTEcOL["player" + _level0.remotePlayers[0] + "MC"].kills;
             lv.DopPZe4 = _level0.fqTEcOL["player" + _level0.remotePlayers[0] + "MC"].zqhUQj;
             lv.AqWZ3n0 = _level0.mapNum;
             lv.SJz7Nw8 = _level0.TqGedOz;
             lv.sendAndLoad("http://somehost/file.php",lv2,"GET");
             lv2.onLoad = function(success)
             {
                if(success)
                {
                   my_txt.text = lv2.ztimestamp1;
                }
                else
                {
                   my_txt.text = "Error loading";
                }
             };
    And my question is: How should my PHP file be constructed to send vars into database aswel as return time stamp text to "my_text.text" where it says lv2.ztimestamp1 (this is not my project, original host that had this working was shatdown due to owner left community and I just need new PHP to put it back again on work.)

  2. #2
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    Did u like decompile someones swf lmao

  3. #3
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    who is this? a word of friendly advice: FFS stop using AS2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center