FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


mysql and flash





bert_db
Is it possible to let flash interact with a mysql database?
My friends and me are trying to develop an online multiplayer game, and we don't know yet where to start.
Do we have to make a java-applet game? Or is it a good idea to make a flash game, and let it communicate with a database?
krazycapital
Possible: Yep.
I would say yes to being a good thing cause actually what it does is run a PHP script by sending variables using GET. I forget the function though...
gstreams
You should also check amfphp http://www.amfphp.org/ i know people who did neat stuf using this simulatory Flash Server.
Als on kirupa.com you can see all kind of thing about flash interacting with remote files, dinamic scripts.
I suggest implementing a XML framework (in php) for comunicating with the sql server.
avk
Flash cannot Directly connect with MySQL but it can connect with a MySQL database through PHP

This is the diagram

FLASH --> PHP --> MySQL --> PHP --> FLASH

It should be done in this way.

In FLASH u can use the LoadVars to load variable.

Here ... Take a look at this page

http://www.graphicaddicts.net/forums/index.php?PHPSESSID=555741cc8ff6e40fd6e7d9aa3ebd336d&topic=1122.msg8065#msg8065


Also u can Query in the google for simpler results and tutorials.

U can gett better examples at.
http://www.sephiroth.it/tutorials.php

That's it

If any problem then u can write in this same Thread[/quote]
Related topics
What is your computer related obsession?
looking for staff/partner/webmaster
Getting your name out there
This is somthing ive been wanting to learn for a whie.
Hello
Building a site for my music. Any suggestions?
php and mysql connection in flash based website
PHP, MySQL and Flash
Flash, PHP and MySQL
website in flash
Don't Use Flash
Flash Tutorials
Separating contents of MySQL row and put them in variables?
Please help.....Flash, PHp, MySql
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.