RE: [Flashcoders] FileReference

2010-10-21 Thread Lehr, Theodore
Subject: Re: [Flashcoders] FileReference Lehr, Theodore skriver: > 1061: Call to a possibly undefined method save through a reference with > static type flash.net:FileReference > > Why would it work in one but not the other? Because only one of them targets FP 10 where the meth

Re: [Flashcoders] FileReference

2010-10-21 Thread Henrik Andersson
Lehr, Theodore skriver: 1061: Call to a possibly undefined method save through a reference with static type flash.net:FileReference Why would it work in one but not the other? Because only one of them targets FP 10 where the method was added. ___ Fl

RE: [Flashcoders] FileReference

2010-10-21 Thread Lehr, Theodore
: Thursday, October 21, 2010 8:55 AM To: Flash Coders List Subject: Re: [Flashcoders] FileReference don't, but given your example I /think/ that's logical: var file:FileReference(); <- this is not instanciation var file:FileReference = new FileReference() should be better and by d

Re: [Flashcoders] FileReference

2010-10-21 Thread Cédric Muller
don't, but given your example I /think/ that's logical: var file:FileReference(); <- this is not instanciation var file:FileReference = new FileReference() should be better and by doing such you shoudn't see the error message > I have two files where I use: > > var file:FileReference(); > var j

Re: [Flashcoders] fileReference failing silently

2010-08-10 Thread Matt S.
Thanks Juan! Looks like that did the trick. Cheers, .m On Mon, Aug 9, 2010 at 8:14 PM, Juan Pablo Califano wrote: > The issue here is quite likely the garbage collector doing its job... > > You FileRefence object is referenced only in a local variable in > the deskClickHandler method. After the

Re: [Flashcoders] fileReference failing silently

2010-08-09 Thread Juan Pablo Califano
The issue here is quite likely the garbage collector doing its job... You FileRefence object is referenced only in a local variable in the deskClickHandler method. After the method returns, since there's no other reference to it, it's eligible for collection. So it might stick around or not. In yo

Re: [Flashcoders] FileReference returning full path?

2007-07-26 Thread Muzak
Upload the file and return the full path when done. Look into the uploadCompleteData event http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html#event:uploadCompleteData regards, Muzak - Original Message - From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> T

Re: [Flashcoders] FileReference

2007-06-21 Thread Muzak
you'll have to find another way to get information from the server (if needed) after a file has been uploaded. regards, Muzak - Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: Sent: Thursday, June 21, 2007 9:54 PM Subject: RE: [Flashcoders] Fil

Re: [Flashcoders] FileReference

2007-06-21 Thread Muzak
The file has to be uploaded to your server first, so your assumption that you don't need a backend script isn't correct. You don't have direct acces to files through a FileReference instance, for security reasons. So after the user has selected the file using FileReference.browse(), you have to

RE: [Flashcoders] FileReference

2007-06-21 Thread Merrill, Jason
I don't think you can access the contents, but you should know where the file is uploaded to on your server, and thus, with the selected filename from FileReference, you know the filename and thus along with Flash's ._url property, all the info about the URL you need. Jason Merrill Bank of Ameri

Re: [Flashcoders] FileReference

