-
1. Re: how to connect sql database with Flash
clbeech Nov 1, 2009 8:51 AM (in response to rahimhaji)this cannot be done - you must run a server-side script to access a server DB - php is a common option, along with Java, JavaScript, ASP, ColdFusion, etc. you will need to educate your client on the fact that a client-side script cannot do this for security reasons.
-
2. Re: how to connect sql database with Flash
Striker9099 Nov 1, 2009 11:04 AM (in response to clbeech)clbeech, do you know how to do that with ASP.NET? I think the actionscript 3.0 that should take care of this stuff is by using the URLLoader and URLVariables classes... but from there, I have no idea what to do...
-
3. Re: how to connect sql database with Flash
clbeech Nov 2, 2009 6:26 AM (in response to Striker9099)unfortunately no, i do not know ASP well enough to give any code advice, other than the basic concept: make a request on a server-side script (such as ASP) via URLLoader - the script receives variable values (if required), runs the DB queries you wish to invoke, and 'returns' the results - pick them up in the URLVariables class via the event handler in Flash and assign them to local properties if needed, etc.
there are quite a few threads that you could find more specific information on the ASP side, here and elsewhere around the net.
-
4. Re: how to connect sql database with Flash
Striker9099 Nov 2, 2009 6:29 AM (in response to clbeech)Yeh that's almost the same procedure you would follow to do this stuff with PHP. Unfortunately, everybody uses AS3 with PHP rather than ASP.NET but anyway, I'll try to find some code snippets that might help. Thanks
-
5. Re: how to connect sql database with Flash
rahimhaji Mar 25, 2010 12:26 AM (in response to Striker9099)hi friend,
thks for ur response. pls help me to connect asp.net and save datas.....
thanks and Regards,
Syed Adbul Rahim

