Need some help for directions from fellow forumers here,
previously I followed halls' tutorial for creating a game via php.
currently, I am learning how to create a flash based game, I noticed that the scritping for AS3 and php is really different.
and I am wondering if SQL database works with AS3 similar to php as well...
I have a hard time trying to figure out how to connect the arrays from the database to my AS3 script.
I know I sound very vague, because I am really new to this...
any tutorial that I can refer to, or any books recommended (particularly related with flash and sql)?
Direction
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Direction
Here is a page that has a link to a MySQL library for AS3. Apparently AS3 has no built-in support for external databases. If you don't use a custom library, it seems you would have to use a server-side script to act as a go-between (which most people seem to be using Classic ASP...ouch).
The indelible lord of tl;dr
-
- Posts: 17
- Joined: Sat Jan 16, 2010 12:03 am
Re: Direction
hmm, in your opinion is it better to go ASP (which I am not really familiar of)
or try integrating php and mysql?
I found this on kiruma, http://www.kirupa.com/developer/actions ... ration.htm.
or try integrating php and mysql?
I found this on kiruma, http://www.kirupa.com/developer/actions ... ration.htm.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Direction
Yeah, go with a MySQL library for AS3.0. While making AS3 interact with PHP may not be so bad, the common method of using Classic ASP to hit the db would be awful, considering how bizarre and difficult Classic ASP is to work with.
The indelible lord of tl;dr
-
- Posts: 17
- Joined: Sat Jan 16, 2010 12:03 am
Re: Direction
halls, from what I read asSQL encrypt the information in swf format, regarding on data security... how secured is it?
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Direction
that I am not sure of, I have not looked into it enough