2007-06-21 Thread Nick Johnston
Paul, FileReference allows for the upload and download of files. You first have to upload the file (with use of a backend script (PHP or whatever). Once the file is uploaded you can use the FileReference's download() method to download the file. You should then be able to open the file and di

Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Evan Bond
Nevermindgot one working. I'd still like to know if anyone has had similar issues uploading through flash player 9 with classic ASP? and if so, how they overcame it. Cheers, Evan On 1/2/07, Evan Bond <[EMAIL PROTECTED]> wrote: Scratch that...I just found out the server supports ASP.NET<

Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Evan Bond
Scratch that...I just found out the server supports ASP.NET and we can make use of it Could you point me to a good Flash + .NET upload example script? Thanks, Evan On 1/2/07, Evan Bond <[EMAIL PROTECTED]> wrote: Yes, we are using classic ASP Unfortunately it is the only option we have as t

Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Evan Bond
Yes, we are using classic ASP Unfortunately it is the only option we have as the server only supports classic ASP (no PHP, ASP.NET or CF) On 1/2/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: We do it with Flash 9 and .ASP .NET and it works fine. Not sure about classic ASP - is that what yo

RE: [Flashcoders] FileReference + ASP + FlashPlayer9

2007-01-02 Thread Merrill, Jason
We do it with Flash 9 and .ASP .NET and it works fine. Not sure about classic ASP - is that what you refer to? Jason Merrill Bank of America Learning & Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscrip

Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2006-12-29 Thread Evan Bond
I'm not sure what to check exactly. I added the domain ppt.unisurv.com to my allowed list.still a no go though on the uploading using FP9 On 12/29/06, l u c h y x <[EMAIL PROTECTED]> wrote: Yep yep. The same behavior here. Did you check the privacy settings ? Also check this Firefox plug-i

Re: [Flashcoders] FileReference + ASP + FlashPlayer9

2006-12-29 Thread l u c h y x
Yep yep. The same behavior here. Did you check the privacy settings ? Also check this Firefox plug-in. http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php Best On 12/29/06, Evan Bond <[EMAIL PROTECTED]> wrote: Hi all, this is my first post on this list :) Hope som

Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread Carl Welch
Thanks guys. First I tried setting the mac file types to tink's list (ie: macType:"MPG3;MP3_;Mp3_;MPEG"). Didn't work. Then I read Josh's page and he suggested not putting any mactype... It worked. Sweet. Thanks again. On 10/29/06, John VanHorn <[EMAIL PROTECTED]> wrote: heres another good arti

Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread John VanHorn
heres another good article: http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/ On 10/29/06, Carl Welch <[EMAIL PROTECTED]> wrote: I have an project that needs to allow users to only upload mp3 files. It works fine on a PC. But on a mac the mp3 files are greyed out and the user

Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread John VanHorn
the mac file type for an mp3 will be (note the spaces in the strings - mac file types are 4 characters) "MP3 " or "Mp3 ".i think. mac file types and pc file types are not the same. check this article: http://www.tink.ws/blog/macintosh-file-types/ i did some stuff with FileReference a while b

Re: [Flashcoders] FileReference and mac file types

2006-10-29 Thread Muzak
http://www.google.com/search?hl=en&q=filereference+mactype&meta= http://www.tink.ws/blog/macintosh-file-types/ http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/ regards, Muzak - Original Message - From: "Carl Welch" <[EMAIL PROTECTED]> To: "Flashcoders mailing list"

RE: [Flashcoders] FileReference browse() window

2006-09-22 Thread Merrill, Jason
>>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Michael Stuhr >>Sent: Thursday, September 21, 2006 6:35 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] FileReference browse() window >> >>Merrill, Jason schrieb: >&

Re: [Flashcoders] FileReference browse() window

2006-09-21 Thread Michael Stuhr
Merrill, Jason schrieb: I'm using the Filerefence class on a project, and it works great uploading a file to our .NET server. (actually let me say, it's AWESOME - Flash should have had this a looong time ago). Question: Is there a way to control the X and Y position of the Filereference browse

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-26 Thread David Rorex
nd?? All the samples are in AS1 and I don't know what to do for my events :( - Original Message From: hank williams <[EMAIL PROTECTED]> To: Flashcoders mailing list Sent: Sunday, June 25, 2006 5:20:43 PM Subject: Re: [Flashcoders] FileReference and actionscript 2.0 I am curio

RE: [Flashcoders] FileReference and actionscript 2.0

