A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Access database from a standalone or exe file?

  1. #1
    Who needs pants? hooligan2001's Avatar
    Join Date
    Apr 2001
    Location
    Somewhere
    Posts
    1,976

    Access database from a standalone or exe file?

    Hey guys/gals just got a quick question.

    Scenario
    I have just started to work with databases and flash. Now i have incorperated the database into a game that i have been working on. Now the game is a swf file that resides in the same directory as the php file. Now i was under the imperssion that the php and swf had to be in the same directory. Now my problem is i have changed the game into a Installable exe file so the game itself is on the local machine. And the php is on the remote server. I was just wondering if standalone player's and flash exe's can access remote php and database files. I know i could probally keep trying and work it out myself but i figure i better ask before i spend all this time and find out i cant do it.

    Thanks in advance!

  2. #2
    Member
    Join Date
    Aug 2004
    Location
    Sydney Australia
    Posts
    79
    im not quite sure on this, but from what I know, i think it just opens a new browser window to post the data, and then the php sort of kicks in from there,

    so in theory it should work... but then again theory isnt my strong point
    http://www.kaushaldesilva.com/

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    loadvariables or loadvars type interaction should work standalone, but ssl connections are not supported.

    Musicman

  4. #4
    Senior Member
    Join Date
    Sep 2004
    Posts
    181

    Re: Access database from a standalone or exe file?

    if you are interested in software devellopment i suggest you take a look at flashstudio2 (www.multidmedia.com). it has +300 fs commands and works with dlls so you can save file formats etc. it can mount installers and uninstallers with the exe. it's not too pricy, i bought it and i'm quite happy. they also have expert online help for issues like this.

    the projector itself should work,
    i always connect from my machine(swf) to test my php(server). just the full url works.

    for detailled tech info check the macromedia.com tech notes. they are usually quite right.

    hope i helped you

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    the flip side of the coin: once you use custom fs commands, there is no way to make macintosh or linux versions of an application

    Musicman

  6. #6
    Senior Member
    Join Date
    Sep 2004
    Posts
    181
    Originally posted by Musicman


    the flip side of the coin: once you use custom fs commands, there is no way to make macintosh or linux versions of an application

    the mac projector extensions are released.
    there is no solutoin for lin indeed.

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