Questions tagged [urlrequest]

247 questions
2
votes
3 answers

AS3 won't send POST data to browser - wrong URLRequestHeader content type?

I have the following code in my AS3 Flash code that takes a screenshot within the swf using JPGEncoder and sends it to the url where i write it to a file in PHP. I did run into the Google Chrome Pepperflash issue recently where the function just…
odd_duck
  • 3,941
  • 7
  • 43
  • 85
2
votes
2 answers

Combining URLRequest, URLLoader and Complete Event Listener In Actionscript 3.0?

when handling data, i always have to write the following: var dataSourceRequest:URLRequest = new URLRequest("/path/file.xml"); var dataSourceLoader:URLLoader = new URLLoader(dataSourceRequest); dataSourceLoader.addEventListener(Event.COMPLETE,…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
2
votes
1 answer

AS3 AIR 3.5 for Android sending POST data in URLRequest

I'm trying to POST data to an external URL in my AIR for Android app to log in users. It works in the Flash Debugger on my pc, but does not work on my Android device. I have the Internet Permission set for my app. I have listeners set up for…
2
votes
1 answer

AS3: Multiple "get" URLRequests not working

I'm trying to read data from a server by using a GET URLRequest with a URLLoader, and it does work. The problem is, it only works once. public class Settings { private static var request:URLRequest; private static var loader:URLLoader; …
AndrewFerr
  • 23
  • 3
2
votes
0 answers

Issues in specifying tracks while updating a playlist on soundcloud

I am using Soundcloud AS3 library to build an application. I am able to create/get-all playlists for a user. But while updating an existing playlist, I don't understand the syntax by which I can specify the IDs of the tracks to put in that playlist.…
user1316506
1
vote
1 answer

How can I make sure a urlRequest is successful in as3

I have a Flash program that needs to make url requests to send data to the server at various times. I want Flash to keep trying the request until it is successful. How do I make sure Flash keeps trying the request and doesn't time out and quit…
Boundless
  • 2,444
  • 2
  • 25
  • 40
1
vote
1 answer

How to Load an External Flex mxml file into a parent Flex mxml file?

[This will take you to an image of my project so that you may see the code because I haven't been a member long enough to post one. :]1 This is a project I'm working on for a simple demo tutorial application in Flex. I am using mxml pages. You can…
GuateCoder
  • 13
  • 4
1
vote
1 answer

ActionScript Get All Network Activity?

Is there a way within ActionScript 3.0 to: Get all URLRequests() that are made within the application? Get all RTMP:// connections to a Flash Media server? Since my application contains SWC files which were compiled by another developer, I cannot…
Oliver Spryn
  • 16,871
  • 33
  • 101
  • 195
1
vote
1 answer

Flex mobile request to time.nist.gov

How do I access the time provided by internet time services like time.nist.gov from within my Flex mobile application? Is there a way to do this via URLRequest or HTTPService? Alright, here is the call to the Yahoo WebServices with a simple…
AlBirdie
  • 2,071
  • 1
  • 25
  • 45
1
vote
1 answer

SwiftUI: URL Request over specific browser

I want to retrieve a json from an intranet from outside the intranet in an iPad app. I have a VPN connection configured for this, but it only runs through the VMWare web browser. Safari uses the normal connection. Is it possible, similar to the…
larud
  • 13
  • 2
1
vote
1 answer

Python/Kivy 2.1.0: how to access body of URL request

Hope you all doing fine. I am new here and hopefully you might help me. Developing my first Python mobile app right now and using Kivy 2.1.0 for this. Unfortunately I am blocked in Kivy which seems to be too easy in pure Python development. My…
1
vote
0 answers

iOS - Duplicate GET request are sent when switching to background

When switching my app to background / home screen and HTTP GET requests are firing, in some rare cases i can see that the server gets 2 identical request with the same oauth signature and throws an 401 error. I Create an oauth1 GET request using…
1
vote
1 answer

SwiftUI: Uploading photo to reqres server results in 520 response

I am trying to upload a photo to reqres to test URL request function. Following a tutorial, I was able to test uploading a json file. And there was no problem with it. But when I am trying to upload photo in a similar way, I am not getting a good…
1
vote
1 answer

pulling images from multiple urls

I want to download images from differenturls (in the csv file) every second. I can download the images. However, my code over writes the images after every second. How do I write them with different names each time so that it does not overwrite the…
nikki
  • 365
  • 4
  • 20
1
vote
2 answers

URLRequest in Swift5

I'm using the OpenWeather Current Weather Data Api, and trying to make a url request to get json data from the api in Swift5. I need to print the json data. Here is some code I found on the internet that I have been trying to use, but has not been…