Questions tagged [urlloader]

223 questions
4
votes
0 answers

SoundCloud POST Comment Not Authorized

[UPDATE] Problem fixed. Working code and method updated below! So, I am trying to post a comment to a SoundCloud track using the SoundCloud api in AS3. The documentation can be found here: http://developers.soundcloud.com/docs/#comments And my code…
3
votes
6 answers

AS3 Upload speed test

I'm making an speedtest on AS3. And got such a problem. I'm using URLLoader( ) in my test, and for download test it work very good, but for uploading test i got some troubles. I'm sending some binary data to my php-script, and checking the…
Den
  • 601
  • 3
  • 10
3
votes
1 answer

Adobe AIR Flex/Actionscript URLLoader vs HTTPService (Async tokens and Windows proxy settings)

I'll try and keep this short. I've written an AIR app that uses an HTTPService to request various bits of data. There can be multiple services firing at once, so I use the standard AsyncToken behaviour to set variables that can later be used to…
Marc
  • 104
  • 1
  • 10
3
votes
3 answers

Flash/AS3 - is there a limit to the number of simultaneous URLLoader.load() requests?

All, I'm working on an Flash/AS3 project that makes numerous URLLoader.load() requests. Should I queue them so that there's only a single open request at any time? Or, is it a good practice to allow multiple open requests? Is there a limit to the…
mattstuehler
  • 9,040
  • 18
  • 78
  • 108
3
votes
0 answers

Webpack css loader and url loader not finding image

If I use file loader things work just fine however we would not like to use file loader. Here is the problem: Css/Sass Rule: test: [/\.scss$/, /\.sass$/], use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: [ { …
allencoded
  • 7,015
  • 17
  • 72
  • 126
3
votes
1 answer

Can I send more than one 'stream' of jpeg ByteArray data in a single URLRequest and output 2 images? Flash AS3 -> PHP

I have an AS3 swf which users can upload jpg images to my EC2 instances which sit behind and Elastic Load Balancer. The jpg images are converted into bytearray data and sent using URLLoader.load(URLRequest) I make 2 calls when uploading, one to…
undefined
  • 5,190
  • 11
  • 56
  • 90
3
votes
1 answer

Why does module parse failed: /xxx/MyFont.ttf Unexpected character ''

I encountered this error ERROR in ./src/style/MyFont.ttf Module parse failed: /xxx/MyFont.ttf Unexpected character '' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file)` when I…
Blake
  • 7,367
  • 19
  • 54
  • 80
3
votes
1 answer

Webpack file-loader and images in CSS

I'm using images in my stylesheet (less) fine by doing: .foo { background: url('../images/foo.png') } When using HMR they're base64 encoded into the stylesheet which I'm fine about. However when compiling for production I want the images not to be…
DEfusion
  • 5,533
  • 5
  • 44
  • 60
3
votes
0 answers

Webpack url-loader path issue

The url-loader is able to publish the images in appropriate directory as specified however, the image path specified in the bundled js file is incorrect. Webpack.config.js /* Custom Config */ var ProgramID = '2999'; /* Default Config */ var webpack…
Rahul Dagli
  • 4,301
  • 15
  • 47
  • 85
3
votes
0 answers

webpack url-loader copied image can not open

In main.jsx ,image haven been compiled to base64 dataurl, and copied in bundle file(f67531eee03d5b3f45d6d010c1a2ce13.png) but can't open by both browser and webstorm , show format error as below. enter image description here main.jsx import React…
gowa
  • 47
  • 3
3
votes
1 answer

What is the difference between URLLoader and URLRequest in Actionscript?

What is the difference between URLLoader and URLRequest in Actionscript?
Heckflosse_230
  • 461
  • 2
  • 9
  • 18
3
votes
0 answers

AS3 URLLoader for HTTPS links not working

I'm trying to get the page source of a url, like https://plus.google.com/+odesk I'm getting following error: Error #2032: Stream Error. URL: https://plus.google.com/+odesk Here is my code I'm using: private var loader:URLLoader = new…
waghekapil
  • 321
  • 1
  • 5
  • 22
3
votes
2 answers

Actionscript 3: Memory Leak in Server Polling Presentation App

I'm building a remote presentation tool in AS3. In a nutshell, one user (the presenter) has access to a "table of contents" HTML page with links for each slide in the presentation, and an arbitrary number of viewers can watch the presentation on…
justinbach
  • 1,945
  • 26
  • 44
3
votes
1 answer

How to access AS3 URLLoader return data on IOErrorEvent

I'm writing an actionscript library for an api. I use a URLLoader object to load data from the api. The problem I'm having is that whenever the api returns an http status in the 400s, actionscript treats this as an io error. This is all find and…
Ryan
3
votes
1 answer

How does URLLoader deal with cookies?

I'm using AS3 in Adobe AIR for desktop, not in a browser, I'm not sure if that makes a difference in this situation. I'm sending requests to an API using URLLoader. Each request that I send is coming from a new URLLoader instance. I thought that I…
Drahcir
  • 11,772
  • 24
  • 86
  • 128
1 2
3
14 15