User Tag List

Results 1 to 8 of 8

Thread: [Request] AMFPHP object for flash runtime

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Sep 2010
    Location
    Poland
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] AMFPHP object for flash runtime

    Hello,

    I'm a long time Clickteam game creation software user (starting with Klik&Play - my copy was one of the first anyone bought in Poland! ). I was mostly creating games for fun (with K&P and later with TGF1) but recently I decided to go pro. But in my first commissioned game I've encountered a problem that I cannot resolve by myself.

    I'm expected to deliver flash games that will be integrated into an online gaming service. The service lets people compete in various arcade games by registering their scores an comparing them. The problem is that the outcome data (such as game session ID, players ID and the score) has to be transfered to the server via AMFPHP (http://www.amfphp.org) and the client won't agree to do it any other way.

    I imagine that AMFPHP is quite a popular way of integrating flash games into sites. As there is no extension for that, I wonder if any of you extension developers could look into that matter and judge just how possible it would be to port AMFPHP as a MMF2 Flash extension. Or maybe just some of the functions? Or maybe something that would mimic the output so that server-side AMFPHP scripts would accept it?

    I have no means to do it myself (no C++ knowledge whatsoever). I hope to receive some support here - if not from Clickteam (gratz!) then from the community.

    Regards!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    If you know the format that the PHP scripts are expecting, then you'll be able to do this yourself already with the Get object (telling it to retrieve the page address, with your parameters on the end). However, I haven't yet looked at how complex the data that needs to be exchanged is, or whether this is practical.

    And hello and welcome

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Sep 2010
    Location
    Poland
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    Hi David :-) Long time no see!

    Actually I have the server-game communication figured out and yes, I plan to use "GET" object for that. But I don't think that it can handle the game-server communication. Posting parameters to the server is a bit more complicated than reading parameters from the page the SWF was embedded on.

    Help and tips still needed, guys!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Sep 2010
    Location
    Poland
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    Anyone? Please?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    Quote Originally Posted by WMroczek
    But I don't think that it can handle the game-server communication. Posting parameters to the server is a bit more complicated than reading parameters from the page the SWF was embedded on.
    How so?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Sep 2010
    Location
    Poland
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    As I understand my client's specific needs, he's running a AMFPHP server-side script (or application - I don't really understand how AMFPHP works - hence my call for help) which he uses to gather information (such as score, game session ID and user ID) from the games upon their end. Up until now he would put on his service games made directly in Flash. That allowed embedding AMFPHP game-side code.

    If I understand you and David correctly - both of you think that there's no reason that sending parameters to AMFPHP serwer via GET object calls wouldn't work?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    Mruqe - Get objects not only receives data but also sends data so it should work perfectly for you.

    I siema

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Sep 2010
    Location
    Poland
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] AMFPHP object for flash runtime

    Quote Originally Posted by Fanotherpg
    Mruqe - Get objects not only receives data but also sends data so it should work perfectly for you.
    I'm well aware that GET is able to send strings of data. But that's not how AMFPHP works. It logs onto a AMF server and sends binary commands. You can't do that via GET. I had some hopes to use Lacewing for that, but no luck.

    So, I'll guess the request still stands :-)



    I siema ;-)

Similar Threads

  1. [ Paid request ] The Flash-Vector-Object
    By Pharanygitis in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 23rd December 2010, 09:32 AM
  2. [Request] ControlX object to flash
    By Phi in forum Extension Development
    Replies: 2
    Last Post: 16th October 2010, 04:57 AM
  3. [Request] Randomizer object for Flash
    By Fanotherpg in forum Extension Development
    Replies: 8
    Last Post: 22nd August 2010, 01:11 AM
  4. [Request] Dungeon object into flash
    By NeoMonkey in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 10th August 2010, 12:11 AM
  5. flash runtime/flash licence
    By Evilized79 in forum Extension Development
    Replies: 11
    Last Post: 20th November 2009, 10:38 PM

Posting Permissions

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