Uploader with out a server for UI testing... solved!

Eli Cochran eli at media.berkeley.edu
Thu Apr 17 18:14:09 UTC 2008


As some of you may know I've been looking for a way to run the Fluid  
Multi-File Uploader on a local machine with out a server for UI  
testing. What was interesting was that it has always run happily on my  
machine from the start but when Anastasia or Michelle installed it, no  
luck.

Running the Uploader off a server, even a server running on the local  
machine, has always worked. This problem does not effect a real  
installation of the component, only this weird setup that UI  
developers might want to use while tweaking the interface.

After painstaking research, I figured out that by virtue of my having  
the Flash development environment installed on my machine, certain  
Flash settings had been configured for me so that local Flash files  
were being allowed to do certain functions which normally would be  
considered a security risk.

However, there is a work-around for the common man or woman that  
doesn't involve installing the Flash dev suite or compromising the  
security of your browser.

Here are the steps:
Pull down a copy of the Fluid Multi-File Uploader to your local  
machine from SVN
Open your browser
Browse to: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
Click Edit locations... and select Add location...
Click Browse for files...
Select the swfupload_f9.swf file that is in your local /src/webapp/ 
fluid-components/swfupload/ directory
Restart your browser

Now you should be good to run the uploader files in sample-code/ 
uploader/

Please note that if you move your installation, you'll need to do this  
all over again. There are settings that will allow the file to be run  
from any location on your local machine but these instructions are the  
minimum settings and therefor pose the smallest security hole. (If a  
security hole even exists at all.)

Also it appears that these settings are global and do not need to  
repeated for every browser that you are using on that machine. At  
least it was so between Firefox and IE7 on my Windows machine.

I'm writing a Read Me right now for the sample files which will cover  
this. Actually, a little copy and paste, and I think that I just did.

- Eli

. . . . . . . . . . .  .  .   .    .      .         .              .                     .

Eli Cochran
user interaction developer
ETS, UC Berkeley

"Do not solve the problem that’s asked of you. It’s almost always the  
wrong problem."
     - Don Norman




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20080417/9c302df9/attachment.htm>


More information about the fluid-work mailing list