User Tag List

Results 1 to 6 of 6

Thread: Save and load info into MySQL database

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Australia - Brisbane
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Save and load info into MySQL database

    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

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You can call Javascript functions from the main html file with the Flash player object. It should should allow you to do this.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Australia - Brisbane
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Francois - I'll give that a bash.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    Norway
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Get object and crossdomain.xml ( http://www.adobe.com/devnet/articles...file_spec.html ) and some PHP or other serverside scripting talking to your database.
    Jean Villy Edberg

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Australia - Brisbane
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Villy

    Would anyone be able to help me set this up? I'd be happy to pay. If you are interested, PM me.

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Australia - Brisbane
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face Solution - Especially for Drupall fans

    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.

Similar Threads

  1. unicode not entering mysql database
    By crugh in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 16th April 2014, 06:32 PM
  2. ASP.NET to access a mySQL database from MMF2?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th September 2010, 08:26 PM
  3. Hi-score and mysql database
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 14th July 2010, 04:10 PM
  4. [REQUEST] MySQL database
    By Dynamite in forum Extension Development
    Replies: 2
    Last Post: 10th March 2010, 05:08 AM
  5. Connecting to a MySQL database....?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 1st May 2008, 12:07 PM

Tags for this Thread

Posting Permissions

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