Re: [flexcoders] File Upload with php on Mac
FileType? --- Blog: http://douhua.im Twitter: http://twitter.com/genedna Website: http://douhua.im --- On Sun, Sep 5, 2010 at 9:09 PM, Christophe christophe_jacque...@yahoo.frwrote: Hello, What is the specificity of the Mac plateform, because my upload function with AS3 and Php is working on Pc but not on Mac. Thank you, Christophe, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] File Upload with php on Mac
Hello, What is the specificity of the Mac plateform, because my upload function with AS3 and Php is working on Pc but not on Mac. Thank you, Christophe,
[flexcoders] File Upload Problem - Duplicate File Names
I'm having trouble with file upload. I have three files: C:/File1/myfile.flv C:/File2/myfile.flv C:/File3/myotherfile.flv When I try to upload the first it works fine video plays brilliant. Then I select the second file (same name, different video) and it plays the first file. Just to check it again I upload the 3rd file and it plays the third file, try and load the second file and it plays the first file again. I even tried sending the time along with the Request to make sure it wasn't a caching issue with the browser, even done a HTML FORM and that works fine. No idea whats going on here, Any ideas? - Stephen
[flexcoders] File Upload Modules
Why would file upload work before its component became a module but after it becomes a module does it fail with the error... Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. I am completely lost? - Stephen
[flexcoders] file upload not responding.....
hi guys i recently moved an application from flex 2 to flex 3 as is without changing the code. the file upload code in flex 2 was working perfectly but in flex 3 it's non responsive as in it can browse for files on the pc but cant upload them.. below is my code please help me. private var fileRef:FileReference; //Define reference to the Upload ProgressBar component. private var progress_win:progress_popup; private function init():void { fileRef = new FileReference(); fileRef.addEventListener(Event.SELECT, fileRef_select); fileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler); fileRef.addEventListener(Event.COMPLETE, fileRef_complete); } private function browseAndUpload():void { fileRef.browse(); message.text = ; } private function fileRef_select(event:Event):void { var request:URLRequest = new URLRequest(http://localhost:8500/App/src/cfcs/upload.cfm;) try { fileRef.upload(request); } catch (err:Error) { message.text = ERROR: zero-byte file; } memPhoto.text = event.currentTarget.name; createdprogressPopup(); progress_win.uploadProgress.setProgress(0, 100); progress_win.uploadProgress.label = Loading 0%; } private function fileRef_complete(event:Event):void { message.text += (complete); removeMe(); } private function createdprogressPopup():void{ progress_win=progress_popup(PopUpManager.createPopUp(this,progress_popup,true)); } private function removeMe():void { PopUpManager.removePopUp(progress_win); } private function progressHandler(event:ProgressEvent):void{ progress_win.uploadProgress.setProgress(event.bytesLoaded, event.bytesTotal); } upload.cfm cffile action=upload filefield=Filedata destination=#ExpandPath('./')# nameconflict=OVERWRITE /
Re: [flexcoders] File Upload with FireFox on SunRay Fails-we need this to work
On Tuesday 08 Sep 2009, adebonis wrote: We can't get File upload to work with a Browser Running under SunRays on FireFox This isn't over SSL is it ? There's an open bug in Jira for that... -- Helping to competently strategize B2B bleeding-edge one-to-one data as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] File Upload with FireFox on SunRay Fails-we need this to work
Hope someone out there an help us with this issue. We can't get File upload to work with a Browser Running under SunRays on FireFox We have finally identified the http problem (http 417) which is causing the IO flash error. We tried this on FireFox 3.0 as well as FireFox 3.5.3 both with the same results. Also, I doubt if this is a browser issue because uploading files to the same servlet from a test JSP page works fine. Whatever happens, happens between flash player and the browser. After using a simple MXML file (attached below) to test the file upload functionality on different operating systems we have discovered that it brakes with an unusual error when tested on Solaris. We put sniffers and clearly noticed the difference in the headers generated by Flash 10 in different OS environments. As you can see from the examples below, the later version (the one running on Solaris) has an extra Expect: in the header which we believe is responsible for the HTTP 417 error (which, in its turn, is responsible for 2038 thrown by flex) Here is a header generated from a functional system: POST /iehs_core_document/FileUploadServlet HTTP/1.1 Host: dev01.intelligentehs.com:9086 Accept: */* User-Agent: Shockwave Flash Connection: Keep-Alive Cache-Control: no-cache Content-Length: 755 Expect: 100-continue Content-Type: multipart/form-data; boundary=e6d2f5d2c945 And here is a header generated from OpenSolaris 11 2009.06 POST /iehs_core_document/FileUploadServlet HTTP/1.1 Host: dev01.intelligentehs.com:9086 Accept: */* User-Agent: Shockwave Flash Connection: Keep-Alive Cache-Control: no-cache Expect: Content-Length: 653 Expect: 100-continue Content-Type: multipart/form-data; boundary=b64e06f786e4
[flexcoders] File upload with pause/resume in Flex?
Suggestions on how to implement this? My first thought is to split a file into chunks of FileReferences and then send these chunks individually, making a note of which chunks of a file that have been transferred and which are waiting. That way I can pause the application and continue later. .. but maybe there is an easier solution? :-) -- http://www.juicability.com - flex blog http://www.nospoiler.com - link to youtube videos without the spoilers
[flexcoders] file upload with rpc
Hi guys, does any one tried to upload file using rpc? I wonder how can I post files using rpc... thanks. Deniz
RE: [flexcoders] file upload with rpc
Please clarify your question. rpc means many things. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deniz Davutoglu Sent: Monday, October 20, 2008 3:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload with rpc Hi guys, does any one tried to upload file using rpc? I wonder how can I post files using rpc... thanks. Deniz
[flexcoders] File upload + Basic Authentication - please, help!!!
Hello, everyone I am trying to implement file upload and authenticate myself via basic authentication. However, when I try to add Authorization header into underlying URLRequest object, Flash Player seems to ignore my code and proceed without this header. I am using Flash version 9.0.124 which, according to the documentation, allows tampering with Authorization header Is Basic Auth support possible for file upload? and if it is, how do I make it work? Thanks, --- Dmitry
[flexcoders] File upload on MAC
Hi, I am having issue in uploading images from MAC machine, I have a java servlet for uploading the files, file upload works fine in PC but not in MAC. Please help. Thanks Gireesh
[flexcoders] File upload to amazon S3 from Flex
Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this? Thanks, Gaurav
Re: [flexcoders] File upload to amazon S3 from Flex
Have you taken a look at the Salsa Air application? http://download.macromedia.com/pub/labs/air/sample_apps/b1/Salsa.air It uploads files to Amazon S3.
[flexcoders] File upload in Flex
Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this? Thanks, Gaurav Jain
RE: [flexcoders] File upload in Flex
I think that you can not use upload to send file to Amazon S3, because S3 use REST or SOAP protocol to upload files. Check this to upload to S3: http://code.google.com/p/as3awss3lib/ Giro. _ De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Gaurav Jain Enviado el: miércoles, 02 de abril de 2008 9:40 Para: flexcoders@yahoogroups.com Asunto: [flexcoders] File upload in Flex Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this? Thanks, Gaurav Jain
[flexcoders] File upload to amazon S3 from Flex
Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this? Thanks, Gaurav Jain
Re: [flexcoders] File upload to amazon S3 from Flex
What kind of url do u use ? and u try to direct upload to AM S3 storage ? without creating signature and adding requested headers ? Gaurav Jain wrote: Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. -- Feсi quod potui, faciant meliora potentes - http://www.reijii.solartxit.com
[flexcoders] file upload
Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad
RE: [flexcoders] file upload
Nothing quite as convenient as a file input, but definitely doable. You’ll want to take a look at the FileReference object: HYPERLINK http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.htmlhttp: //livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 04, 2008 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM image001.jpgimage002.jpg
RE: [flexcoders] file upload
Thanks Beau! I will start reading up on it. Chad From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Beau Scott Sent: Tuesday, March 04, 2008 10:49 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] file upload Nothing quite as convenient as a file input, but definitely doable. You'll want to take a look at the FileReference object: http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 04, 2008 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AMattachment: image001.jpg
RE: [flexcoders] File upload
Is there any way i can upload single file in flex. What kind of file and from where? And to where? What kind of file? XML? .JPG? .MP3? Sure. To where? Into Flex? Then it would have to be a compatible media format like xml, jpg, .flv, mp3, etc. If you mean to the server where the file is, actually just about anything using Filereference class an a server side script. From your hard drive, no, but yes if you make your Flex app a desktop app with Adobe AIR. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community
[flexcoders] File upload
Hi, Is there any way i can upload single file in flex. Thanks chr
[flexcoders] File upload with jsp
Hi all, I'm looking for a sample of uploading a file to the server using jsp from a flex application. Any help is appreciated. Thank you!
Re: [flexcoders] File upload with jsp
See this: http://blog.digows.com/?p=43 AppRunning and Source code: http://www.digows.com/downloads/postagens/flexupload/ Atenciosamente: --- | Rodrigo Pereira Fraga | http://www.digows.com e-mails: [EMAIL PROTECTED] [EMAIL PROTECTED] AdobeFlex + BlazeDS + SpringFramework + Hibernate --- From: nhid Sent: Tuesday, January 08, 2008 1:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] File upload with jsp Hi all, I'm looking for a sample of uploading a file to the server using jsp from a flex application. Any help is appreciated. Thank you!
[flexcoders] File Upload using web service
Hi, I'm just wondering is it possible to upload file using web service in flex? I notice that if I upload file using the FileReference method I can only Upload using URL Request. Thanks in advance Anthony Benjamin
[flexcoders] File Upload question
Hi, Does anyone tried implement a file upload to a server through servlet while the server is sit behind a proxy? Will the crossdomain issue becomes a problem? I have set up a serlvet with upload function which works perfect, however, when i deploy the servlet into another server, which i can only reached through a proxy, the upload failed. Is there any setting i need to take care of? Dan
Re: [flexcoders] File Upload question
Dan escreveu: Hi, Does anyone tried implement a file upload to a server through servlet while the server is sit behind a proxy? Will the crossdomain issue becomes a problem? I have set up a serlvet with upload function which works perfect, however, when i deploy the servlet into another server, which i can only reached through a proxy, the upload failed. Is there any setting i need to take care of? Dan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __ NOD32 2747 (20071225) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com You must have a file .htaccess inside public_html containing: SecFilterEngine Off SecFilterScanPOST Off If this doesn't work install ethereal and check for the error code you're getting from the server. Hope this helps, Frederico Garcia
[flexcoders] file upload fails on Leopard?
Hey - I've got a file uploader that works on Tiger at http://100grand.scribemedia.org . -- just tested it with a laptop (might be the flash version as well, because on this laptop I got the 'dismiss all' screen'). On 2 machines running Leopard I didn't get the plugin alert, but fileupload fails - I can't even select a .mov at all. The one on the site has a 'video' filterupload; but I've tested with no filter and it still fails. What's changed? Has there been a change to the plugin or is it leopard? Thanks.
Re: [flexcoders] file upload fails on Leopard?
It's definately something with leopard. Can someone from adobe confirm please? On Oct 31, 2007, at 7:50 AM, grimmwerks wrote: Hey - I've got a file uploader that works on Tiger at http://100grand.scribemedia.org . -- just tested it with a laptop (might be the flash version as well, because on this laptop I got the 'dismiss all' screen'). On 2 machines running Leopard I didn't get the plugin alert, but fileupload fails - I can't even select a .mov at all. The one on the site has a 'video' filterupload; but I've tested with no filter and it still fails. What's changed? Has there been a change to the plugin or is it leopard? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] file upload fails on Leopard?
http://weblogs.macromedia.com/emmy/archives/2007/10/adobe_products.cfm#comments -- -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED]
[flexcoders] File upload in Mozilla problem
Hello flexcoders, Hi, I am using Flex with server side PHP script to upload a file from Flex to server and everything works fine when i use Internet Explorer but in Firefox i get the following error: Error #2038: File I/O Error. I googled around and found out that there is a problem with Firefox handling sessions but couldn't find solution to this problem. Has anyone else came across this problem, what would be the solution to it? Here is my mxml code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init(); mx:Script ![CDATA[ private var urlRequest:URLRequest; private var fileReferenceList:FileReferenceList; private var serverSideScript:String = http://localhost/uploadFile.php;; private function init():void { urlRequest = new URLRequest(serverSideScript); fileReferenceList = new FileReferenceList(); fileReferenceList.addEventListener(Event.SELECT, fileSelectedHandler); } private function uploadFile():void { fileReferenceList.browse(); } private function fileSelectedHandler(event:Event):void { var fileReference:FileReference; var fileReferenceList:FileReferenceList = FileReferenceList(event.target); var fileList:Array = fileReferenceList.fileList; // get the first file that the user chose fileReference = FileReference(fileList[0]); // upload the file to the server side script fileReference.addEventListener(Event.COMPLETE, uploadCompleteHandler); fileReference.upload(urlRequest); // update the status text statusText.text = Uploading...; } private function uploadCompleteHandler(event:Event):void { statusText.text = File Uploaded: + event.target.name; } ]] /mx:Script mx:Label text=Upload File From Flex to PHP fontWeight=bold/ mx:Label text=Choose a file... id=statusText/ mx:Button click=uploadFile(); label=Upload File/ /mx:Application And my php script: ?php $tempFile = $_FILES['Filedata']['tmp_name']; $fileName = $_FILES['Filedata']['name']; $fileSize = $_FILES['Filedata']['size']; move_uploaded_file($tempFile, ./ . $fileName); ? Thanks in advance -- Best regards, Mirko mailto:msabljic[at]gmail.com
RE: [flexcoders] File Upload Error in mozilla
I have posted about 5-6 times about this issue. In some cases, yes the session is the issue. In SSL however, something is wrong with the handshake implementation in the windows plugin version of the flash player (the activex version works fine). I have done extensive testing and confirmed this. So basically Milind, we are SOL until adobe tests this themselves, confirms it, and then fixes it. I ended up calling some javascript that popped open a window (which also kept the session so no need to worry about that problem), did the upload in normal html forms, and then called a callback in flash when the upload was complete. If you'd like this code email me offlist and I'll send it. Seth _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Birr Sent: Monday, October 01, 2007 9:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] File Upload Error in mozilla I spent a long time on a very siilar problem in the early days of Flex 2. After hours of intercepting and reviewing HTTP(s) requests, the only diffrence I've noticed between Mozilla and IE with Flex file uploads is that Mozilla does not send *any* cookies to the server on the data post. Therefore you will not be able to use cookie-based authentication or session state on the server side. I worked around this by adding soem values to the querystring of the file post url and creating a special server side module to handle this. My code is .NET/IIS so i doubt it would help you, but I hope a bit more insight into the problem may. - Kelly nsmmilind2002 wrote: Hi All, I am facing issue with Mozilla Firefox browser on https. We have Flex application hosted in tomcat secured mode (https) in which we provide the functionality of upload .csv file. Which works fine in IE but the same is not working in Mozilla it giving me the following error? Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. at com.datki.fileio::FileUpload/initBrouseDlg() at UserManagement/::showWarning() at flash.events::EventDispatcher/ flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls.alertClasses::AlertForm/::removeAlert() at mx.controls.alertClasses::AlertForm/::clickHandler() After some investigation I found some information on web which says this is some problem related to browser cookies but even after making the changes suggested over there It still not working in Mozilla and throwing the same error. Please check the following link http://thanksmister http://thanksmister.com/?p=59 .com/?p=59 As File upload is very common functionality, therefore there should be some solution on it. Can anyone help me out to resolve the issue of file uploading in Mozilla browser in security mode (htts). - Milind -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.com archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] File Upload Error in mozilla
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: So basically Milind, we are SOL until adobe tests this themselves, confirms it, and then fixes it. Have you logged a bug (via adobe.com/go/wish or bugs.adobe.com/jira) ? -- Tom Chiverton Helping to conveniently pursue front-end web-readiness on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] File Upload Error in mozilla
Yes, I logged it somewhere, can't remember where. Oh! Here. http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform Seth -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, October 02, 2007 7:52 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] File Upload Error in mozilla On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: So basically Milind, we are SOL until adobe tests this themselves, confirms it, and then fixes it. Have you logged a bug (via adobe.com/go/wish or bugs.adobe.com/jira) ? -- Tom Chiverton Helping to conveniently pursue front-end web-readiness on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] File Upload Error in mozilla
Hi All, I am facing issue with Mozilla Firefox browser on https. We have Flex application hosted in tomcat secured mode (https) in which we provide the functionality of upload .csv file. Which works fine in IE but the same is not working in Mozilla it giving me the following error? Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. at com.datki.fileio::FileUpload/initBrouseDlg() at UserManagement/::showWarning() at flash.events::EventDispatcher/ flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls.alertClasses::AlertForm/::removeAlert() at mx.controls.alertClasses::AlertForm/::clickHandler() After some investigation I found some information on web which says this is some problem related to browser cookies but even after making the changes suggested over there It still not working in Mozilla and throwing the same error. Please check the following link http://thanksmister.com/?p=59 As File upload is very common functionality, therefore there should be some solution on it. Can anyone help me out to resolve the issue of file uploading in Mozilla browser in security mode (htts). - Milind
Re: [flexcoders] File Upload Error in mozilla
I spent a long time on a very siilar problem in the early days of Flex 2. After hours of intercepting and reviewing HTTP(s) requests, the only diffrence I've noticed between Mozilla and IE with Flex file uploads is that Mozilla does not send *any* cookies to the server on the data post. Therefore you will not be able to use cookie-based authentication or session state on the server side. I worked around this by adding soem values to the querystring of the file post url and creating a special server side module to handle this. My code is .NET/IIS so i doubt it would help you, but I hope a bit more insight into the problem may. - Kelly nsmmilind2002 wrote: Hi All, I am facing issue with Mozilla Firefox browser on https. We have Flex application hosted in tomcat secured mode (https) in which we provide the functionality of upload .csv file. Which works fine in IE but the same is not working in Mozilla it giving me the following error? Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. at com.datki.fileio::FileUpload/initBrouseDlg() at UserManagement/::showWarning() at flash.events::EventDispatcher/ flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls.alertClasses::AlertForm/::removeAlert() at mx.controls.alertClasses::AlertForm/::clickHandler() After some investigation I found some information on web which says this is some problem related to browser cookies but even after making the changes suggested over there It still not working in Mozilla and throwing the same error. Please check the following link http://thanksmister.com/?p=59 As File upload is very common functionality, therefore there should be some solution on it. Can anyone help me out to resolve the issue of file uploading in Mozilla browser in security mode (htts). - Milind -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] File upload compression (esp. gzip)?
Technically, I do not believe there is. You might take a look at this AS3 zip library: http://www.nochump.com/blog/?p=15 . fgamador wrote: Is it possible to write a Flash/Flex/AIR app that compresses large files during upload (ideally using gzip)? As far as I can tell, FileReference (and URLRequest) do not support this. Is there any other way? Thanks in advance for any tips. -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] File upload compression (esp. gzip)?
Is it possible to write a Flash/Flex/AIR app that compresses large files during upload (ideally using gzip)? As far as I can tell, FileReference (and URLRequest) do not support this. Is there any other way? Thanks in advance for any tips.
[flexcoders] File upload in Flex
Hi, I've got a new project, which requires that the user can upload resources to a system, which other users can access and download through the same system. The types of documents which can be uploaded through the system will include PDFs, Word docs, Excel docs, but this list may increase (e.g. MP3 files etc). I have not seen an example of a Flex system which allows users to browse there local PC and upload files. Is it possible and if so how? Stephen
Re: [flexcoders] File upload in Flex
It's possible. See FileReference and FileReferenceList. R. On 9/12/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I've got a new project, which requires that the user can upload resources to a system, which other users can access and download through the same system. The types of documents which can be uploaded through the system will include PDFs, Word docs, Excel docs, but this list may increase (e.g. MP3 files etc). I have not seen an example of a Flex system which allows users to browse there local PC and upload files. Is it possible and if so how? Stephen
[flexcoders] File Upload Weirdness (DataEvent.UPLOAD_COMPLETE_DATA)
I set up a file upload function within a larger Flex application that works with PHP on the server-side. The PHP upload script returns a string after the upload so that I can catch the event DataEvent.UPLOAD_COMPLETE_DATA. There are two anomalies: 1. I use a progress bar that is supposed to - well - display the upload progress. But even with large files the bar jumps to 100% very quickly and remains there until the end of the upload. If I trace event.bytesLoaded the total bytes are reached within the first second of the upload although the real upload is still going on. 2. If the file size is larger than ~600kb the event DataEvent.UPLOAD_COMPLETE_DATA isn't fired any more. The only event that is still fired after the upload is Event.COMPLETE. But I need to get back some information from the server so I can't rely on Even.COMPLETE. I suspected an issue with my PHP settings and set both max_execution_time and max_input_time to 300 seconds in order to avoid a time-out of my PHP upload script. But that didn't help. Any suggestions on these issues? Thanks in advance. Stefan
[flexcoders] file upload max?
Is the max filesize 100 megs? Testing upload functionality and it seems to be working, but I'm testing the max size, and huge files (224megs) report that they upload but then they're not there on the server...
[flexcoders] File Upload IO Error because of File Name?
I can upload files successfully, but have found that some file names cause an IO error to be thrown. The file, OP1_CR001.pdf fails with an io error, though it is a valid pdf file. TestBadOP1.pdf, which is simply a renamed copy of the above file, succeeds in the upload. Are there file naming rules that affect FileReference.upload()? I have determined that the bad file uploads never reach the server. I also just discovered that I can't repro this when the server-side code is on my local machine! All the uploads succeed! But the bad files fail reliably against the server. This bewilders me completely! Any thoughts at all will be appreciated. Tracy
Re: [flexcoders] File Upload IO Error because of File Name?
Tracy, Not sure exactly what you are running into, I haven¹t had anything like that in my upload app. However, if you have snort or some other rules based system there might be something like that thinking the file is an intrusion and blocking the upload. We had this happen with WordPress, a particular rule was blocking 1 of the mp3¹s I was trying to upload for a podcast. All other files would upload fine, but this one that I created out of iTunes would get flagged and wouldn¹t upload, then my IP address would be banned and I¹d have to wait an hour before I could upload again. Good luck, Mike Weiland - Mike Weiland Aspen Tree Media (877)659-1652 | FAX: (512)828-7105 http://www.AspenTreeMedia.com http://www.CertificateCreator.com - Create Print Awards and Certificates On 5/23/07 7:41 PM, Tracy Spratt [EMAIL PROTECTED] wrote: I can upload files successfully, but have found that some file names cause an IO error to be thrown. The file, ³OP1_CR001.pdf² fails with an io error, though it is a valid pdf file. ³TestBadOP1.pdf², which is simply a renamed copy of the above file, succeeds in the upload. Are there file naming rules that affect FileReference.upload()? I have determined that the ³bad² file uploads never reach the server. I also just discovered that I can¹t repro this when the server-side code is on my local machine! All the uploads succeed! But the ³bad² files fail reliably against the server. This bewilders me completely! Any thoughts at all will be appreciated. Tracy
Re: [flexcoders] File Upload I/O error only on Mac
I've seen this as well. But it has not been a priority yet to investigate it, so I don't really know what is going on there. I was thinking it may be sandbox issues. Or perhaps a bug in the player. Let me know if you discover anything. Unfortunately it will be weeks before I get around to looking at it more. Paul mthielman11 wrote: Hello, we are having a strange problem trying to upload files via flex in out app. Our code works fine from Windows FIrefox. But on the mac we are getting an error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038: File I/O Error. URL: http://10.250.20.154:8080/ZebraServer/upload/|BAA9BD09-8DA9-6216-6F8C-51A12E439873|] When running in debug mode the last thing I see is: openHandler triggered Then nothing happens. On the server end (Which is Java) the log does not even show the request hitting it. Anyone have any similar issues? I know there is another Mac and upload issue with the oncomplete event but do not think it is that is the server does not even get my request. Any insight would be great, thanks.
[flexcoders] File Upload I/O error only on Mac
Hello, we are having a strange problem trying to upload files via flex in out app. Our code works fine from Windows FIrefox. But on the mac we are getting an error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038: File I/O Error. URL: http://10.250.20.154:8080/ZebraServer/upload/|BAA9BD09-8DA9-6216-6F8C-51A12E439873|] When running in debug mode the last thing I see is: openHandler triggered Then nothing happens. On the server end (Which is Java) the log does not even show the request hitting it. Anyone have any similar issues? I know there is another Mac and upload issue with the oncomplete event but do not think it is that is the server does not even get my request. Any insight would be great, thanks.
[flexcoders] File Upload and Session
I'm trying to do a file upload to a server (running rails if that matters). When I upload the file it gets sent to the server fine, but gets it's own seperate session. There is also no way to pass a result (like the stored filename) back to flash. Does anyone know of a way to get around this? Thanks, -John
Re: [flexcoders] File Upload and Session
i send a unique id with the file and when the uploading is done a service call(using the same unique id) is triggerred to get the name of the file. i dont know if there is a better option but you should check mail archive... - Original Message From: john_69_11 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, February 16, 2007 5:30:25 PM Subject: [flexcoders] File Upload and Session I'm trying to do a file upload to a server (running rails if that matters). When I upload the file it gets sent to the server fine, but gets it's own seperate session. There is also no way to pass a result (like the stored filename) back to flash. Does anyone know of a way to get around this? Thanks, -John !-- #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0; } #ygrp-tpmsgs{ font-family:Arial; clear:both; } #ygrp-vitnav{ padding-top:10px; font-family:Verdana; font-size:77%; margin:0; } #ygrp-vitnav a{ padding:0 1px; } #ygrp-actbar{ clear:both; margin:25px 0; white-space:nowrap; color:#666; text-align:right; } #ygrp-actbar .left{ float:left; white-space:nowrap; } .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana; font-size:77%; padding:15px 0; } #ygrp-ft{ font-family:verdana; font-size:77%; border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px; } #ygrp-vital{ background-color:#e0ecee; margin-bottom:20px; padding:2px 0 8px 8px; } #ygrp-vital #vithd{ font-size:77%; font-family:Verdana; font-weight:bold; color:#333; text-transform:uppercase; } #ygrp-vital ul{ padding:0; margin:2px 0; } #ygrp-vital ul li{ list-style-type:none; clear:both; border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold; color:#ff7900; float:right; width:2em; text-align:right; padding-right:.5em; } #ygrp-vital ul li .cat{ font-weight:bold; } #ygrp-vital a { text-decoration:none; } #ygrp-vital a:hover{ text-decoration:underline; } #ygrp-sponsor #hd{ color:#999; font-size:77%; } #ygrp-sponsor #ov{ padding:6px 13px; background-color:#e0ecee; margin-bottom:20px; } #ygrp-sponsor #ov ul{ padding:0 0 0 8px; margin:0; } #ygrp-sponsor #ov li{ list-style-type:square; padding:6px 0; font-size:77%; } #ygrp-sponsor #ov li a{ text-decoration:none; font-size:130%; } #ygrp-sponsor #nc { background-color:#eee; margin-bottom:20px; padding:0 8px; } #ygrp-sponsor .ad{ padding:8px 0; } #ygrp-sponsor .ad #hd1{ font-family:Arial; font-weight:bold; color:#628c2a; font-size:100%; line-height:122%; } #ygrp-sponsor .ad a{ text-decoration:none; } #ygrp-sponsor .ad a:hover{ text-decoration:underline; } #ygrp-sponsor .ad p{ margin:0; } o {font-size:0;} .MsoNormal { margin:0 0 0 0; } #ygrp-text tt{ font-size:120%; } blockquote{margin:0 0 0 4px;} .replbq {margin:4;} -- The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
Re: [flexcoders] File upload via JAVA
You can write simple servlet/jsp that does the uploading. If you can write a simple app with html front end and java backend for file uploading, you can transparently replace front-end with Flash based uploader. You have to take care of cases when multiple-files are being uploaded together, on server-side you might need to check for that do the appropriate. -abdul On 23 Jan 2007 20:29:28 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to implement the file upload using the FileReference class and can't find an example of the JAVA code that would be required, I've found .net and php but no java, does anyone have an example ? Cheers Grant
Re: [flexcoders] File upload via JAVA ( jsp exemple)
correction try { upFile.upload(request,upFile);// upFile.upload(request,logoFile); upFile is the name use in the jsp page } catch (error:Error) { //trace(Unable to upload file.); } azurs a écrit : hello to implement java upload you need a jsp page in your application directory view this exemple -- Upload.jsp %@ page language=java import=javazoom.upload.*,java.util.*,java.lang.* % %@ page errorPage=ExceptionHandler.jsp % jsp:useBean id=upBean scope=page class=javazoom.upload.UploadBean jsp:setProperty name=upBean property=folderstore value=C:/fds2/jrun4/servers/default/samples/your_application/upload_directory / /jsp:useBean /jsp:useBean % if (MultipartFormDataRequest.isMultipartFormData(request)) { MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request); Hashtable files = mrequest.getFiles(); if ( (files != null) (!files.isEmpty()) ) { upBean.store(mrequest, upFile); } } % you need also the bean include in the zip file, put it in C:\fds2\jrun4\servers\default\samples\WEB-INF\lib\ http://www.taguemount.fr/flex/WEB-INF.zip http://www.taguemount.fr/flex/WEB-INF.zip in your flex application use this code MXML private var upFile:FileReference = new FileReference(); private function fileBrowse():void{ var imageFilter:FileFilter = new FileFilter(Image Files (*.jpg, *.jpeg, *.gif, *.png, *.pdf), *.jpg; *.jpeg; *.gif; *.png; *.pdf); upFile.browse(new Array(imageFilter)); } private function selectHandler(event:Event):void { var request:URLRequest = new URLRequest(http://localhost:8700/samples/your_application/Upload.jsp http://localhost:8700/samples/your_application/Upload.jsp) request.method=URLRequestMethod.POST; try { upFile.upload(request,logoFile); } catch (error:Error) { //trace(Unable to upload file.); } } private function completeHandler(event:Event):void { //trace(uploaded); } taguemount nacer http://www.taguemount.fr/ http://www.taguemount.fr/ [EMAIL PROTECTED] mailto:taguemount.nacer%40free.fr [EMAIL PROTECTED] mailto:grant%40bluetube.com a écrit : I'm trying to implement the file upload using the FileReference class and can't find an example of the JAVA code that would be required, I've found .net and php but no java, does anyone have an example ? Cheers Grant
[flexcoders] File upload via JAVA
I'm trying to implement the file upload using the FileReference class and can't find an example of the JAVA code that would be required, I've found .net and php but no java, does anyone have an example ? Cheers Grant
[flexcoders] File Upload and Cross Domain issues
Hi. I know there is someone who knows the answer. It may be the unreachable Ted Patrick, who claims he knows the answer in his blog, instead of including the solution, has a link that is now dead to the solution. I am hoping that someone else @ Adobe also knows the answer. PLEASE PLEASE PLEASE reply here if you know how to solve the following problem: I am trying to use the fileIO.swf file to provide file upload/download in a Flex application. Works everywhere except Firefox when using HTTPS. I have read that I can do System.security.loadPolicyFile and load a different cross doman policy file, and I have done that, but it does not help. I have tried using: allow-access-from domain=* to-ports=*/ and allow-access-from domain=* / with or without 'secure=false' in both the /crossdomain.xml and in the file I load specifically with loadPolicyFile(). I can clearly see the swf file content seems to be loaded, but when I try to upload I always get an IOError event, which yields no useful information other than the fact that something failed. Can anyone help me? Is this something that Flex just can not handle? Steve -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File Upload and Cross Domain issues
This may helphttp://tech.groups.yahoo.com/group/flexcoders/msearch?query=FileReference+Download+patricksubmit=Searchcharset=ISO-8859-1 On 11/7/06, sbyrne_dorado [EMAIL PROTECTED] wrote: Hi. I know there is someone who knows the answer. It may be the unreachable Ted Patrick, who claims he knows the answer in his blog, instead of including the solution, has a link that is now dead to the solution. I am hoping that someone else @ Adobe also knows the answer. PLEASE PLEASE PLEASE reply here if you know how to solve the following problem: I am trying to use the fileIO.swf file to provide file upload/download in a Flex application. Works everywhere except Firefox when using HTTPS. I have read that I can do System.security.loadPolicyFile and load a different cross doman policy file, and I have done that, but it does not help. I have tried using: allow-access-from domain=* to-ports=*/ and allow-access-from domain=* / with or without 'secure=false' in both the /crossdomain.xml and in the file I load specifically with loadPolicyFile(). I can clearly see the swf file content seems to be loaded, but when I try to upload I always get an IOError event, which yields no useful information other than the fact that something failed. Can anyone help me? Is this something that Flex just can not handle? Steve __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] File Upload :Complete path of File needed
Hi All, Below is the code that I am using for uploading files. In this code I am able to get only name of the file which is to being uploaded, What I want is to get the full path of the file for example c:/new/abxfile.txt. Can some one help me out of these? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical creationComplete=initApp() mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.ObjectUtil; import flash.events.*; import flash.net.FileReference; import flash.net.URLRequest; private var fileRef:FileReference; private function initApp():void { fileRef = new FileReference(); fileRef.addEventListener(Event.CANCEL, traceEvent); fileRef.addEventListener(Event.COMPLETE, completeEvent); fileRef.addEventListener(Event.SELECT, selectEvent); fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent); fileRef.addEventListener(Event.OPEN, traceEvent); fileRef.addEventListener(ProgressEvent.PROGRESS, progressEvent); fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, traceEvent); } private function traceEvent(event:Event):void { var tmp:String = \n; ta.text += tmp + event.type + event: + mx.utils.ObjectUtil.toString(event) + \n ; ta.verticalScrollPosition += 20; } private function ioErrorEvent(event:IOErrorEvent):void{ Alert.show(IOError: + event.text); traceEvent(event); } private function selectEvent(event:Event):void{ btn_upload.enabled = true; traceEvent(event); // Alert.show(String(fileRef.name)); filename.text = fileRef.name; progressBar.setProgress(0, 100); progressBar.label = Loading 0%; } private function progressEvent(event:ProgressEvent):void { progressBar.setProgress(event.bytesLoaded, event.bytesTotal); traceEvent(event); } private function completeEvent(event:Event):void { progressBar.label = Complete.; Alert.show(filename.text); filename.text += uploaded; traceEvent(event); btn_upload.enabled = false; btn_cancel.enabled = false; } private function uploadFile(endpoint:String):void { var param:String = author= + ti_author.text; var req:URLRequest = new URLRequest(endpoint); req.method = URLRequestMethod.POST; Alert.show(String(req.method)); fileRef.upload(req, param, false); progressBar.label = Uploading...; btn_cancel.enabled = true; } ]] /mx:Script mx:Panel title=Flex 2 File Uploading Demo width=100% height=100% mx:Form mx:FormItem label=Upload URL: mx:TextInput id=uploadURL width=100% text= enabled=true / /mx:FormItem mx:FormItem label=Selected File: mx:Label id=filename/ /mx:FormItem mx:FormItem label=Upload By: mx:TextInput id=ti_author text=Author / /mx:FormItem mx:FormItem direction=horizontal width=100% mx:Button width=80 label=Browse click=fileRef.browse() / mx:Button width=80 label=Upload id=btn_upload enabled=false click=uploadFile(uploadURL.text) / mx:Button width=80 label=Cancel id=btn_cancel enabled=false click=fileRef.cancel() / /mx:FormItem mx:HRule width=100% tabEnabled=false/ mx:FormItem label=Progress: mx:ProgressBar id=progressBar mode=manual / /mx:FormItem mx:FormItem label=Events: mx:TextArea id=ta width=350 height=200 / /mx:FormItem /mx:Form /mx:Panel /mx:Application Thanks Kumar __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] File Upload
I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS. Tried this: mx:Button label=Upload click=FileReferenceList.browse()/ Per the docs, which gets a compiler error of undefined method with static type class... Any sample code for this kicking around? thanks! ethan Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - LOW] [flexcoders] File Upload
Did you: import flash.net.FileReference; Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Friday, July 14, 2006 12:27 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] File Upload I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS.Tried this:mx:Button label="Upload" click="FileReferenceList.browse()"/Per the docs, which gets a compiler error of "undefined method with static type class... "Any sample code for this kicking around?thanks! ethan --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006
RE: [Junk E-Mail - LOW] [flexcoders] File Upload
What it means is that in addition to importing the class, you need to instate the FileReference class. Something like ... var myFM:FileReference = new FileReference(); myFM.browse(new Array()); |-+- | | | | | Shannon Hicks| | | [EMAIL PROTECTED]| | | Sent by: | | | flexcoders@yahoogroups.com | | | 07/14/2006 01:56 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: RE: [Junk E-Mail - LOW] [flexcoders] File Upload | -| Did you: import flash.net.FileReference; Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Friday, July 14, 2006 12:27 PM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] [flexcoders] File Upload I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS. Tried this: mx:Button label=Upload click=FileReferenceList.browse()/ Per the docs, which gets a compiler error of undefined method with static type class... Any sample code for this kicking around? thanks! ethan -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ pic06816.gif Description: GIF image
RE: [flexcoders] File Upload
Sorry, a little explination is probably needed. The browse methods of FileReference and FileReferenceList are not static. Therefore you must call them on an instance of one of those two classes. var fileInstance:FileReference = new FileReference(); fileInstance.browse(); If it were static, you could call it the way you had it scripted. DP From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Friday, July 14, 2006 12:27 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File Upload I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS.Tried this:mx:Button label="Upload" click="FileReferenceList.browse()"/Per the docs, which gets a compiler error of "undefined method with static type class... "Any sample code for this kicking around?thanks! ethan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] File Upload
mx:Button label="Upload" click="var fileReference:FileReference = new FileReference(); fileReference.browse();" / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Friday, July 14, 2006 12:27 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File Upload I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS.Tried this:mx:Button label="Upload" click="FileReferenceList.browse()"/Per the docs, which gets a compiler error of "undefined method with static type class... "Any sample code for this kicking around?thanks! ethan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] File Upload problem?
Ok... I've been playing with the file upload stuff all morning, and am 80% of the way there. Here's a quick sample of what my Browse button fires: private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);imageFileRef.addEventListener(Event.SELECT, onSelect);imageName.text = "";imageFileRef.browse([imagesFilter]);} private function fileUpload():void {uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this, flexComponents.uploadProgressBar, true)); var urlVars:URLVariables = new URLVariables();urlVars.userID = model.currentUser.userID;urlVars.mouseID = model.editMouse.mouseID;uploadTarget.data = "">uploadTarget.method = URLRequestMethod.POST;for (var i:int=0; i imageFileRef.fileList.length; i++){imageFileRef.fileList[i].upload(uploadTarget);}}private function progressHandler(event:ProgressEvent):void {var percentLoaded:Number = Number((event.bytesLoaded / event.bytesTotal) * 100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The file is " + percentLoaded.toString() + "% loaded.");} private function onComplete(event:Event):void {Alert.show("Done."); PopUpManager.removePopUp(uploadProgressPopup);} Now, I can browse just fine, and my upload button fires off the upload, and the files make it safely to the server, where ColdFusion saves them to the filesystem. The only problem is that my progressHandler() and onComplete() methods never fire. Is there some trick? Do I need to have ColdFusion return something? Shan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
Re: [flexcoders] File Upload problem?
I have something similar working. Try something like this . private function fileBrowse():void { var imagesFilter:FileFilter = new FileFilter(Images, *.jpg;*.jpeg); configureListeners(imageFileRef); imageName.text = ; imageFileRef.browse([imagesFilter]); } private function configureListeners(dispatcher:IEventDispatcher):void { dispatcher.addEventListener(Event.COMPLETE, onComplete); dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler); dispatcher.addEventListener(Event.SELECT, onSelect); } |-+- | | | | | Shannon Hicks| | | [EMAIL PROTECTED]| | | Sent by: | | | flexcoders@yahoogroups.com | | | 07/13/2006 01:00 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] File Upload problem? | -| Ok... I've been playing with the file upload stuff all morning, and am 80% of the way there. Here's a quick sample of what my Browse button fires: private function fileBrowse():void { var imagesFilter:FileFilter = new FileFilter(Images, *.jpg;*.jpeg); imageFileRef.addEventListener(Event.COMPLETE, onComplete); imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler); imageFileRef.addEventListener(Event.SELECT, onSelect); imageName.text = ; imageFileRef.browse([imagesFilter]); } private function fileUpload():void { uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this, flexComponents.uploadProgressBar, true)); var urlVars:URLVariables = new URLVariables(); urlVars.userID = model.currentUser.userID; urlVars.mouseID = model.editMouse.mouseID; uploadTarget.data = urlVars; uploadTarget.method = URLRequestMethod.POST; for (var i:int=0; i imageFileRef.fileList.length; i++){ imageFileRef.fileList[i].upload(uploadTarget); } } private function progressHandler(event:ProgressEvent):void { var percentLoaded:Number = Number((event.bytesLoaded / event.bytesTotal) * 100); uploadProgressPopup.doUpdateProgress(percentLoaded); Alert.show(The file is + percentLoaded.toString() + % loaded.); } private function onComplete(event:Event):void { Alert.show(Done.); PopUpManager.removePopUp(uploadProgressPopup); } Now, I can browse just fine, and my upload button fires off the upload, and the files make it safely to the server, where ColdFusion saves them to the filesystem. The only problem is that my progressHandler() and onComplete() methods never fire. Is there some trick? Do I need to have ColdFusion return something? Shan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send
RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?
Tried it, still nothing. Is there a bug (or undocumented feature)with the event dispatching when you're uploading multiple files? Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Thursday, July 13, 2006 2:02 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem? I have something similar working. Try something like this .private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function configureListeners(dispatcher:IEventDispatcher):void {dispatcher.addEventListener(Event.COMPLETE, onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);dispatcher.addEventListener(Event.SELECT, onSelect);}|-+-| | || | "Shannon Hicks" || | [EMAIL PROTECTED]com || | Sent by: || | [EMAIL PROTECTED]ups.com || | 07/13/2006 01:00 PM || | Please respond to || | flexcoders || | ||-+---|| || To: [EMAIL PROTECTED]ups.com || cc: || Subject: [flexcoders] File Upload problem? |--|Ok... I've been playing with the file upload stuff all morning, and am 80%of the way there. Here's a quick sample of what my Browse button fires:private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);imageFileRef.addEventListener(Event.SELECT, onSelect);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function fileUpload():void {uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, true));var urlVars:URLVariables = new URLVariables();urlVars.userID = model.currentUser.userID;urlVars.mouseID = model.editMouse.mouseID;uploadTarget.data = "">uploadTarget.method = URLRequestMethod.POST;for (var i:int=0; i imageFileRef.fileList.length; i++){imageFileRef.fileList[i].upload(uploadTarget);}}private function progressHandler(event:ProgressEvent):void {var percentLoaded:Number = Number((event.bytesLoaded /event.bytesTotal) * 100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The file is " + percentLoaded.toString() + "% loaded.");}private function onComplete(event:Event):void {Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, I can browse just fine, and my upload button fires off the upload, andthe files make it safely to the server, where ColdFusion saves them to thefilesystem. The only problem is that my progressHandler() and onComplete()methods never fire.Is there some trick? Do I need to have ColdFusion return something?Shan--No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006--This e-mail message (including attachments, if any) is intended for the useof the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure. If you are not the intended recipient, you are notified thatany dissemination, distribution or copying of this communication isstrictly prohibited. If you have received this communication in error,please notify the sender and erase this e-mail message immediately.-- --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?
It seems that you need to add listeners for each file individually. Take a look at the example in here http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReferenceList.html |-+- | | | | | Shannon Hicks| | | [EMAIL PROTECTED]| | | Sent by: | | | flexcoders@yahoogroups.com | | | 07/13/2006 03:22 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?| -| Tried it, still nothing. Is there a bug (or undocumented feature) with the event dispatching when you're uploading multiple files? Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 13, 2006 2:02 PM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem? I have something similar working. Try something like this . private function fileBrowse():void { var imagesFilter:FileFilter = new FileFilter(Images, *.jpg;*.jpeg); configureListeners(imageFileRef); imageName.text = ; imageFileRef.browse([imagesFilter]); } private function configureListeners(dispatcher:IEventDispatcher):void { dispatcher.addEventListener(Event.COMPLETE, onComplete); dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler); dispatcher.addEventListener(Event.SELECT, onSelect); } |-+- | | | | | Shannon Hicks | | | [EMAIL PROTECTED] | | | Sent by: | | | flexcoders@yahoogroups.com | | | 07/13/2006 01:00 PM | | | Please respond to | | | flexcoders | | | | |-+- --| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] File Upload problem? | --| Ok... I've been playing with the file upload stuff all morning, and am 80% of the way there. Here's a quick sample of what my Browse button fires: private function fileBrowse():void { var imagesFilter:FileFilter = new FileFilter(Images, *.jpg;*.jpeg); imageFileRef.addEventListener(Event.COMPLETE, onComplete); imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler); imageFileRef.addEventListener(Event.SELECT, onSelect); imageName.text = ; imageFileRef.browse([imagesFilter]); } private function fileUpload():void { uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this, flexComponents.uploadProgressBar, true)); var urlVars:URLVariables = new URLVariables(); urlVars.userID = model.currentUser.userID; urlVars.mouseID = model.editMouse.mouseID; uploadTarget.data = urlVars; uploadTarget.method = URLRequestMethod.POST; for (var i:int=0; i imageFileRef.fileList.length; i++){ imageFileRef.fileList[i].upload(uploadTarget); } } private function progressHandler(event:ProgressEvent):void { var percentLoaded:Number = Number((event.bytesLoaded / event.bytesTotal) * 100); uploadProgressPopup.doUpdateProgress(percentLoaded); Alert.show(The file is + percentLoaded.toString() + % loaded.); } private function onComplete(event:Event):void { Alert.show(Done.); PopUpManager.removePopUp(uploadProgressPopup); } Now, I can browse just fine, and my upload button fires off the upload, and the files make it safely to the server, where ColdFusion saves them to the filesystem. The only problem is that my progressHandler() and onComplete() methods never fire. Is there some trick? Do I need to have ColdFusion return something? Shan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006 -- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution
RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?
My last question lead me to RTFM again looks like FileReferenceList doesn't have any events other than "select" and "cancel" So, my next question is how do I know when the upload is complete? Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Thursday, July 13, 2006 2:02 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem? I have something similar working. Try something like this .private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function configureListeners(dispatcher:IEventDispatcher):void {dispatcher.addEventListener(Event.COMPLETE, onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);dispatcher.addEventListener(Event.SELECT, onSelect);}|-+-| | || | "Shannon Hicks" || | [EMAIL PROTECTED]com || | Sent by: || | [EMAIL PROTECTED]ups.com || | 07/13/2006 01:00 PM || | Please respond to || | flexcoders || | ||-+---|| || To: [EMAIL PROTECTED]ups.com || cc: || Subject: [flexcoders] File Upload problem? |--|Ok... I've been playing with the file upload stuff all morning, and am 80%of the way there. Here's a quick sample of what my Browse button fires:private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);imageFileRef.addEventListener(Event.SELECT, onSelect);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function fileUpload():void {uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, true));var urlVars:URLVariables = new URLVariables();urlVars.userID = model.currentUser.userID;urlVars.mouseID = model.editMouse.mouseID;uploadTarget.data = "">uploadTarget.method = URLRequestMethod.POST;for (var i:int=0; i imageFileRef.fileList.length; i++){imageFileRef.fileList[i].upload(uploadTarget);}}private function progressHandler(event:ProgressEvent):void {var percentLoaded:Number = Number((event.bytesLoaded /event.bytesTotal) * 100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The file is " + percentLoaded.toString() + "% loaded.");}private function onComplete(event:Event):void {Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, I can browse just fine, and my upload button fires off the upload, andthe files make it safely to the server, where ColdFusion saves them to thefilesystem. The only problem is that my progressHandler() and onComplete()methods never fire.Is there some trick? Do I need to have ColdFusion return something?Shan--No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006--This e-mail message (including attachments, if any) is intended for the useof the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure. If you are not the intended recipient, you are notified thatany dissemination, distribution or copying of this communication isstrictly prohibited. If you have received this communication in error,please notify the sender and erase this e-mail message immediately.-- --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?
That's exactly what I needed. I shoehorned their code into something my app could use :) Thanks! Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Thursday, July 13, 2006 3:15 PMTo: flexcoders@yahoogroups.comSubject: RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem? It seems that you need to add listeners for each file individually. Take alook at the example in here http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReferenceList.html|-+-| | || | "Shannon Hicks" || | [EMAIL PROTECTED]com || | Sent by: || | [EMAIL PROTECTED]ups.com || | 07/13/2006 03:22 PM || | Please respond to || | flexcoders || | ||-+---|| || To: [EMAIL PROTECTED]ups.com || cc: || Subject: RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem? |--|Tried it, still nothing.Is there a bug (or undocumented feature) with the event dispatching whenyou're uploading multiple files?ShanFrom: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] OnBehalf Of Oscar.Cortes@sunlife.comSent: Thursday, July 13, 2006 2:02 PMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?I have something similar working. Try something like this .private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function configureListeners(dispatcher:IEventDispatcher):void {dispatcher.addEventListener(Event.COMPLETE, onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);dispatcher.addEventListener(Event.SELECT, onSelect);}|-+-| | || | "Shannon Hicks" || | [EMAIL PROTECTED]com || | Sent by: || | [EMAIL PROTECTED]ups.com || | 07/13/2006 01:00 PM || | Please respond to || | flexcoders || | ||-+---|| || To: [EMAIL PROTECTED]ups.com || cc: || Subject: [flexcoders] File Upload problem? |--|Ok... I've been playing with the file upload stuff all morning, and am 80%of the way there. Here's a quick sample of what my Browse button fires:private function fileBrowse():void {var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);imageFileRef.addEventListener(Event.SELECT, onSelect);imageName.text = "";imageFileRef.browse([imagesFilter]);}private function fileUpload():void {uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, true));var urlVars:URLVariables = new URLVariables();urlVars.userID = model.currentUser.userID;urlVars.mouseID = model.editMouse.mouseID;uploadTarget.data = "">uploadTarget.method = URLRequestMethod.POST;for (var i:int=0; i imageFileRef.fileList.length; i++){imageFileRef.fileList[i].upload(uploadTarget);}}private function progressHandler(event:ProgressEvent):void {var percentLoaded:Number = Number((event.bytesLoaded /event.bytesTotal) * 100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The file is " + percentLoaded.toString() + "% loaded.");}private function onComplete(event:Event):void {Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, I can browse just fine, and my upload button fires off the upload, andthe files make it safely to the server, where ColdFusion saves them to thefilesystem. The only problem is that my progressHandler() and onComplete()methods never fire.Is there some trick? Do I need to have ColdFusion return something?Shan--No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006--This e-mail message (including attachments, if any) is intended for the useof the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure. If you are not the intended recipient, you are notified thatany dissemination, distribution or copying of this communication isstrictly prohibited. If you have received this communication in error,please notify the sender and erase this e-mail message immediately.No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.
[flexcoders] file upload
Hi friends,I am using Flex Builder2Beta3 and Java Server Pages and SQLServer 2005 for my project development. I have to provide "file upload" functionality to upload a file in to sql database..If anybody knows the "File Upload" code using actionscript3.0 and JSP, please send that code.Thanks Regards,Sreedhar Send instant messages to your online friends http://in.messenger.yahoo.com Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] file upload
Checkout: Programming ActionScript 3.0 Flash Player APIs Networking and Communication In the Flex Builder help, fully documented examples. As for the JSP side, its business as usual you have to handle a multi-part form submission and process as if it were a html form. Cheers, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sreedhar reddy Sent: Friday, June 02, 2006 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hi friends, I am using Flex Builder2Beta3 and Java Server Pages and SQLServer 2005 for my project development. I have to provide file upload functionality to upload a file in to sql database.. If anybody knows the File Upload code using actionscript3.0 and JSP, please send that code. Thanks Regards, Sreedhar Send instant messages to your online friends http://in.messenger.yahoo.com Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] File Upload In Flex 2.0 Using PHP??
Does anyone know how to File Upload In Flex 2.0 Using PHP?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File Upload In Flex 2.0 Using PHP??
same as that in flash 8. FileReference and FileList are always there.On 4/18/06, Faisal Abid [EMAIL PROTECTED] wrote: Does anyone know how toFile Upload In Flex 2.0 Using PHP?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] File Upload In Flex
Are there any controls in flex that allow you to upload images to the server? Are we able to use the flash 8 upload feature? Thanks Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File Upload In Flex
The upload can be tricky to work with but it does work. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian McPheeters Sent: Wednesday, December 07, 2005 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload In Flex Are there any controls in flex that allow you to upload images to the server? Are we able to use the flash 8 upload feature? Thanks Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] File Upload In Flex
http://www.macromedia.com/devnet/flex/articles/fp8_features.html - Original Message - From: Brian McPheeters To: flexcoders@yahoogroups.com Sent: Wednesday, December 07, 2005 12:20 PM Subject: [flexcoders] File Upload In Flex Are there any controls in flex that allow you to upload images to the server? Are we able to use the flash 8 upload feature? Thanks Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] File Upload over HTTPS: Solved!
All, There have been a lot of posts recently at the MACR web site, in the MACR NNTP newsgroups and several threads here (as well as other places) about using the file upload features over HTTPS. Specifically, the problem many folks saw was that it worked great on HTTP but failed with an IOError when using HTTPS. Earlier in the week our team at Cynergy determined that it was clearly a crossdomain.xml issue since HTTPS worked properly on ports above 1024, e.g. 8443. With this in mind, we set out to find the right combination of settings to make HTTPS work properly on its home port of 443. We now have a working solution on two different servers and we wanted to share this knowledge with the community. The problem actually has several variables and factors that need to be considered. First and foremost, our formula for success relied on loadPolicyFile (): System.security.loadPolicyFile ('https://flexdemos.cynergysystems.com/support/crossdomain.xml'); The docs of this method state that the player caches these policies, so be sure to close all Flash Player instances down. The docs also state that this call must occur before any access is attempted. In our application we found that making the call several lines before the upload was attempted failed. How do we know it failed? Our web server access logs didn't show crossdomain.xml ever being requested. Once we moved this line of code to be the first code executed inside of our application's initialize event, we suddenly saw the request come through on our access logs. At last- progress! Progress, but not success. Uploading still failed with a bland IOError. We ended up trying several different combinations, and what we found was that we had to use explicit absolute URLs and port numbers. Our crossdomain.xml file then read: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=flexdemos.cynergysystems.com to- ports=443 / /cross-domain-policy Notice how we didn't use the * anywhere in the file- we explicitly authorized our fully named domain and port 443. Finally, the URL used to do the upload also required explicit definition. We used: https://flexdemos.cynergysystems.com:443/support/websrv/uploadservlet ?threadid= + tId.toString(); Notice in particular that we explicitly set port 443. Not sure why that was required, but it was and it works ;-) With this combination of settings, we are successfully using fileIO.swf with Flex 1.5/Flash Player 8 over HTTPS on port 443 in production. I hope this information is useful to many, if only to confirm that the code MACR provided does indeed work properly. The debate will now rage over the fact that absolute URLs and explicit ports have to be declared- bug or not? Who knows... HTH, Jason -- Jason Weiss Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: jasonDOTweissATcynergysystemsDOTcom Office: 866-CYNERGY Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] File Upload over HTTPS: Solved!
This is a bug in the 8.0.22 player... if you use the 8.0.15 player, everything works fine. MM is going to fix it, we (me and another developer here) worked with MM Support and discovered this info last week. A bit late in posting, but I guess now with your info as well, this should help a few people. Jimmy Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Jason R. Weiss Sent: Wed 11/9/2005 8:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload over HTTPS: Solved! All, There have been a lot of posts recently at the MACR web site, in the MACR NNTP newsgroups and several threads here (as well as other places) about using the file upload features over HTTPS. Specifically, the problem many folks saw was that it worked great on HTTP but failed with an IOError when using HTTPS. Earlier in the week our team at Cynergy determined that it was clearly a crossdomain.xml issue since HTTPS worked properly on ports above 1024, e.g. 8443. With this in mind, we set out to find the right combination of settings to make HTTPS work properly on its home port of 443. We now have a working solution on two different servers and we wanted to share this knowledge with the community. The problem actually has several variables and factors that need to be considered. First and foremost, our formula for success relied on loadPolicyFile (): System.security.loadPolicyFile ('https://flexdemos.cynergysystems.com/support/crossdomain.xml'); The docs of this method state that the player caches these policies, so be sure to close all Flash Player instances down. The docs also state that this call must occur before any access is attempted. In our application we found that making the call several lines before the upload was attempted failed. How do we know it failed? Our web server access logs didn't show crossdomain.xml ever being requested. Once we moved this line of code to be the first code executed inside of our application's initialize event, we suddenly saw the request come through on our access logs. At last- progress! Progress, but not success. Uploading still failed with a bland IOError. We ended up trying several different combinations, and what we found was that we had to use explicit absolute URLs and port numbers. Our crossdomain.xml file then read: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=flexdemos.cynergysystems.com to- ports=443 / /cross-domain-policy Notice how we didn't use the * anywhere in the file- we explicitly authorized our fully named domain and port 443. Finally, the URL used to do the upload also required explicit definition. We used: https://flexdemos.cynergysystems.com:443/support/websrv/uploadservlet ?threadid= + tId.toString(); Notice in particular that we explicitly set port 443. Not sure why that was required, but it was and it works ;-) With this combination of settings, we are successfully using fileIO.swf with Flex 1.5/Flash Player 8 over HTTPS on port 443 in production. I hope this information is useful to many, if only to confirm that the code MACR provided does indeed work properly. The debate will now rage over the fact that absolute URLs and explicit ports have to be declared- bug or not? Who knows... HTH, Jason -- Jason Weiss Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: jasonDOTweissATcynergysystemsDOTcom Office: 866-CYNERGY -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] File Upload / FileIO
Something is accessing it. Meaning, Flash 8 is currently viewing the SWF, or you have it open. FlexBuilder will not upload a file if something has a file handle open to the file. Close all applications referencing the SWF, reboot FlexBuilder, and try again. - Original Message - From: mackdoyle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 24, 2005 11:18 AM Subject: [flexcoders] File Upload / FileIO I am trying to get the file upload working and have placed all of the files in the app root for now. When I try to run the main.mxml in Flex Builder, I get an error message saying An error occurred - cannot put fileio.swf. The process cannot access the file because it is being used by another process. Any ideas what is causing this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File Upload / FileIO
...or are you talking about the actual ability to upload files via the File object in Flash 8? - Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 25, 2005 10:51 AM Subject: Re: [flexcoders] File Upload / FileIO Something is accessing it. Meaning, Flash 8 is currently viewing the SWF, or you have it open. FlexBuilder will not upload a file if something has a file handle open to the file. Close all applications referencing the SWF, reboot FlexBuilder, and try again. - Original Message - From: mackdoyle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 24, 2005 11:18 AM Subject: [flexcoders] File Upload / FileIO I am trying to get the file upload working and have placed all of the files in the app root for now. When I try to run the main.mxml in Flex Builder, I get an error message saying An error occurred - cannot put fileio.swf. The process cannot access the file because it is being used by another process. Any ideas what is causing this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] File Upload / FileIO
I am trying to get the file upload working and have placed all of the files in the app root for now. When I try to run the main.mxml in Flex Builder, I get an error message saying An error occurred - cannot put fileio.swf. The process cannot access the file because it is being used by another process. Any ideas what is causing this? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] File Upload to oracle 9i DB
Hi All, I already posted this question also I got replies for this but still my problem solved :( I want to save my uploaded file in DB my DB is Oracle 9i. To store file in DB I am still using fileIO feature. From mxml page I am sending file name to JSP page as, x= x+?fileName=+uploadURL.text+passcreBy=+passcreBy; where x=my JSP page name by doing , request.getParameter(fileName) I am getting the File Name on JSP page. Now in JSP I am creating instance of my Java class which has save() method. To this method I want to pass my attached file name. In normal way I can do this. but in that Java class I need to get the data of this file which I am not able to get yet. If I use javazoom.upload.UploadFIle then this class has method getData() but this works fine only with plain JSP.As in plain jsp to get the file name one can do, UploadFile file = (UploadFile) files.get(uploadfile); where uploadfile is the name of, input type=file name=uploadfile size=50 But as I am passing my file name from Flex to JSP how I can do this. Hope whoever seeing this my problem will understand. Thx in advance, sandip patil Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File upload: 'Browse' only working on localhost?
Hi Carson, I tried your URL . It perfectly works well. Can you plz give me some idea how are you using JSP rather than CFM file. I really want to configure everything in tomcat so i want to use the JSP file not cfm. Please help me in this regard Thanks Manish Jain --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: See if the following works for you. We used a JSP rather than a CFM...no ColdFusion in these parts. ;) http://flexdemos.cynergysystems.com/samples/upload/main.mxml Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manishreisha Sent: Thursday, September 29, 2005 6:06 PM To: flexcoders@yahoogroups.com Subject: Re: RE: [flexcoders] File upload: 'Browse' only working on localhost? Hi all, I also tried the code for File Upload. Even after downloading the flash player 8. It does not work I am usind the same file upload.cfm to upload the file. What happens it just freezes on initialization. Others applications just work fine. If anyone of you configured that . please let me know if I am doing something doing something wrong. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File upload: 'Browse' only working on localhost?
The same problem I was getting then I put FileIO fileinmy root directory. just check your directory structuremanish [EMAIL PROTECTED] wrote: Hi Carson, I tried your URL . It perfectly works well. Can you plz give mesome idea how are you using JSP rather than CFM file. I really want toconfigure everything in tomcat so i want to use the JSP file not cfm.Please help me in this regardThanksManish Jain--- In flexcoders@yahoogroups.com, "Carson Hager" [EMAIL PROTECTED]wrote: See if the following works for you. We used a JSP rather than a CFM...no ColdFusion in these parts. ;) http://flexdemos.cynergysystems.com/samples/upload/main.mxml Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manishreisha Sent: Thursday, September 29, 2005 6:06 PM To: flexcoders@yahoogroups.com Subject: Re: RE: [flexcoders] File upload: 'Browse' only working on localhost?Hi all, I also tried the code for File Upload. Even after downloading the flash player 8. It does not work I am usind the same file upload.cfm to upload the file. What happens it just freezes on initialization. Others applications just work fine. If anyone of you configured that . please let me know if I am doing something doing something wrong. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web.* To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: Re: [flexcoders] File upload: 'Browse' only working on localhost?
hi sandeep, Everything is working fine on my side. i just want the JSP code so that i can use JSP instead of CFM as i am using tomcat and i do not want to use the cold fusion server. it works fine , it downloads fine if i manually put some file in upload folder. all i want to use the JSP code instead ofCF file. If you have that JSP code Please mail me to my ID: [EMAIL PROTECTED]. I will appreciate this. ThanksManish Jain flexcoders@yahoogroups.com wrote: The same problem I was getting then I put FileIO fileinmy root directory. just check your directory structuremanish [EMAIL PROTECTED] wrote: Hi Carson, I tried your URL . It perfectly works well. Can you plz give mesome idea how are you using JSP rather than CFM file. I really want toconfigure everything in tomcat so i want to use the JSP file not cfm.Please help me in this regardThanksManish Jain--- In flexcoders@yahoogroups.com, "Carson Hager" [EMAIL PROTECTED]wrote: See if the following works for you. We used a JSP rather than a CFM...no ColdFusion in these parts. ;) http://flexdemos.cynergysystems.com/samples/upload/main.mxml Carson Carson Hager Cynergy Systems, Inc.! http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manishreisha Sent: Thursday, September 29, 2005 6:06 PM To: flexcoders@yahoogroups.com Subject: Re: RE: [flexcoders] File upload: 'Browse' only working on localhost?Hi all, I also tried the code for File Upload. Even after downloading the flash player 8. It ! does not work I am usind the same file upload.cfm to upload the file. What happens it just freezes on initialization. Others applications just work fine. If anyone of you configured that . please let me know if I am doing something doing something wrong. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS! sp; * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web.* To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! for GoodClick here to donate to the Hurricane Katrina relief effort. Indiatimes Email now powered by APIC Advantage. Help! Help -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: Re: [flexcoders] File upload: 'Browse' only working on localhost?
FYI, our problem was improper case copied over from example code. Worked on windows but was failing on remote solaris deployments. ;-) Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manishreisha Sent: Monday, October 03, 2005 11:32 AM To: flexcoders@yahoogroups.com Subject: Re: Re: [flexcoders] File upload: 'Browse' only working on localhost? hi sandeep, Everything is working fine on my side. i just want the JSP code so that i can use JSP instead of CFM as i am using tomcat and i do not want to use the cold fusion server. it works fine , it downloads fine if i manually put some file in upload folder. all i want to use the JSP code instead ofCF file. If you have that JSP code Please mail me to my ID: [EMAIL PROTECTED]. I will appreciate this. Thanks Manish Jain flexcoders@yahoogroups.com wrote: The same problem I was getting then I put FileIO fileinmy root directory. just check your directory structure manish [EMAIL PROTECTED] wrote: Hi Carson, I tried your URL . It perfectly works well. Can you plz give me some idea how are you using JSP rather than CFM file. I really want to configure everything in tomcat so i want to use the JSP file not cfm. Please help me in this regard Thanks Manish Jain --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: See if the following works for you. We used a JSP rather than a CFM...no ColdFusion in these parts. ;) http://flexdemos.cynergysystems.com/samples/upload/main.mxml Carson Carson Hager Cynergy Systems, In! c.! http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manishreisha Sent: Thursday, September 29, 2005 6:06 PM To: flexcoders@yahoogroups.com Subject: Re: RE: [flexcoders] File upload: 'Browse' only working on localhost? Hi all, I also tried the code for File Upload. Even after downloading the flash player 8. I! t ! does not work I am usind the same file upload.cfm to upload the file. What happens it just freezes on initialization. Others applications just work fine. If anyone of you configured that . please let me know if I am doing something doing something wrong. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS ! nb! sp; * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. Indiatimes Email now powered by APIC Advantage. Help! Help -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: RE: [flexcoders] File upload: 'Browse' only working on localhost?
Hi all, I also tried the code for File Upload. Even after downloading the flash player 8. It does not work I am usind the same file upload.cfm to upload the file. What happens it just freezes on initialization. Others applications just work fine. If anyone of you configured that . please let me know if I am doing something doing something wrong. Thanks Manish JainIndiatimes Email now powered by APIC Advantage. Help! Help -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
Im using the sample code from mm.com siteNo significant changes. http://www.macromedia.com/devnet/flex/articles/fp8_features.html Are there any kind of security restrictions that would come into effect when deployed to remote domain? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Tuesday, September 27, 2005 8:11 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] File upload: 'Browse' only working on localhost? What browser? Can you post the code you're using to open the window? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Tuesday, September 27, 2005 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
Stacy, I'm getting a production example of this set up now. Given the sandbox that the flash player runs in, I'm surprised that this would work out of the box. We need this functionality for several things so I'll be working through. I'll post back here with what I find. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Wednesday, September 28, 2005 8:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? Im using the sample code from mm.com siteNo significant changes. http://www.macromedia.com/devnet/flex/articles/fp8_features.html Are there any kind of security restrictions that would come into effect when deployed to remote domain? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: Tuesday, September 27, 2005 8:11 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? What browser? Can you post the code you're using to open the window? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Tuesday, September 27, 2005 11:13 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
Now that I've said that, I realize that this shouldn't be that much of an issue provided it follows the rules for file access which are basically that the access has to be user driven rather than script driven. More to come. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 From: Carson Hager Sent: Wednesday, September 28, 2005 3:14 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? Stacy, I'm getting a production example of this set up now. Given the sandbox that the flash player runs in, I'm surprised that this would work out of the box. We need this functionality for several things so I'll be working through. I'll post back here with what I find. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Wednesday, September 28, 2005 8:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? Im using the sample code from mm.com siteNo significant changes. http://www.macromedia.com/devnet/flex/articles/fp8_features.html Are there any kind of security restrictions that would come into effect when deployed to remote domain? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: Tuesday, September 27, 2005 8:11 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? What browser? Can you post the code you're using to open the window? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Tuesday, September 27, 2005 11:13 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
I got this to work perfectly once I told Flex to generate an object tag requiring Flash player 8 rather than 7. You can do this in flex-config.xml. Thanks to Jason Weiss of Cynergy for that tip on changing the required version of the Flash player. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Wednesday, September 28, 2005 8:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? Im using the sample code from mm.com siteNo significant changes. http://www.macromedia.com/devnet/flex/articles/fp8_features.html Are there any kind of security restrictions that would come into effect when deployed to remote domain? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: Tuesday, September 27, 2005 8:11 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] File upload: 'Browse' only working on localhost? What browser? Can you post the code you're using to open the window? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Tuesday, September 27, 2005 11:13 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
Yep, not the issue Im having. Everything works fine when running against my local app server. The exact same application deployed on another box is whats causing the issue. Same browser, same codedifferent hostweird From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Wednesday, September 28, 2005 6:53 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] File upload: 'Browse' only working on localhost? I got this to work perfectly once I told Flex to generate an object tag requiring Flash player 8 rather than 7. You can do this in flex-config.xml. Thanks to Jason Weiss of Cynergy for that tip on changing the required version of the Flash player. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Wednesday, September 28, 2005 8:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] File upload: 'Browse' only working on localhost? Im using the sample code from mm.com siteNo significant changes. http://www.macromedia.com/devnet/flex/articles/fp8_features.html Are there any kind of security restrictions that would come into effect when deployed to remote domain? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Tuesday, September 27, 2005 8:11 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] File upload: 'Browse' only working on localhost? What browser? Can you post the code you're using to open the window? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Tuesday, September 27, 2005 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File upload: 'Browse' only working on localhost?
What browser? Can you post the code you're using to open the window? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Tuesday, September 27, 2005 11:13 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File upload: 'Browse' only working on localhost? Strange problemwonder if theres some security limitation at play herewhen deploying my application locally I can browse and select a file to upload to me local server. When this application is deployed on a remote server and accessed from a remote clientI can no longer get flash player to pop the file browser window. Very odd Any ideas appreciated! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE : [flexcoders] File Upload
I'm just curious, since flash player 8 is still beta, how will you make a flash player version test (flash 8) + ask your visitors to download a 'beta' player ? Philippe De: flexcoders@yahoogroups.com de la part de Kelly Date: ven. 12/08/2005 23:49 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] File Upload You happened to have asked this question two days after it became possible to do this within Flex itself. (Not using HTML forms) I just implemented it on my site. It's dope. http://www.macromedia.com/devnet/flex/articles/fp8_features.html It requires Flash Player 8 Beta. If you have any trouble implementing it let me know. Its pretty easy though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsm8lo0/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124030074/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
RE: [flexcoders] File Upload
I am only using for internal stuff until the actual player releases sometime next month. Other wise I would have to have some sort of opening page that states the requirements of the site with a link to the Flash Beta download. I just used it for building a music player on my personal site: www.dekaydmedia.com http://www.dekaydmedia.com/ It's got my personal music library on the server and when I want I just upload new stuff to it. I do plan on implementing it for many other things but I just wanted to test it and see how it works for right now. Flash 8 will be out soon enough though. If you build and test now then when it releases you can go straight to production. --Kelly _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman Sent: Sunday, August 14, 2005 8:33 AM To: flexcoders@yahoogroups.com Subject: RE : [flexcoders] File Upload I'm just curious, since flash player 8 is still beta, how will you make a flash player version test (flash 8) + ask your visitors to download a 'beta' player ? Philippe _ De: flexcoders@yahoogroups.com de la part de Kelly Date: ven. 12/08/2005 23:49 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] File Upload You happened to have asked this question two days after it became possible to do this within Flex itself. (Not using HTML forms) I just implemented it on my site. It's dope. http://www.macromedia.com/devnet/flex/articles/fp8_features.html It requires Flash Player 8 Beta. If you have any trouble implementing it let me know. Its pretty easy though. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h44tkcn/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124065659/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ attachment: winmail.dat
[flexcoders] File Upload
I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hk2n8l2/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123888434/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] File Upload
Flash 8 supports thisbut I believe youd have to wait until Studio 8 is released in order to compile flash 8 swfs to get what u want -Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File Upload
See this link for some solutions: http://www.cflex.net/search.cfm?SearchString=file+uploadCollection=kms_Filesx=13y=4 Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hqr7k5e/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123888798/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] File Upload
You happened to have asked this question two days after it became possible to do this within Flex itself. (Not using HTML forms) I just implemented it on my site. Its dope. http://www.macromedia.com/devnet/flex/articles/fp8_features.html It requires Flash Player 8 Beta. If you have any trouble implementing it let me know. Its pretty easy though. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File Upload
You happened to have asked this question two days after it became possible to do this within Flex itself. (Not using HTML forms) I just implemented it on my site. Its dope. http://www.macromedia.com/devnet/flex/articles/fp8_features.html It requires Flash Player 8 Beta. If you have any trouble implementing it let me know. Its pretty easy though. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] File Upload
Here is the article on the Macromedia site: http://www.macromedia.com/devnet/flex/articles/fp8_features.html -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, August 12, 2005 2:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Upload I am working on a backend system, built on flex and cf. And issue that I have ran into is creating a local file browse so that users can upload files from with in the flex app. Does anyone know if this is even possible? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hk2n8l2/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123888434 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h42o842/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123890887/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] File Upload in Flex with Cold Fusion
Hello everyone, Jack D. Minster has written an excellent article on overcoming the limitation of not being able to upload files with Flex. This is a deceptively simple solution, and one worth checking out. Direct access to the article is: http://www.flexauthority.com/articlesIndex.cfm Let me know what you think, Jeff http://www.flexauthority.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] File upload from Jimmy Gianninas Prob
Hi, im new to flex and read the article about fileupload from Jimmy Gianninas. Everything works fine but the refresh of the main app wont work with my code. i copied the part of the upload.jsp just like in the example: mm:mxml mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=1 height=1 initialize=initialize() mx:Script var myConnection; function initialize() { myConnection = new LocalConnection(); myConnection.send(mainApp, messagePosted, uploadSuccess); myConnection.onStatus = mx.utils.Delegate.create( this, onStatus ); } function onStatus( result ) { getURL( javascript:doClose() ); } /mx:Script /mx:Application /mm:mxml script language=Javascript function doClose() { window.close(); } /script Here is the code of my main as file: function initApp():Void { myConnection = new LocalConnection(); myConnection.messagePosted = mx.utils.Delegate.create( this, messagePosted ); myConnection.connect(mainApp); } public function messagePosted( mess:Object ):Void { alert(1); if( mess == uploadSuccess ) { alert(hi); } } The Problem is: nothing happens after the file upload. (ok the js works fine and closes the popup). Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/