Questions tagged [urlrequest]
247 questions
0
votes
2 answers
How to check a timeout occurred in ios url connection?
I have used URLRequest to fetch a html file from a pc in my wifi network.
My app fetches a html file from my fileserver and the filename is a number which is typed in the app. Also I have given a 20 seconds timeout for the request. How can I detect…

Shemil Hashan
- 67
- 1
- 2
- 12
0
votes
4 answers
AS3 URLRequest in for Loop problem
I read some data from a xml file, everything works great besides urls. I can't figure what's the problem with the "navigateURL" function or with the eventListener... on which square I click it opens the last url from the xml file
for(var i:Number =…

Adrian
- 997
- 2
- 9
- 13
0
votes
1 answer
How to Update Node Value into Existing XML file Using Flash AS3
I have a Xml File having the values, I am using Flash AIR application with Action Script3,
John
102
25
70
For read the xml file I used the
var xmlLoader:URLLoader =…

Vineesh TP
- 7,755
- 12
- 66
- 130
0
votes
1 answer
AS3: How to use array element as URLRequest parameter?
First I use URLRequest to read a txt file contain multiple lines of String
var urlRequest:URLRequest = new URLRequest("listOfJsonFile.txt");
and I had created a array
private var listOfJson:Array = new Array();
Then I split each string into…

Martin Chan
- 5
- 2
0
votes
0 answers
Adobe Air URLRequest HTTPS not working
I am working on an Adobe Air product that fetches data from the web using air.URLRequest, from both HTTP and HTTPS sites. It is working absolutely fine on most computers, but there are a few people for which it is stalling when it has to fetch from…

Alexandru Contes
- 99
- 2
- 9
0
votes
2 answers
Is it possible to get a reference to the vanity URL used after redirection?
I have a page http://localhost:4502/content/project/en/mypage.html and it has couple of vanity URLs set as
/content/project/vanity-1
/content/project/vanity-2
So any request from the above two vanity URLs are being redirected to /mypage.html.
Is…

stdio.h
- 126
- 3
- 15
0
votes
1 answer
Using kivy urlrequest behind a proxy
I just want to use the kivy urlrequest behind a proxy, but it seems that doesn't care of my environment variables. Is there any way to use it?
Thank you

Andres Garcia
- 3
- 1
0
votes
1 answer
AS3 URLRequest XSS?
Im basically working on an image analyser that downloads images from another server. I have no control over the server but I only want to scan images not html pages.
would something like this work?
new…

Ozzy
- 10,285
- 26
- 94
- 138
0
votes
0 answers
GET PHP Variables in Actionscript 3
I have trawled the web and used multiple examples but not getting anywhere at all!
I want to URLRequest (LOAD) a PHP file with the get parameters that look like this "q1a=test"
Current script gives me an UNDEFINED error:
var request:URLRequest=new…

Peter Bennett
- 184
- 1
- 2
- 15
0
votes
1 answer
as3 AIR URLRequest on mobile gets stuck (try or catch?)
I have a URLRequest loading on a mobible device. If the internet is spotty it stops. Most of the time it works but sometimes it gets stuck on a certain percentage. Is there a way to see if the loading has stopped and have it "retry" after 3 seconds…

Papa De Beau
- 3,744
- 18
- 79
- 137
0
votes
0 answers
Why in URLRequest use "setValue: forHTTPHeaderField:"
I use GET/POST request in app, and in some example i see:
[URLRequest setValue:@"application/json" forHTTPHeaderField:@"Accept"];
[URLRequest setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
Can you explain the significance…

biloshkurskyi.ss
- 1,358
- 3
- 15
- 34
0
votes
1 answer
as3 URL request - retry url request
I'm creating retry mechanism for URL request.
I would like to send the request again if i didn't get ant answer after 10 seconds.
The problem is how to deal with respone for the previous request in case it recieved after more than 10 seconds?

Ligal
- 5
- 1
0
votes
1 answer
Code response 302 when trying to read HTML file from a URL
I'm trying to get the html document out of the following URL:
http://search.lib.monash.edu/primo_library/libweb/action/search.do?vl%28freeText0%29=java&vid=MON&fn=search
The problem is that I'm getting 302 response code! I'm not familiar with the…

user3421917
- 1
- 3
0
votes
2 answers
event.bytesTotal returning 0 in ProgressEvent.PROGRESS
I am getting the result for event.bytesTotal = 0 in some of the mp3 file when i am loading it from ftp server.But
when loading the same file from local server, the call to event.bytesTotal is working well - giving the expected result.
Here is my…

Kaif
- 131
- 1
- 12
0
votes
1 answer
AS3 URLRequest not working in browser
My URL request is working perfectly in Flash Pro, but when I test it in the Browser, the image doesn't work at all. It doesn't load. Is there a Publish Setting I need to be using or something?
Please help, it's pretty frustrating. Here's what it…

user3255395
- 1
- 1