how to get atributes in standalone app?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
isamil
Posts: 3
Joined: 11 Feb 2011, 15:05
Location: Brasil

how to get atributes in standalone app?

Post 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...
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post 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.
Smartfox's forum is my daily newspaper.
isamil
Posts: 3
Joined: 11 Feb 2011, 15:05
Location: Brasil

this is the best method?

Post 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...
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post 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.
Smartfox's forum is my daily newspaper.
Post Reply