Help me fix errors loading a xml file trying to pass a username from SharedObject
- or -
Post a project like this4038
$30
- Posted:
- Proposals: 2
- Remote
- #228722
- Awarded
Description
Experience Level: Entry
Im loading a dynamically named xml file and Im trying to pass a user name stored in a SharedObject that = putusername.text into a string to complete the url.
var galleryLoader:LoaderMax;
var url = "https:/www.mysite.com/";
var putusername = putusername.text;
var queue:XMLLoader = new XMLLoader(String(url)+(putusername)+"_myfile.xml",{name:"xmlDoc",
maxConnections:1,
estimatedBytes:5000,
onComplete:xmlCompleteHandler
});
queue.load();
Here is the Error:
Error on XMLLoader 'xmlDoc' (http://www.mysite.com/_myfile.xml): Error #2032: Stream Error. URL: http://www.mysite.com/_myfile.xml
Help me fix the error please
var galleryLoader:LoaderMax;
var url = "https:/www.mysite.com/";
var putusername = putusername.text;
var queue:XMLLoader = new XMLLoader(String(url)+(putusername)+"_myfile.xml",{name:"xmlDoc",
maxConnections:1,
estimatedBytes:5000,
onComplete:xmlCompleteHandler
});
queue.load();
Here is the Error:
Error on XMLLoader 'xmlDoc' (http://www.mysite.com/_myfile.xml): Error #2032: Stream Error. URL: http://www.mysite.com/_myfile.xml
Help me fix the error please
David C.
100% (7)Projects Completed
10
Freelancers worked with
9
Projects awarded
57%
Last project
14 Feb 2014
Canada
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies