Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: ASP interaction with Flash.


Message #1 by "Igor" <tristanice@h...> on Sat, 21 Sep 2002 11:36:14
I wanna write chat with Flash, how do I send and get data from ASP.
Can I get may be some tips. Thanks a lot.
Message #2 by Nikos <pappas@c...> on Sat, 21 Sep 2002 18:29:21 +0300
There is a way in flash to load variables from an asp file

in the asp
dim sqls

sqls = "lname=something&fname=somethingelse"

response.write sqls

in flash
use a frame or whatever action

loadVariables ( "my_asp.asp", "" );
if it is not in the same dir with your flash use the whole url


now you have in your flash var1 and var2 values


hope it helps
Regards
Nikos

At 14:36 21/09/2002, you wrote:
>I wanna write chat with Flash, how do I send and get data from ASP.
>Can I get may be some tips. Thanks a lot.
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20


Message #3 by Nikos <pappas@c...> on Sat, 21 Sep 2002 18:40:35 +0300
Sorry if too much in a harry
now you have in your flash lname and fname variables with values something 
and somethingelse

At 18:29 21/09/2002, you wrote:
>There is a way in flash to load variables from an asp file
>
>in the asp
>dim sqls
>
>sqls = "lname=something&fname=somethingelse"
>
>response.write sqls
>
>in flash
>use a frame or whatever action
>
>loadVariables ( "my_asp.asp", "" );
>if it is not in the same dir with your flash use the whole url
>
>
>now you have in your flash var1 and var2 values
>
>
>hope it helps
>Regards
>Nikos
>
>At 14:36 21/09/2002, you wrote:
>>I wanna write chat with Flash, how do I send and get data from ASP.
>>Can I get may be some tips. Thanks a lot.
>>
>>---
>>
>>Improve your web design skills with these new books from Glasshaus.
>>
>>Usable Web Menus
>>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>>r-20
>>Constructing Accessible Web Sites
>>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>>r-20
>>Practical JavaScript for the Usable Web
>>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>>r-20
>
>
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 
>


Message #4 by "Igor" <tristanice@h...> on Thu, 26 Sep 2002 08:45:55
Thank you for your answer. I have there 
another answer. Can I load the XML file into 
flash and work with it, but without help of 
ASP?
Message #5 by "Josh Millstein" <shizny@y...> on Fri, 27 Sep 2002 16:24:44
myDoc = new XML;
myDoc.load("myXmlFile.xml");

That's how you load straight xml without asp

> Thank you for your answer. I have there 
a> nother answer. Can I load the XML file into 
f> lash and work with it, but without help of 
A> SP?

Message #6 by "Igor" <tristanice@h...> on Sat, 28 Sep 2002 13:34:41
I do that, but every time it fails. Why that?
I am going crazy, I am doing everything like 
the help says, but it never succeeds.

  Return to Index