Re: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread Tom Chiverton
On Friday 27 Mar 2009, Paul Kukiel wrote:
 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:

Is there a bug for this in bugs.adobe.com, because I have the 10,0,22,87 debug 
player here, on OpenSuSE 64bit (but with 32bit FireFox+plugin), and get the 
error as in the first comment.
It is meant to work...
-- 
Tom Chiverton
Helping to synergistically enable web-readiness 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] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I was able to get it working on OS X...the biggest problem was getting 
flexbuilder to use the FP 10 player, otherwise the load() function fails at 
runtime.

--- In flexcoders@yahoogroups.com, Paul Kukiel pkuk...@... wrote:

 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 flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
  
   I have heard that FP 10 will allow access to the file contents.
  
  
  
   Tracy Spratt,
  
   Lariat Services, development services available
  
   _
  
   From: flexcoders@yahoogroups.com  
  [mailto:flexcod...@yahoogroups.com] On
   Behalf Of djepyon
   Sent: Thursday, March 26, 2009 6:19 PM
   To: flexcoders@yahoogroups.com
   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.

   
  
 
 





Re: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread Fotis Chatzinikos
Any ideas why it was not working before? How did you fix it? Does it now
play ok on win, osx + linuxes?

I am considering using this for an app i am making, but i am not sure if it
worths the trouble if it only works on windows...

On Fri, Mar 27, 2009 at 7:32 PM, gmoniey22 gmonie...@yahoo.com wrote:

   I was able to get it working on OS X...the biggest problem was getting
 flexbuilder to use the FP 10 player, otherwise the load() function fails at
 runtime.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paul
 Kukiel pkuk...@... wrote:
 
  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 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 Tracy Spratt tspratt@ wrote:
   
I have heard that FP 10 will allow access to the file contents.
   
   
   
Tracy Spratt,
   
Lariat Services, development services available
   
_
   
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
Behalf Of djepyon
Sent: Thursday, March 26, 2009 6:19 PM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
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.comflexcoders%2540yahoogroups.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% flexcoders%25
   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.comflexcoders%2540yahoogroups.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.
 

   
  
  
 

  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I havent gotten a chance to play with it on anything but os x (10.5).

I ended up getting it working by following these instructions:

http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10

--- In flexcoders@yahoogroups.com, Fotis Chatzinikos fotis.chatzini...@... 
wrote:

 Any ideas why it was not working before? How did you fix it? Does it now
 play ok on win, osx + linuxes?
 
 I am considering using this for an app i am making, but i am not sure if it
 worths the trouble if it only works on windows...
 
 On Fri, Mar 27, 2009 at 7:32 PM, gmoniey22 gmonie...@... wrote:
 
I was able to get it working on OS X...the biggest problem was getting
  flexbuilder to use the FP 10 player, otherwise the load() function fails at
  runtime.
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paul
  Kukiel pkukiel@ wrote:
  
   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 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Tracy Spratt tspratt@ wrote:

 I have heard that FP 10 will allow access to the file contents.



 Tracy Spratt,

 Lariat Services, development services available

 _

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of djepyon
 Sent: Thursday, March 26, 2009 6:19 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 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.comflexcoders%2540yahoogroups.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% flexcoders%25
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.comflexcoders%2540yahoogroups.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.
  
 

   
   
  
 
   
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 fotis.chatzini...@...,





[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread gmoniey22
No, I actually want to parse the file. This seems like it should be a trivial 
task.

--- In flexcoders@yahoogroups.com, Alain Thibodeau thibodeau.al...@... 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.northcode.com/index.php
 
 
 
  
 
 
 
 
 From: gmoniey22 gmonie...@...
 To: flexcoders@yahoogroups.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.yahoo.com.





[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread djepyon
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 flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote:

 No, I actually want to parse the file. This seems like it should be a trivial 
 task.
 
 --- In flexcoders@yahoogroups.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.northcode.com/index.php
  
  
  
   
  
  
  
  
  From: gmoniey22 gmoniey22@
  To: flexcoders@yahoogroups.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.yahoo.com.
 





RE: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread Tracy Spratt
I have heard that FP 10 will allow access to the file contents.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of djepyon
Sent: Thursday, March 26, 2009 6:19 PM
To: flexcoders@yahoogroups.com
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 gmonie...@... 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.
 






[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread gmoniey22
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 flexcoders@yahoogroups.com, 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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of djepyon
 Sent: Thursday, March 26, 2009 6:19 PM
 To: flexcoders@yahoogroups.com
 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.
  
 





Re: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread Paul Kukiel
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 flexcoders@yahoogroups.com, 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: flexcoders@yahoogroups.com  
[mailto:flexcod...@yahoogroups.com] On

 Behalf Of djepyon
 Sent: Thursday, March 26, 2009 6:19 PM
 To: flexcoders@yahoogroups.com
 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.