A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Connecting to a database

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Posts
    25

    Connecting to a database

    The 3D Flash Animation comparison table shows that 3DFA allows you to connect to a database from within a movie file. I've looked through the documentation and can't find anything that tells me how to do this.

    Does anyone know how I can connect to a MySQL database from within a 3D Flash Animation file?

    Thank you
    cj

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    Re: Connecting to a database

    Originally posted by wthCJ
    The 3D Flash Animation comparison table shows that 3DFA allows you to connect to a database from within a movie file. I've looked through the documentation and can't find anything that tells me how to do this.

    Does anyone know how I can connect to a MySQL database from within a 3D Flash Animation file?

    Thank you
    You cannot directly put must use a server side code as well. (same with flashMX) There is an example of this at http://deadyeti.com/blanius under guestbook. This example connects to a database and allows entry of new comments and a list of comments.

    Basically the server does the real work and just sends data to the flash via loadVariables command you can load them into 3dfa. You might want to search the forum for references to PHP as I know I've posted several topics on how to do that sort of thing.

  3. #3
    Junior Member
    Join Date
    Jan 2003
    Posts
    25

    kewl

    Great! Thank you.

    I will look at how you're interfacing with the database.

    I am versed with PHP so will choose that as my poison.

    Thanks again
    cj

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