Questions tagged [urlrequest]

247 questions
0
votes
1 answer

AS3 - URLRequest not working

My flash SWF needs to load "photo.jpg" using URLRequest but in vain. Heres how I am doing it imLoader = new Loader(); imLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded); imLoader.load(new URLRequest("photo.jpg")); The SWF and…
sanchitkhanna26
  • 2,143
  • 8
  • 28
  • 42
0
votes
2 answers

AS3 URLRequest, add a string to a variable and go to that new URL?

This is driving me crazy right now! var url gets defined longer up. url = url + ".jpg"; var fileRequest:URLRequest = new URLRequest(url); That's doesn't work for some reason... the ".jpg" doesnt get added. BUT, if I try to do this: url = ".jpg" +…
user1941346
  • 73
  • 1
  • 1
  • 5
0
votes
1 answer

url request not working properly - video does not stop as3

I created an information kiosk on flash but I got a problem that is really annoying on loading my contents externally. I have exported all of my swf files and created a unique swf to load everything on it with the main menu on top. The main problem…
Al K
  • 141
  • 2
  • 11
0
votes
2 answers

AS3 Flash URLRequest not working upon export

This simple login form works within the test environment of CS6 (Flash 11.4) but upon exporting does not work. I've narrowed down the issue to the actual URLRequest not working properly. Hopefully somebody can shed some light! Many thanks, Nick…
Nick Price
  • 486
  • 1
  • 10
  • 25
0
votes
1 answer

AS3 URLRequest Local File on multiple OS/Browsers

Greatings! I have yet another question concerning the loading of a .swf inside a existing one. In my game. I have a introduction screen in which I load another .swf (which is a movie). This all works fine and the URLRequest is this: request = new…
Matti Groot
  • 41
  • 10
0
votes
2 answers

Loading form input values from web pages into URLRequest?

How would I pull out the form values for the html source below and add them to an NSURLConnection?
Jordan
  • 21,746
  • 10
  • 51
  • 63
0
votes
1 answer

encoded url: %9A showing up as ?-diamond ... how to get browser to correctly interpret %9A

I am generating a url (for facebook dialog) from flash: var lvs_url = "http://www.facebook.com/dialog/feed?app_id=208524139202627&name=š…
dsdsdsdsd
  • 2,880
  • 6
  • 41
  • 56
0
votes
1 answer

How to get file (with japanese file name) from server using URLLoader and URLRequest in AS3

I've used URLLoader and URLRequest to get a file with japanese file name from server. However I got IO error that file is not existing (I double checked that file is existing on server and I can get other files with Latin name). Below is my…
Han La
  • 1
-1
votes
2 answers

AttributeError: 'tuple' object has no attribute 'content'

I am connecting to the API that returns a JSON object with several pieces of data and use that data to build an html page. I am having trouble with downloading a local copy of the image using python and including the image tag linking to the image.…
krappold
  • 17
  • 1
  • 7
-1
votes
1 answer

Unwrapped URLRequest is always nil

I'm trying to detect clicks on links in a WKWebView and load the corresponding URLs in another WKWebView. I'm able to get the URL of the click and create a URL request but loading the URLRequest always fails with the same error: Fatal error:…
-1
votes
1 answer

Both if statements and the else printing out, however, none of it is getting the url database

This program is a console application that displays an Application Title and the Menu Options for the user, displays a list of recipe categories (i.e. Beef, Chicken, Vegan, Side, Desert, etc.), displays a list of meals based on a user selected…
-1
votes
1 answer

URL request: How to set reserved headers?

I 'm creating URLRequest with "Authorization" header and it works fine with most of app users but recently I faced that some users cannot make the requst. apple says that "Certain header fields are reserved (see Reserved HTTP Headers). Do not use…
MAHMOUD OMARA
  • 85
  • 1
  • 6
-1
votes
1 answer

URL is nil or percentage encoded

I have this URL https://apps.apple.com/developer/john-doe/id32123123#see-all/mac-apps I do this let path = "https://apps.apple.com/developer/john-doe/id32123123#see-all/mac-apps" let url = URL(string: path!) the resulting url is nil. I do…
Duck
  • 34,902
  • 47
  • 248
  • 470
-1
votes
1 answer

the code is not entering the completion handler of the data task

The completion handler code is not getting executed. while i debug the code its coming till the session.datatask and after that its not getting into the completion handler. we are actually migrating this project from objectivec to swift. i am not…
-1
votes
2 answers

URLRequestHeader problem in actionscript

I will use the URLRequest to upload the modified image in Flex. It works fine. However, I need to add Content-Length as a URLRequestHeader for the moment, and I get error 2096. Then, I know that this header is not allowed. How can I solve this…
michael
  • 1,160
  • 7
  • 19
1 2 3
16
17