PDA

View Full Version : How to access an array from flash in asp.net or php?


prince_kalyan
07-24-2007, 07:36 AM
Hello ,

I am kinda new to actionscript and also to this forum.

I got a series of problems with a flash.

1. I have an array in flash and the data in the array is to be accessed by asp.net or php.How do i do it?

2. How do i retrieve a users location (ex: if the user is in canada.. it shud automatically detect it and display in a text box). Is it possible in flash? If not.. then is it possible in any other server side tech and implement it in flash?

3. How should i connect a java application and flash?

Can anyone please help me outta this mess?

Flash Gordon
07-24-2007, 07:49 AM
1) pass it as a string and split the deliminator
2) no, buy a webservice to tell you that answer and load it into flash
3) don't know.

prince_kalyan
07-24-2007, 09:27 AM
so .. how do i do the first one? :confused:
is there a code to pass it on as a string to asp.net or php?

1) pass it as a string and split the deliminator
2) no, buy a webservice to tell you that answer and load it into flash
3) don't know.

mooska
07-24-2007, 09:55 AM
1, 3
http://amfphp.org - for php
http://www.themidnightcoders.com/weborb/ - for ASP.NET and java

prince_kalyan
07-25-2007, 11:16 AM
thanks a lot to u both :)

jsebrech
07-26-2007, 08:55 AM
Cross-platform solution: use JSON (encode in flash as JSON, decode it on the server).

http://www.json.org