Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / November 2006



Tip: Looking for answers? Try searching our database.

loadVars problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
udikeren - 30 Oct 2006 00:26 GMT
i want to load a small piece of data (like a phone number) from my swf to an
external server where my site reside.
i try all the "send" possibilities - it does not work.
can someone give me a simple scripts both for the swf and for the server.
what kind of file should be in the server side ? asp or another ?
ahould it be located in the same place of the swf?
please help
cside - 31 Oct 2006 18:17 GMT
//
outgoingData  = new LoadVars();
//
outgoingData.firstName = "Fred";
//
outgoingData.send("formCatcher.aspx","_self","POST");
//

This actionscript will post the variable "firstName" to "formCatcher.aspx"
just like an html form would.

You can send data anywhere BUT you can only read it from your domain (same
folder or subfolders).  If you need to get data from another domain, you have
to use serverside scripting to move the data (including xml).  Flash isn't
allowed to read data from other domains.
flashandee - 07 Nov 2006 13:50 GMT
you could use the crossdomain.xml in your root folder for your domain to load
variables to a different server - or reference crossdomain.xml in your flash
file and position the file anywhere on your server.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.