SendAndLoad
Hi,
How can i implement the sendAndLoad concept in as3 for loading an xml from the following url:
"http://www.openinghorizons.com/Test/NavText.cfm"
I have given as follow:
var variables:URLVariables = new URLVariables();
var request:URLRequest = new URLRequest();
//variables.myXML = XML(<test>This is a test</test>);
request.url = "http://www.openinghorizons.com/Test/NavText.cfm";
request.method = URLRequestMethod.POST;
//request.data = variables;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener (Event.COMPLETE, completeHandler);
function completeHandler (event:Event):void
try
var pXml:XML = new XML (event.target.data.myResult);
catch (e:Error)
trace ("XML was not found!");
But its not working
Regards,
Sreelash
You need to call the load() method of the URLLoader.
loader.addEventListener (Event.COMPLETE, completeHandler);
loader.load(request);
then try changing this line
var pXml:XML = new XML (event.target.data.myResult);
to
var pXml:XML = new XML (event.target.data);
then add in a trace statement for the XML instance
trace(pXml.toString());
Doing all the above traces out the XML for me.
Similar Messages
-
Question about the sendAndLoad of LoadVars
Hi all.
I have the following code:
function testSendLoadHttp()
loaderSendAndLoad.sendAndLoad("
http://localhost:9999/",
loaderSendAndLoad,"POST");
function loaderOnLoad(s)
if (s)
Result1.text = this.var2;
else
Result1.text = "Error";
stop ();
loaderSendAndLoad = new LoadVars();
loaderSendAndLoad.var1 = "FlashLite";
testSendLoadHttp();
loaderSendAndLoad.onLoad = loaderOnLoad;
sendLoadHttpsButton.onPress = function ()
testSendLoadHttp();
I'm receiving the var1 in my Symbian server, but i'm not
getting the var2 from the server. What can happen that can cause
the loaderOnLoad to go to the else clause? Because I know that the
server sends something, but it can be sending in the wrong time or
in the wrong way. In the server i'm sending like this:
iSendBuffer.Zero();
_LIT8(HEADER,"HTTP/1.1 200 OK\r\nContent-type:
application/x-www-form-urlencoded\r\nContent-length:
12var2=Symbian\r\n\r\n");
iSendBuffer.Format(HEADER);
iSocket.Write(iSendBuffer, iStatus);Ok...Finally I solved my problem. Solutions:
1. Added Connection: close to the header, because the request
had it
2. I was sending through the wrong socket in the Symbian side
3. In my case it doesn't matter if the Content-type is
text/html or application/x-www-form-urlencoded...it worked with
both.
Thanks for your help. -
SendAndLoad fails in mac .app version - possible security setting problem?
Hi all,
I'm having trouble with sendAndLoad working on the .app version of a flash application I made. So far it's only happening on one computer, so it appears to be some sort of security setting. Here's what's going on:
I've built a flash application (Flash 9, AS2) that has three versions: an online version, a standalone .exe version for PC, and a standalone .app version for mac. The user must log in to use the application. Online, this is handled by the portal hosting the flash. In the standalone versions, the user must login through the flash application. Through sendAndLoad, it accesses the same database of user info as the online version. The user just enters username/password, clicks "Submit," and if it finds the combination in the database, it lets the user in. If not, it gives them a message saying they entered the wrong username/password.
This has tested fine across macs and pcs, but sadly one macbook can't use the .app version. It launches, they put in valid username/password, hit submit and it freezes. All I can tell is that it gets the httpStatus number 0. As you can see below, I've got it set up to spit out an error message if it fails to load (login_lv.onLoad = function(success)), but it doesn't even do that.
I've put a crossdomain.xml file at the root level of the domain that's set to allow access from any domain.
This computer can log in successfully to the online version of the course, but the .app version seems to be hampered by some sort of security setting. The problem computer's settings match the settings of a mac I've tested successfully. It has up-to-date Flash 10 and is running Leopard. Here are security settings:
System Preferences>Security
General
Everything is unchecked
FileVault
Turned off
Firewall
"Allow all incoming connections" is selected
I'd appreciate any ideas anyone has. I'm far from wise about the ins-and-outs of mac security, so I may be missing something. I'm happy to clarify anything.
Code is below. It loads login_lv first, then bookmark_lv. It never gets far enough to load bookmark_lv. The severAppUrl is set to a placeholder for confidentiality's sake. The path is defintely right. It works on other computers.
Thanks!
Mike
// create a LoadVars instance
var login_lv:LoadVars = new LoadVars();
// add the login variables to pass to the server
login_lv.userid = "";
login_lv.pwd = "";
login_lv.modname = "a";
// setup login urls
var serverAppUrl = "http://myurlhere"; //this is just a placeholder. good ol' confidentiality agreements...
var loginUrl = serverAppUrl+"login.asp";
// setup bookmark urls
var bookmarkUrl = serverAppUrl+"menu.asp";
var bookmark_lv:LoadVars = new LoadVars();
// add the bookmark variables to pass to the server
bookmark_lv.studentid = "";
bookmark_lv.isAdmin = "";
bookmark_lv.modname = "A";
_global.modnameTemp = bookmark_lv.modname;
// setup login function
function doLogin() {
login_lv.userid = login_mc.user_txt.value;
login_lv.pwd = login_mc.pwd_txt.value;
login_lv.sendAndLoad(loginUrl,login_lv,"GET");
// send the login info
login_mc.continueBtn_mc.onRelease = function() {
this.enabled = false;
doLogin();
// variables will appear in the login_lv object
login_lv.onLoad = function(success) {
if (success) {
if (this.studentid == undefined) {
login_mc._x = 0;
trace("not logged in");
debug_mc.body_txt.text+="\nnot logged in";
if(this.reas == "Please Complete Overview and first 3 Module(s) with at least 70 score."){
login_mc.loginBad_mc.gotoAndStop("r2");
login_mc.loginBad_mc._visible = true;
} else if(this.reas == "Please Complete Overview Module first."){
login_mc.loginBad_mc.gotoAndStop("r3");
login_mc.loginBad_mc._visible = true;
} else {
login_mc.loginBad_mc._visible = true;
} else {
login_mc._x = 800;
trace("now logged in");
debug_mc.body_txt.text+="\nnow logged in";
trace("studentid: "+this.studentid);
trace("isAdmin: "+this.isAdmin);
//track variables for later use
_global.studentidTemp = this.studentid;
_global.isAdminTemp = this.isAdmin;
bookmark_lv.studentid = ""+this.studentid+"";
bookmark_lv.isAdmin = ""+this.isAdmin+"";
bookmark_lv.sendAndLoad(bookmarkUrl,bookmark_lv,"GET");
}else{
debug_mc.body_txt+="\nlogin load error"
login_lv.onHTTPStatus = function(httpStatus:Number) {
this.httpStatus = httpStatus;
if(httpStatus < 100) {
this.httpStatusType = "flashError";
else if(httpStatus < 200) {
this.httpStatusType = "informational";
else if(httpStatus < 300) {
this.httpStatusType = "successful";
else if(httpStatus < 400) {
this.httpStatusType = "redirection";
else if(httpStatus < 500) {
this.httpStatusType = "clientError";
else if(httpStatus < 600) {
this.httpStatusType = "serverError";
debug_mc.body_txt.text+="\n login_lv HTTPStatus number="+httpStatus+" HTTPStatus type="+this.httpStatusType;
//prepare bookmarkXML to receive returned info from bookmark_lv function
var bookmarkXML = new XML();
bookmarkXML.ignoreWhite = true;
bookmarkXML.onLoad = bookmark_lv;
// variables will appear in the bookmark_lv object
bookmark_lv.onLoad = function(success) {
if (success) {
trace("bookmarked");
debug_mc.body_txt.text+="\nbookmarked";
trace("bookmarkXML: "+bookmarkXML);
var bookmarkNode = mx.xpath.XPathAPI.selectNodeList(this.firstChild, "/bookmark");
trace("bookmarkNode: "+bookmarkNode);
var bookmarker:String = unescape(eval("bookmark_lv"));
trace("bookmarker: "+bookmarker);
bookmarker = bookmarker.split("<xml>").join("");
bookmarker = bookmarker.split("<bookmark").join("");
bookmarker = bookmarker.split("/bookmark>").join("");
bookmarker = bookmarker.split("</xml>").join("");
var startIndex:Number;
var endIndex:Number;
startIndex = bookmarker.indexOf(">");
trace(startIndex);
endIndex = bookmarker.indexOf("<");
trace(endIndex);
var bookFinally:String;
bookFinally = bookmarker.substr(startIndex+1, endIndex-2);
bookFinally = bookFinally.split("<").join("");
setBookmarkStr = ""+bookFinally+"";
trace("string: "+setBookmarkStr);
_global.newBookmark = bookFinally;
play();
}else{
debug_mc.body_txt+="\nbookmark load error"
bookmark_lv.onHTTPStatus = function(httpStatus:Number) {
this.httpStatus = httpStatus;
if(httpStatus < 100) {
this.httpStatusType = "flashError";
else if(httpStatus < 200) {
this.httpStatusType = "informational";
else if(httpStatus < 300) {
this.httpStatusType = "successful";
else if(httpStatus < 400) {
this.httpStatusType = "redirection";
else if(httpStatus < 500) {
this.httpStatusType = "clientError";
else if(httpStatus < 600) {
this.httpStatusType = "serverError";
debug_mc.body_txt.text+="\n bookmark_lv HTTPStatus number="+httpStatus+" HTTPStatus type="+this.httpStatusType;try using different loadvars instances for your send loadvars and for your receive loadvars.
-
For loop in the results of sendAndLoad
i am using a for loop (with an i variable) in the results of
a sendAndLoad. i am trying to attach the i on the end of the
identifier, to get the results, but it's not working. what's wrong
with this line?....
var recordID = serverResponse.recordID(I);
// i had to replace brackets with parentheses so the forum
wouldn't think it was italic markup
each of those variables is undefined. however, if i were to
do this....
var recordID = serverResponse.recordID1;
it works perfectly. how can i use, and attach "i" on the end
to make this for loop work?i'm talking to myself again... ha ha.
var recordID = serverResponse("recordID"+i);
//brackets replaced with parentheses
.... when i want to post a question, i need to wait 10
minutes i think -
Dynamic variables' naming from SendAndLoad
Hello,
Been chasing my tail for almost 2days now, I'm having
problems on how to load dynamically named variables and place it on
dynamically named movieclips. I'm loading variables from php/mysql
query thru sendAndLoad (no problem with that). The loaded variables
are names of swf files that i'm trying to load on dynamically
numbered movieclips. The problem is it just wont load. I've
searched the net for similar codes, but with no luck. I'm guessing
that my error is in getting the exact variable name to load.
Heylp...No problems, you're welcome.
I think the eval should do the same thing as what I had. I
can't remember, I don't tend to use eval in flash - don't really
know why. I think loadMovie also accepts a string argument (which I
assume it 'evals') for a target in which case it may also work
without the eval and just with ,"_root.my_movieclip" + i; (didn't
try it so don't know for sure).
Good luck with it. -
Using Flash's xml.sendAndLoad behind a proxy
We have a product that uses Directory and Flash to collect
data and then we send that data to a web server via a soap call. We
had been using an external perl script to do the soap call for many
years and are wanting to move the code in to Flash or Directory so
we can give the user better feed back about what is happening with
the soap call.
I created som flash scripts that use the XML object and the
sendAndLoad function to do the calls. The problem I am finding is
that if the client is behind a proxy the call fails. Is there a way
to fix this and correctly authenticate with the proxy server so
that the soap call goes through?I don't know how you'd do this using a Flash object, but
Director's
built-in NetLingo xtra can handle SOAP requests as of version
10.1 and
this, in conjunction with the proxyServer() command, should
be all you
need - assuming you have access to proxy details.
<
http://www.adobe.com/devnet/director/articles/webservices.html> -
AS2 Crossdomain.xml and sendAndLoad
I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local... Ugh! I am losing my hair on this one please help asap!!!
Here is the file - click on the second image...
http://www.axonmediagroup.com/adimag...directbuy.html
Here is the code...
on (release) {
if (first_name.text.length == 0) {
error.text = "** First Name Required **";
} else if (last_name.text.length == 0) {
error.text = "** Last Name Required **";
} else if (address1.text.length == 0) {
error.text = "** Address Required **";
} else if (city.text.length == 0) {
error.text = "** City Required **";
} else if (state1.value == "") {
error.text = "** State Required **";
} else if (postal_code.text.length == 0) {
error.text = "** Zip Required **";
} else if (phone_home.text.length == 0) {
error.text = "** Phone Required **";
} else if (email.text.length == 0) {
error.text = "** Email Required **";
} else {
System.security.loadPolicyFile('https://app.leadconduit.com/crossdomain.xml');
var myloadVars:LoadVars = new LoadVars();
myloadVars.RName = 'AxonMedia';
myloadVars.AdReferenceID = '944E5433-F8B5-44FF-8085-E4A1D0D844E9';
myloadVars.ReferenceID = '040E5D57-3A1A-412D-A1F4-B45BD48AE791';
myloadVars.SUBID = 1;
myloadVars.xxNodeId = '050l0tjhd';
myloadVars.xxTest = 'true';
myloadVars.Country = 'USA';
myloadVars.first_name = first_name.text;
myloadVars.last_name = last_name.text;
myloadVars.SpouseName = SpouseName.text;
myloadVars.address1 = address1.text;
myloadVars.city = city.text;
myloadVars.state1 = state1.selectedItem.label;
myloadVars.postal_code = postal_code.text;
myloadVars.phone_home = phone_home.text;
myloadVars.email = email.text;
trace(myloadVars);
myloadVars.sendAndLoad("https://app.leadconduit.com/v2/PostLeadAction?",myloadVars,"POST");
myloadVars.onLoad = function(success:Boolean) {
if (success) {
error.text = "Thank you for contacting us!";
} else {
error.text = "Error connecting to server.";
Here is the code that works via browser...
on (release) {
if (first_name.text.length == 0) {
error.text = "** First Name Required **";
} else if (last_name.text.length == 0) {
error.text = "** Last Name Required **";
} else if (address1.text.length == 0) {
error.text = "** Address Required **";
} else if (city.text.length == 0) {
error.text = "** City Required **";
} else if (state1.value == "") {
error.text = "** State Required **";
} else if (postal_code.text.length == 0) {
error.text = "** Zip Required **";
} else if (phone_home.text.length == 0) {
error.text = "** Phone Required **";
} else if (email.text.length == 0) {
error.text = "** Email Required **";
} else {
System.security.loadPolicyFile('crossdomain.xml');
var RName = 'AxonMedia';
var AdReferenceID = '944E5433-F8B5-44FF-8085-E4A1D0D844E9';
var ReferenceID = '040E5D57-3A1A-412D-A1F4-B45BD48AE791';
var TimeFrame = 0;
var SUBID = 1;
var xxNodeId = '050l0tjha';
var xxTest = 'true';
var Country = 'USA';
var first_name = first_name.text;
var last_name = last_name.text;
var SpouseName = SpouseName.text;
var address1 = address1.text;
var city = city.text;
var state1 = state1.selectedItem.label;
var postal_code = postal_code.text;
var phone_home = phone_home.text;
var email = email.text;
getURL("https://app.leadconduit.com/v2/PostLeadAction?", "_blank", "GET");
error.text = "Thank you for your response!";
}Sounds like the update for Flash 8 may help.
-
Hello, I have a question about the ActionScript 2.0 SendAndLoad
This is my AS2 code:
var send_lv: LoadVars = new LoadVars ();
var load_lv: LoadVars = new LoadVars ();
send_lv.mydata = '{"name": "guest"}'; // ( JSON data)
send_lv.sendAndLoad ("anyURL", load_lv);
However, when I send, "mydata" would be encoded as: "mydata =%7B%22name%22%3A%22guest%22%7D"
How can I keep "mydata" remain {"name": "guest"}?
Note: This problem doesn't happen in ActionScript 3.0
Thank you very muchThank you very much
But this doesn't work
send_lv.mydata={name:"guest"} → [object Object](mydata=%5Bobject%20Object%5D) -
XML via sendAndLoad to coldfusion server
Hello,
I'm working on this test that calls a coldfusion file server
and
delivers a login data.
Then the server validates the information provided and if
true returns a
xml data.
My problem is when using the sendAndLoad vars, on the onLoad
I receive a
xml damaged? or String?.
Something like a query string result, text like "<" and '
" ' are
converted to html text "<" and """.
This is my code:
// LOAD XML
var loadFromServer:XML = new XML ();
loadFromServer.ignoreWhite = true;
loadFromServer.onLoad = function (success:Boolean) {
if (success) {
trace(this)
// traces this:
//<?xml version="1.0"
encoding="iso-8859-1"?>
// insted of this:
// <?xml version="1.0" encoding="iso-8859-1"?>
} else {
trace("error");
// SEND
var sendToServer:LoadVars = new LoadVars ();
sendToServer.USER_ID = username;
sendToServer.USER_PASSWORD = userpassword;
sendToServer.sendAndLoad ("
http://domain/login.cfm",
loadFromServer,
"POST");
Is this a problem from:
Flash?
SendAndLoad with "POST"?
Server side?
Could some one help me please?
ThanksHello,
I'm working on this test that calls a coldfusion file server
and
delivers a login data.
Then the server validates the information provided and if
true returns a
xml data.
My problem is when using the sendAndLoad vars, on the onLoad
I receive a
xml damaged? or String?.
Something like a query string result, text like "<" and '
" ' are
converted to html text "<" and """.
This is my code:
// LOAD XML
var loadFromServer:XML = new XML ();
loadFromServer.ignoreWhite = true;
loadFromServer.onLoad = function (success:Boolean) {
if (success) {
trace(this)
// traces this:
//<?xml version="1.0"
encoding="iso-8859-1"?>
// insted of this:
// <?xml version="1.0" encoding="iso-8859-1"?>
} else {
trace("error");
// SEND
var sendToServer:LoadVars = new LoadVars ();
sendToServer.USER_ID = username;
sendToServer.USER_PASSWORD = userpassword;
sendToServer.sendAndLoad ("
http://domain/login.cfm",
loadFromServer,
"POST");
Is this a problem from:
Flash?
SendAndLoad with "POST"?
Server side?
Could some one help me please?
Thanks -
Xml.send() works but not sendAndLoad()
Hi guys, i'm trying to send data to a servlet ( which is
hosted on a different server and managed by a 3rd party so i can't
change it)
When I use the following code:
requestXML.send ("
http://www.mydomain.com/xmlpost",
"_blank","POST");
it opens a new browser window which displays the xml
response. All good.
But I don't want a new broswer window. I want the flash to
wait and see what the response is. So I use:
requestXML.sendAndLoad ("
http://www.mydomain.com/xmlpost",
myLoginReply_xml,"POST");
var myLoginReply_xml : XML = new XML ();
myLoginReply_xml.contentType = "text/xml";
myLoginReply_xml.ignoreWhite = true;
myLoginReply_xml.onLoad = myOnLoad;
function myOnLoad(success:Boolean) {
if (success)
getURL ("javascript:alert('" + myLoginReply_xml + "')")
} else
getURL ("javascript:alert('FAIL!')")
And nothing happens.
Is there any difference between send and sendAndLoad why it
wouldn't work? Different security parameters, different dtat
format, anything?
Thanks!Well that didn't do it. Further investigation brought the
following facts:
If i test from the flash environment, Flash doesn't ask for a
crossdomain.xml and the request is made ( i get an entry in the
database) and the response sent, but Flash doesn't pick anything up
and the reply XML.onLoad event never fires.
If I test from a dev server, flash looks for the
crossdomain.xml file, but even though it finds it and the servers
are allowed to communicate, the request never gets sent (no entry
in the database)
Arrrrgg I'm pulling my hair over this!
Anyone able to help ?
Thanks. -
I have a simple sendAndLoad XML request that works perfectly
on 95% of the computers I have used. I have check crosssite stuff
and everything i can think of. Its not browser specific ,os
specific, or flash version specific. On these computers I can run
the same flash file on a standalone player and everything works
flawlessly but inside of any browser it makes the request for the
XML file and stops right there. After a while like 10 minutes flash
gets tired of waiting and returns not found. I can navigate to the
xml file via the same browser. Upgrading Flash doesn't help. The
only thing consistent is it only happens to windows computers. The
requested URL is the complete URL. I have changed this and still
the same. IE or Firefox still the same. Version 9 player in both. I
have montiored network traffic and see the request made and maybe a
response but flash has moved.
Any Help would be appreciated.ANSWER: I figured it out myself. I am just replying to let
everybody else know how I fixed it. I had the full URL in the load
request and apparently some Flash players don't like this. I put a
link to the file without the domain name and everybody is working
fine. The load function, Flash, or something could not resolve the
domian correctly and could not find the XML file. I was not getting
a request for the file from the Flash movie so I knew it had to be
soemthing in Flash. -
Hi all,
I have a little flash application(cs4) to read xml files and to display the contents. xml files are being read using LoadVars::sendAndLoad() over http. It works fine unless I have an accented characater in the url. For example:
http://localhost/rss/news.xml - works fine where as
http://localhost/rss/News_português.xml won't work.
Anybody ever faced this issue ? Any idea how to get around the problem ?
I appreciate your help.
Thanks
FaisalThanks, I tried URLLoader like you have advised, I am getting the following error messages:
1- The class or interface 'flash.net.URLRequest' could not be loaded
2- The class or interface 'flash.net.URLLoader' could not be loaded
I am using the first example in this url:
http://help.adobe.com/en_US/OSMF/1.0/AS3LR/flash/net/URLLoader.html
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.xml.*;
import flash.events.IOErrorEvent;
class includes.clsUserFeeds extends MovieClip
public function ReadChannel(strFeed, bCheck)
var request1:URLRequest = new URLRequest(strFeed);
loader = new URLLoader();
try
loader.load(request1);
catch (error:SecurityError)
trace("A SecurityError has occurred.");
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
loader.addEventListener(Event.COMPLETE, loaderCompleteHandler);
xmlTextField.x = 10;
xmlTextField.y = 10;
xmlTextField.background = true;
xmlTextField.autoSize = TextFieldAutoSize.LEFT;
addChild(xmlTextField);
private function loaderCompleteHandler(event:Event):void {
try {
externalXML = new XML(loader.data);
readNodes(externalXML);
} catch (e:TypeError) {
trace("Could not parse the XML file.");
private function readNodes(node:XML):void {
for each (var element:XML in node.elements())
trace(element.attributes()[0] + "\n");
readNodes(element);
private function errorHandler(e:IOErrorEvent):void {
trace("Had problem loading the XML File.");
Do I have to do anything specifically in project settings to use actionscript 3 ? -
SendAndLoad() success only through local html page
Hello
I found similar issues in previous posts, but not this one. I publish a Flash CS3 .swf file,creating the html page and the javascript file too. If I click the html page locally, the sendAndLoad POST will succeed. If I upload the 3 files to the server, the sendAndLoad will fail. If I delete "AndLoad," the Send function will succeed. Url is fully qualified. I think I made a change in a configuration in Flash, because previous packages of this same file worked. Any ideas?
Thank youThank you!
I worked on this half the day. I am still unable to go out a couple of directories with ../../ but not a big problem. -
SendandLoad() vs https
hi
I have developed an gaming web application, I load a swf in
jsp page which makes a xml.sendandLoad() request after loading.
i use struts and jboss , from the swf using sendandLoad() a
request is make to server and in response it gets an xml
its working perfectly when its HTTP but when it comes to
HTTPS the request is hitting the server but the response is not
coming the SWF is going on wainting for the response.
my server side code i generating an xml and setting it in the
printWriter of the response.
I even tried crossdomain.xml for the security policy it is
not working .
iam stuck up please help me to resolve this issue.Here's something that might help you:
http://www.northcode.com/forums/showthread.php?s=&threadid=3803
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
*Must Read*
http://www.smithmediafusion.com/blog
"arovinth" <[email protected]> wrote in
message
news:erhrg0$fm6$[email protected]..
> hi
> I have developed an gaming web application, I load a swf
in jsp page which
> makes a xml.sendandLoad() request after loading.
>
> i use struts and jboss , from the swf using
sendandLoad() a request is
> make to
> server and in response it gets an xml
>
> its working perfectly when its HTTP but when it comes to
HTTPS the request
> is
> hitting the server but the response is not coming the
SWF is going on
> wainting
> for the response.
>
> my server side code i generating an xml and setting it
in the printWriter
> of
> the response.
>
> I even tried crossdomain.xml for the security policy it
is not working .
>
> iam stuck up please help me to resolve this issue.
>
>
> -
hi
I have developed an gaming web application, I load a swf in
jsp page which makes a xml.sendandLoad() request after loading.
i use struts and jboss , from the swf using sendandLoad() a
request is make to server and in response it gets an xml
its working perfectly when its HTTP but when it comes to
HTTPS the request is hitting the server but the response is not
coming the SWF is going on wainting for the response.
my server side code i generating an xml and setting it in the
printWriter of the response.
I even tried crossdomain.xml for the security policy it is
not working .
iam stuck up please help me to resolve this issue.Here's something that might help you:
http://www.northcode.com/forums/showthread.php?s=&threadid=3803
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
*Must Read*
http://www.smithmediafusion.com/blog
"arovinth" <[email protected]> wrote in
message
news:erhrg0$fm6$[email protected]..
> hi
> I have developed an gaming web application, I load a swf
in jsp page which
> makes a xml.sendandLoad() request after loading.
>
> i use struts and jboss , from the swf using
sendandLoad() a request is
> make to
> server and in response it gets an xml
>
> its working perfectly when its HTTP but when it comes to
HTTPS the request
> is
> hitting the server but the response is not coming the
SWF is going on
> wainting
> for the response.
>
> my server side code i generating an xml and setting it
in the printWriter
> of
> the response.
>
> I even tried crossdomain.xml for the security policy it
is not working .
>
> iam stuck up please help me to resolve this issue.
>
>
>
Maybe you are looking for
-
I was able to sync my iPod classic to iTunes no problem. I have not updated my phone in a very long time untilo yesterday. I also have not synced/backed it up since March. I followed the instructions here: http://support.apple.com/kb/ts1538 iTunes
-
Seriously. Just a calendar, that's all I want.
Hi. First time question-asker here. OK, so, I made the utterly regrettable decision to upgrade to Mavericks (looks like I'm a year late to join in that chorus) when nothing was wrong with the last 10 OS's, and then everything got messed up. Yadda yad
-
I have 2 Mac laptops, a Wacom tablet, extenal keyboard
I have a Mac iBook G4 with phothsop CS2 installed and a MacBook Pro with with the external keyboard and Wacom tablet. (Wacom drivers no longer work on G4). Is it possible to use theh photoshop software on the MacBook Pro if both computers are connect
-
Jdeveloper studying materials Launching.
to get sample files, email [email protected] the stuff that you want may not be listed here, please direct to check more at http://communities.msn.com/ShuSystem&naventryid=107 Contents: sybex ocp books ,free ocp exams oracle9i dba, new features,sqlJ,
-
How do i get the time to stopping coming on and off on my black screen. is that daydream
how do i get the time to stop coming on and off on my black screen. is that daydrea