HTTP request from actionscript extension

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

Moderators: Lapo, Bax

p3dro.sola
Posts: 25
Joined: 22 Dec 2009, 17:00

HTTP request from actionscript extension

Postby p3dro.sola » 03 Jun 2010, 05:30

I'm trying to call a url from an actionscript SSE.

If i could use loadVars that would be great, or something like

Code: Select all

system_cmd( "wget http://theurl.com " )


any ideas?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 03 Jun 2010, 07:22

LoadVars is supported in server side Actionscript.
Check the docs:
http://smartfoxserver.com/docs/docPages ... /index.htm
(Under "Other Classes" in the left menu)

And there's also an example under {sfs-install-dir}/Server/sfsExtensions/loadVarTest.as
Lapo
--
gotoAndPlay()
...addicted to flash games
p3dro.sola
Posts: 25
Joined: 22 Dec 2009, 17:00

Thanks

Postby p3dro.sola » 03 Jun 2010, 08:29

Lapo wrote:LoadVars is supported in server side Actionscript.
Check the docs:
http://smartfoxserver.com/docs/docPages ... /index.htm
(Under "Other Classes" in the left menu)

And there's also an example under {sfs-install-dir}/Server/sfsExtensions/loadVarTest.as


Thanks Lapo. I had checked the docs, must have missed it.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 19 guests