2006-06-26 Thread Mike
:FileReferenceListener = new FileReferenceListener(); file.addListener(listener); // Do stuff with "file". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of human ghaderyan Sent: Sunday, June 25, 2006 7:34 AM To: Flashcoders mailing list Subject: Re: [Fla

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-25 Thread human ghaderyan
e in AS1 and I don't know what to do for my events :( - Original Message From: hank williams <[EMAIL PROTECTED]> To: Flashcoders mailing list Sent: Sunday, June 25, 2006 5:20:43 PM Subject: Re: [Flashcoders] FileReference and actionscript 2.0 I am curious what those tricks are. What I

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-25 Thread hank williams
david. I think I can do some tricks to return value after completion of download. - Original Message From: David Rorex <[EMAIL PROTECTED]> To: Flashcoders mailing list Sent: Sunday, June 25, 2006 9:21:58 AM Subject: Re: [Flashcoders] FileReference and actionscript 2.0 On 6/

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-24 Thread human ghaderyan
Thanx david. I think I can do some tricks to return value after completion of download. - Original Message From: David Rorex <[EMAIL PROTECTED]> To: Flashcoders mailing list Sent: Sunday, June 25, 2006 9:21:58 AM Subject: Re: [Flashcoders] FileReference and actionscript 2.0 O

Re: [Flashcoders] FileReference and actionscript 2.0

2006-06-24 Thread David Rorex
On 6/23/06, human ghaderyan <[EMAIL PROTECTED]> wrote: Hi list I try to use FileReference class in a actionscript 2.0 project. the browse and upload methods work fine but it seems that this class designed for AS 1.0 (???). I can't find any AS 2.0 sample and don't know what to do for catching

Re: [Flashcoders] FileReference and Getting File Path

2006-06-16 Thread David Rorex
: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin > Sent: Thursday, June 15, 2006 1:56 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] FileReference and Getting File Path > > Not sure if this will help, but maybe you can copy the image to the &

Re: [Flashcoders] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin
ist Subject: Re: [Flashcoders] FileReference and Getting File Path Not sure if this will help, but maybe you can copy the image to the users cache to display it. // make a working copy of a file on the user's disk var fileRef = new FileReference(); if (fileRef.browse(["Text Files", "*

RE: [Flashcoders] FileReference and Getting File Path

2006-06-15 Thread Geoffrey Williams
EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, June 15, 2006 1:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] FileReference and Getting File Path Not sure if this will help, but maybe you can copy the image to the users cache to display it. // make a working copy o

Re: [Flashcoders] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin
Not sure if this will help, but maybe you can copy the image to the users cache to display it. // make a working copy of a file on the user's disk var fileRef = new FileReference(); if (fileRef.browse(["Text Files", "*.txt"]) { fileRef.copyIntoCache("backup-data.txt"); var newFile = new Fi

RE: [Flashcoders] FileReference and Getting File Path

2006-06-15 Thread azsl1326-email
Thanks for the reply. I can get the name, however it doesn't provide the path (i.e. c:\images\image001.jpg) Mike Boutin mikeb at juicystudios.com Thu Jun 15 13:03:32 EDT 2006 Is it possible for you to just grab the name after it is selected from the FileReferenc

Re: [Flashcoders] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin
Is it possible for you to just grab the name after it is selected from the FileReference object? var listener:Object = new Object(); listener.onSelect = function(file:FileReference):Void { trace(file.name); }; Boots [EMAIL PROTECTED] wrote: I am usin

Re: [Flashcoders] FileReference: get current path of file

2006-05-02 Thread bryan.rice
On May 2, 2006, at 5:01 PM, Wade Arnold wrote: When a user has selected a file for upload is it possible to get the entire path to the file from the FileReference class? No - at least not with Flash alone. blue skies, bryan ___ Flashcoders@chatty

RE: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread jim
Do you have an example of some security procedures that you would/have used? I'm not really a php guy. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: 05 March 2006 21:38 To: Flashcoders mailing list Subject: Re: [Flashc

Re: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread Tom Rhodes
David Rorex wrote: On 3/5/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: jim wrote: I only need the ability to change the name of the file that is being uploaded. How would I go about this? I tried changing the [FileReference instance].name field but this is read only. On the php side I am n

