[flexcoders] FileReference to ByteArray

2008-09-26 Thread aytuganov
Does somebody know is it possible to select file using
FileReference.browse() and than set it to ByteArray instance.
(There is an object that has an ByteArray property. I have to set this
property and  send the object to server using  RemoteObject - but it's
not a matter)



Re: [flexcoders] FileReference to ByteArray

2008-09-26 Thread Jon Bradley


On Sep 26, 2008, at 4:48 AM, aytuganov wrote:


Does somebody know is it possible to select file using
FileReference.browse() and than set it to ByteArray instance.
(There is an object that has an ByteArray property. I have to set this
property and send the object to server using RemoteObject - but it's
not a matter)


In Flash 10.

You have no access to the content of a FileReference object or item  
in any version of Flash earlier than v10. That's a resounding answer  
of no.


There may be ways to hack the HTTPHeader information to include  
additional content information when the FileReference is uploaded.  
Otherwise, you'll need to send that data separately to the server.


good luck,

jon

Re: [flexcoders] FileReference and ByteArray

2006-09-27 Thread EECOLOR



Hello,

if i remember well this is not possible because of security reasons.


Greetz Erik

__._,_.___





--
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 
   
 

  




__,_._,___



RE: [flexcoders] FileReference and ByteArray

2006-09-27 Thread Dustin Mercer












Thats Correct. This was something
I was very vocal about, but here is the response I received: The Flex
team does not consider file uploads part of the Flex data tier. I still
think that files are just data as well, but I am not going to beat that horse
anymore (Although I just kicked it). I dont think this will be the case
with Apollo though. Maybe adobe can respond on this and let us know if we will
be able to accomplish this with Apollo. Thanks!



Dustin Mercer











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR
Sent: Wednesday, September 27,
2006 2:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
FileReference and ByteArray













Hello,











if i remember well this is not possible because of security reasons.

















Greetz Erik








__._,_.___





--
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 
   
 

  




__,_._,___






Re: [flexcoders] FileReference and ByteArray

2006-09-27 Thread EECOLOR



Yeah i think apollo will most likely cover this section aswell. It will act like a 'normal' program shell, allowing you to interact with the file system and do all kinds of fancy shizzle with it :)

Let hope :)


Greetz Erik

__._,_.___





--
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 
   
 

  




__,_._,___



Re: [flexcoders] FileReference and ByteArray

2006-09-27 Thread Rogerio Gonzalez



I did some work using mx:image source=file:///c:/image.jpg but when I try to get the byteArray of the mx:image, the security sandbox error shows up :(I am thinking use something with _javascript_. Anybody did this?
regardsRogerioOn 9/27/06, EECOLOR [EMAIL PROTECTED] wrote:













  



Yeah i think apollo will most likely cover this section aswell. It will act like a 'normal' program shell, allowing you to interact with the file system and do all kinds of fancy shizzle with it :)


Let hope :)


Greetz Erik

  















__._,_.___





--
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] FileReference and ByteArray

2006-09-26 Thread Rogerio Gonzalez
Hi there

Someone know if is there any way to capture the ByteArray of an
FileReference Object, without sending it to the server-side script?

Thanks and regards

Rogerio


--
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/