Save and load info into MySQL database

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi all

    I have just started playing around with the Flash exporter and really like what I see so far....

    I want to integrate it with a site CMS (preferably Drupal), as follows:
    1) User logs on to website
    2) User clicks on a flash game
    3) Flash game loads user data from the MySQL database
    4) User plays game
    5) On end of game, it automatically saves new data back to the MySQL database

    Any ideas on how this can be done? Get object? Others

  • Final solution - please bear in mind this was in a Drupal 7.x environment:

    1) Create a drupal module that contains the javascripts needed. (I can extend it later, but at this stage, it will save and load info from the MySQL database into the Flash application.)

    2) Place the .info and .module and .js files into a folder in thesites/all/modules directory and enable, like other Drupall modules.

    3) Insert a small bit of script in the page itself (where the Flash file is) that references the js being called.

    Voila!

    Happy to provide details if anyone want them.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!