Yes in FP10 and the 3.3 SDK you can load data client side. I have had trouble getting this to work on osx and linux though:

http://blog.kukiel.net/2009/02/file-manipulation-client-side-with.html

There are a few links on the entry to some decent references.

Paul.


On 26/03/2009, at 8:34 PM, gmoniey22 wrote:

yes it will, using the FileReference.load(), and then accessing FileReference.data.

I got this working on FP10 & sdk 3.3. It took a while to get flexbuilder to play nice however.

--- In [email protected], "Tracy Spratt" <tspr...@...> wrote:
>
> I have heard that FP 10 will allow access to the file contents.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
> _____
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of djepyon
> Sent: Thursday, March 26, 2009 6:19 PM
> To: [email protected]
> Subject: [flexcoders] Re: is it not possible to upload a file to a flash app
> (no server)?
>
>
>
> If its a remote file this can be done by using Loader.loadBytes() and
> parsing the ByteArray.
>
> You would need AIR to load the bytes of a local file though.
>
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> "gmoniey22" <gmoniey22@> wrote:
> >
> > No, I actually want to parse the file. This seems like it should be a
> trivial task.
> >
> > --- In flexcod...@yahoogro <mailto:flexcoders% 40yahoogroups.com> ups.com,
> Alain Thibodeau <thibodeau.alain@> wrote:
> > >
> > > You mean just getting file info or actually parsing the full file data?
> > >
> > > If it's just the basic file information, I think you can get that with
> the FileReference...
> > >
> > > If you are looking for more power, swfStudio will give you all the power
> you need: http://www.northcod <http://www.northcode.com/index.php>
> e.com/index.php
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: gmoniey22 <gmoniey22@>
> > > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
> > > Sent: Thursday, March 26, 2009 2:54:28 PM
> > > Subject: [flexcoders] is it not possible to upload a file to a flash app
> (no server)?
> > >
> > >
> > > I want the user to select a file and have my flash app parse it for
> information, and then display that info in the app.
> > >
> > > But it seems like all of the FileReference functions abstract the
> upload/download process to a server.
> > >
> > > Am I missing something? Thanks
> > >
> > >
> > >
> > >
> > >
> > > __________________________________________________________
> > > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark
> your favourite sites. Download it now
> > > http://ca.toolbar. <http://ca.toolbar.yahoo.com.> yahoo.com.
> > >
> >
>



Reply via email to