Questions tagged [filereference]

A file reference is an object that allows programs to refer to files on a file system, and operate on them. Browser-based applications (e.g. JavaScript and ActionScript) need them to save and upload files to / from the user's file system because all file system interaction is policed by the browser itself.

A file reference is an object available in most programming languages' libraries.

In ActionScript, file upload and download must be done through the FileReference class, and the Flash Player has to channel those requests to the hosting browser.

172 questions
0
votes
1 answer

Referencing all files in a folder and its subfolders of a certain type

In a .bat file I'm executing a compiler with the line cl -GL -Od -Zi but I don't know how to reference all .c and .h files in that manner. I was thinking */.c and */.h, but both of those are invalid arguments. Is there…
SSEMember
  • 2,103
  • 4
  • 20
  • 28
0
votes
2 answers

why call flash function from javascript work but FileReference don't work in flash?

I need call flash function from javascript. I use flash.external and addCallback to do this. all things work well but when I use FileReference in my flash, function did not open my browser ... please see below describtion: I call my function in…
Reza Amya
  • 89
  • 1
  • 10
0
votes
1 answer

TypeError: Error #1006: encode is not a function

I keep getting this error and it is driving me crazy. This is the first time I've tried to export a Flash MovieClip into a downloadable *.PNG file. I followed a guide online and implemented Adobe's PNGEncoder.as "image". Guide:…
0
votes
1 answer

fileReference browse from js, simulate keypress in flash workaround

I am trying to call fileReference.browse from outside the flash SWF, i read some articles that said normally it's imposible due to Flash 10 security stuff.. so i was wondering isnt it posible to send a command from js to flash which will simulate a…
Pacuraru Daniel
  • 1,207
  • 9
  • 30
  • 56
0
votes
1 answer

jquery send file to as3 fileReference

i am trying to do a simple flash file uploader. I created a flash SWF which manages to upload the file on the server and a php which saves it there. The thing i want to accomplish right now is to have this flash somewhere hidden and access it via…
Pacuraru Daniel
  • 1,207
  • 9
  • 30
  • 56
0
votes
1 answer

Grab the server's return value after uploading a file in Flash

After uploading a file to a web server using ActionScript 2.0's FileReference class, how do I retrieve the server's response?
user47322
-2
votes
1 answer

angular project -> apache - css file not in /dist

First, I've "solved" this by editing the index.html and manually copying the appropriate file over. But the way angular/node seems to work is really confusing to me, so I'm asking this to determine if I did something wrong or if there is something…
ivanivan
  • 2,155
  • 2
  • 10
  • 11
1 2 3
11
12