Re: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread David Rorex
On 3/5/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: > > jim wrote: > > I only need the ability to change the name of the file that is being > > uploaded. How would I go about this? I tried changing the [FileReference > > instance].name field but this is read only. On the php side I am not > sure if >

RE: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread jim
Man I didn't even think of that, thanks guys, very helpful. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Rhodes Sent: 05 March 2006 20:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] FileReference upload, change file name jim

Re: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread Tom Rhodes
jim wrote: I only need the ability to change the name of the file that is being uploaded. How would I go about this? I tried changing the [FileReference instance].name field but this is read only. On the php side I am not sure if I can pass through other data with the file data. I did this with

Re: [Flashcoders] FileReference upload, change file name

2006-03-05 Thread Yotam Laufer
You can pass a parameter to the upload url: file.upload (uploadscript.php?newname=newfilename); and then take care of it on the php side. Good luck, Yotam ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Filereference upload on macintosh

2006-03-01 Thread Andreas Rønning
A little OT, but i always thought coldfusion was a bit narcissistic with all its tags. Everything coldfusion SCREAMS coldfusion. Wonky. Yves Peckstadt wrote: Hi, I've been working on an extensive upload component making use of the flash 8 filereference classes. Everything works great on wind

Re: [Flashcoders] FileReference, file location

2006-01-17 Thread Kamyar Nazeri
Yeah, that's what I've done myself I don't understand what security is this when user has chosen the file himself, getting file location is already possible in HTML under user command "bryan.rice" <[EMAIL PROTECTED]> wrote: On Jan 17, 2006, at 9:50 AM, Kamyar Nazeri wrote: > Ain't it possible

Re: [Flashcoders] FileReference, file location

2006-01-17 Thread bryan.rice
On Jan 17, 2006, at 9:50 AM, Kamyar Nazeri wrote: Ain't it possible to get location of the browsed file using browse method of FileReference class? Nope. That would violate the security sandbox. You are going to have to upload first and then display it. blue skies, bryan _

RE: [Flashcoders] FileReference onIOError

2005-11-11 Thread Sullivan, Sean C - MWT
sday, November 03, 2005 3:56 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] FileReference onIOError It appears that FileReference.upload does not work with HTTPS URL's http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 288&threadid=1059687 -Or

Re: [Flashcoders] FileReference onIOError

2005-11-03 Thread David Rorex
>> -Original Message- >> >> I am using the FileReference class in Flash Player 8 >> >> My listener is receiving the onIOError callback. >> >> Unfortunately, the callback does not provide any specific details about >> the error. >> >> How can I get error details for the onIOError callback?

RE: [Flashcoders] FileReference onIOError

2005-11-03 Thread Sullivan, Sean C - MWT
It appears that FileReference.upload does not work with HTTPS URL's http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 288&threadid=1059687 -Original Message- I am using the FileReference class in Flash Player 8 My listener is receiving the onIOError callback.

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-25 Thread Muzak
t;Flashcoders mailing list" Sent: Tuesday, October 25, 2005 9:36 AM Subject: Re: [Flashcoders] FileReference class [Get path of a selected file] > The file browser window? On OSX i get a normal mac FB - resize and all... > > > On Oc

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-25 Thread Michael Bedar
The file browser window? On OSX i get a normal mac FB - resize and all... On Oct 25, 2005, at 1:52 AM, Michael Stuhr wrote: Muzak schrieb: Which makes it completly useless running from the local file system :/ (which was probably their intention) But why on earth does this have to b

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-24 Thread Michael Stuhr
Muzak schrieb: Which makes it completly useless running from the local file system :/ (which was probably their intention) But why on earth does this have to be a non resizable Window ? do you have any reasons for that ? pretty annoying! micha _

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-24 Thread Muzak
Which makes it completly useless running from the local file system :/ (which was probably their intention) Muzak - Original Message - From: "Ryan Matsikas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, October 24, 2005 11:22 PM

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-24 Thread Ryan Matsikas
nope.. On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is there a way to get the actual path of a file you selected after > useing "browse" method? > > -- Keith H -- > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > htt