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
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
: 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
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
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
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
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
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
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
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
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
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<
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
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
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
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
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
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
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
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
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"
>>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:
>&
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
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
: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
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
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/
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
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
: [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
&
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", "*
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
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
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
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
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
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
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
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
>
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
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
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:
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
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
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
_
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
>> -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?
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.
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
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
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
_
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
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
53 matches
Mail list logo