Page 1 of 1

Direction

Posted: Sun Aug 15, 2010 5:40 pm
by Cold|Drawn
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)?

Re: Direction

Posted: Sun Aug 15, 2010 6:01 pm
by Jackolantern
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).

Re: Direction

Posted: Mon Aug 16, 2010 12:41 pm
by Cold|Drawn
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.

Re: Direction

Posted: Mon Aug 16, 2010 4:05 pm
by hallsofvallhalla

Re: Direction

Posted: Mon Aug 16, 2010 11:37 pm
by Jackolantern
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.

Re: Direction

Posted: Wed Aug 18, 2010 1:25 am
by Cold|Drawn
halls, from what I read asSQL encrypt the information in swf format, regarding on data security... how secured is it?

Re: Direction

Posted: Wed Aug 18, 2010 7:05 pm
by hallsofvallhalla
that I am not sure of, I have not looked into it enough