Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member tonyf12's Avatar
    Join Date
    Mar 2007
    Posts
    132
    Member #
    14998
    Is it possible to connect to a server with Flash and if so what is the best way. the server has PHP & MySQL support but nm else. I think it is apache.

    EDIT: Just checked, it is apache 1.3.33. Also it is a shared server so I can't install anything other than scripts on it.

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    WHAT exactly are you trying to accomplish?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    Probably something like a database retrieval or contact form via Flash...
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  5. #4
    Senior Member tonyf12's Avatar
    Join Date
    Mar 2007
    Posts
    132
    Member #
    14998
    I'm just figuring out what Flash can and can't do for a Flash game

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Yes, and in many ways. For database access, the best way to do it is via the XML() component accessing a PHP page that outputs XML. You can also establish server sessions with Flash and maintain user state. I did something like that for this website: www.transio.com/mundoimation

    However, for a game, you should probably look into using sockets with Flash, which would allow bidirectional communication without the overhead of XML or HTTP. There was a member here who made a Flash game with sockets a few years back. Do a search.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:26 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com