Page 1 of 1

how to get atributes in standalone app?

Posted: 21 Feb 2011, 13:25
by isamil
hi, I need to get a user values in my standalone app, the DB connection is provided in jsp app, i set the value in a usersession var, but i need to use this values inside my flash game...

in another topic I have questioned if is possible to get a smart fox pointer in my jsp standalone app... if this is possible finish my problem...

sorry for bad english...

thanks...

Posted: 21 Feb 2011, 17:55
by BigFIsh
You can use php to interact with flash. There are many tutorials that can be found via google how to get flash to load variables from a php script using GET or POST.

The php script will fetch the session variable and then send it to flash.

this is the best method?

Posted: 01 Mar 2011, 18:32
by isamil
I be using JSP, and in action script this works correctly, but this don't is a best method to get values... i think if dont have another method, using servlets for example... i have tried with java servlet... but the value returned is the html static value, don't returns jsp modified values...

Posted: 01 Mar 2011, 18:35
by BigFIsh
Sorry, but I've never used JSP before. I would suggest looking for tutorials or examples for JSP interaction with actionscript via google.