[flexcoders] Re: Flex Browse File Video
Thanks Jeff Gilbert. I think that my only solution is to upload the video in order to preview it if I can't access the path. This is not an ideal solution! A. Resa Jones --- In flexcoders@yahoogroups.com, gilbert_mizrahi mizr...@... wrote: In AIR loading a video works fine. In Flex (FP10) I was able to load the file as a ByteArray, but I don't know how to process it to view it on a VideoDisplay or FLVPlayback component. I asked that question in another thread, but got no answers. --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battershall@ wrote: I've done similar things with AIR and images but not with video. Seems to me you might be able to do it with FileReference.load(), which gives you access to the btyearray of the uploaded file. Requires FP10. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Adrian Resa Jones Sent: Tuesday, July 07, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Browse File Video Maybe I'm missing somethingCan you use the flex file browse as a source so that users can preview video before uploading it? Do I need to know where the file comes from? I saw another question about this here and did not see an answer. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregrets62@ wrote: I want to provide a preview function prior to uploading a file. Well, what's your use case ? Why do you care where the file comes from ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: Flex Browse File Video
In AIR loading a video works fine. In Flex (FP10) I was able to load the file as a ByteArray, but I don't know how to process it to view it on a VideoDisplay or FLVPlayback component. I asked that question in another thread, but got no answers. --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: I've done similar things with AIR and images but not with video. Seems to me you might be able to do it with FileReference.load(), which gives you access to the btyearray of the uploaded file. Requires FP10. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Adrian Resa Jones Sent: Tuesday, July 07, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Browse File Video Maybe I'm missing somethingCan you use the flex file browse as a source so that users can preview video before uploading it? Do I need to know where the file comes from? I saw another question about this here and did not see an answer. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregrets62@ wrote: I want to provide a preview function prior to uploading a file. Well, what's your use case ? Why do you care where the file comes from ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: Flex Browse File
I want to provide a preview function prior to uploading a file. Well, what's your use case ? Why do you care where the file comes from ?
[flexcoders] Re: Flex Browse File Video
Maybe I'm missing somethingCan you use the flex file browse as a source so that users can preview video before uploading it? Do I need to know where the file comes from? I saw another question about this here and did not see an answer. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregret...@... wrote: I want to provide a preview function prior to uploading a file. Well, what's your use case ? Why do you care where the file comes from ?
RE: [flexcoders] Re: Flex Browse File Video
I've done similar things with AIR and images but not with video. Seems to me you might be able to do it with FileReference.load(), which gives you access to the btyearray of the uploaded file. Requires FP10. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Adrian Resa Jones Sent: Tuesday, July 07, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Browse File Video Maybe I'm missing somethingCan you use the flex file browse as a source so that users can preview video before uploading it? Do I need to know where the file comes from? I saw another question about this here and did not see an answer. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregret...@... wrote: I want to provide a preview function prior to uploading a file. Well, what's your use case ? Why do you care where the file comes from ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Re: Flex Browse File
On Thursday 02 Jul 2009, Adrian Resa Jones wrote: cut paste means. I really need a better solution... Well, what's your use case ? Why do you care where the file comes from ? -- Helping to revolutionarily maintain content 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: Flex Browse File
Hi all, As I have a similar situation with a Flex app, I came to the following that works for me: Any Flex SWF is running withing the client's browser and for security reasons (as already mentioned) Flex is always running in sandbox, contrary to AIR. But there is no reason why in the local environment, the user/client can't switch from his browser to his system tray, copy the full path of a certain file and paste it to, say, a TextArea in the Flex app. This of course doesn't give any access to the file through the Flex app, but I was only needing the full path... Thanks, George --- In flexcoders@yahoogroups.com, reversible_82 reversible...@... wrote: Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path... Thanks for your support --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote: On Friday 26 Jun 2009, reversible_82 wrote: No, it seem like this class do not exist in flex, should be a way to do this on flex, does anyone have an Idea? FileReference.browse(); -- Helping to ambassadorially participate clicks-and-mortar materials 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: Flex Browse File
I am using something similar in one case where part of the path is a category but in other circumstances, this just wouldn't be acceptable in a software application. There are plenty of users who don't even know what cut paste means. I really need a better solution... --- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote: Hi all, As I have a similar situation with a Flex app, I came to the following that works for me: Any Flex SWF is running withing the client's browser and for security reasons (as already mentioned) Flex is always running in sandbox, contrary to AIR. But there is no reason why in the local environment, the user/client can't switch from his browser to his system tray, copy the full path of a certain file and paste it to, say, a TextArea in the Flex app. This of course doesn't give any access to the file through the Flex app, but I was only needing the full path... Thanks, George --- In flexcoders@yahoogroups.com, reversible_82 reversible_82@ wrote: Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path... Thanks for your support --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote: On Friday 26 Jun 2009, reversible_82 wrote: No, it seem like this class do not exist in flex, should be a way to do this on flex, does anyone have an Idea? FileReference.browse(); -- Helping to ambassadorially participate clicks-and-mortar materials 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: Flex Browse File
This is bad. the only way I think I can get around this is using an applet inside an html wrapper inside a cotainer object. Thanks. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregret...@... wrote: Annoyingly enough, it appears that you can't get the path in Flex, only in Air for security reasons I guess. --- In flexcoders@yahoogroups.com, reversible_82 reversible_82@ wrote: Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path...
[flexcoders] Re: Flex Browse File
PLEASE let me know if you come up with a solution! Thank you! A. Resa Jones --- In flexcoders@yahoogroups.com, reversible_82 reversible...@... wrote: This is bad. the only way I think I can get around this is using an applet inside an html wrapper inside a cotainer object. Thanks. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregrets62@ wrote: Annoyingly enough, it appears that you can't get the path in Flex, only in Air for security reasons I guess. --- In flexcoders@yahoogroups.com, reversible_82 reversible_82@ wrote: Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path...
[flexcoders] Re: Flex Browse File
Annoyingly enough, it appears that you can't get the path in Flex, only in Air for security reasons I guess. --- In flexcoders@yahoogroups.com, reversible_82 reversible...@... wrote: Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path...
Re: [flexcoders] Re: Flex Browse File
On Friday 26 Jun 2009, reversible_82 wrote: No, it seem like this class do not exist in flex, should be a way to do this on flex, does anyone have an Idea? FileReference.browse(); -- Helping to ambassadorially participate clicks-and-mortar materials 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: Flex Browse File
Thanks, but what I'm trying to accomplish is get the String with the folder path, for example: D:/Files/Pic, with FileReference.browse(); I select the folder, so how could I get the String of the folder path... Thanks for your support --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Friday 26 Jun 2009, reversible_82 wrote: No, it seem like this class do not exist in flex, should be a way to do this on flex, does anyone have an Idea? FileReference.browse(); -- Helping to ambassadorially participate clicks-and-mortar materials 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: Flex Browse File
No, it seem like this class do not exist in flex, should be a way to do this on flex, does anyone have an Idea? --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Not sure if this available for flex, but for air: var file:File = new File(); file.addEventListener(Event.SELECT, dirSelected); file.browseForDirectory(Select a directory); function dirSelected(e:Event):void { trace(file.nativePath); } -TH --- In flexcoders@yahoogroups.com, reversible_82 reversible_82@ wrote: Hi guys, I'm trying to browse and select a folder from the local file system,i was reading about the FileReferenceList class to browse a file, but that does not let me select a folder, just a file, do you know how can I get Around this, or some source to read. I need to select a folder from the local system not a file. Thanks
[flexcoders] Re: Flex Browse File
Not sure if this available for flex, but for air: var file:File = new File(); file.addEventListener(Event.SELECT, dirSelected); file.browseForDirectory(Select a directory); function dirSelected(e:Event):void { trace(file.nativePath); } -TH --- In flexcoders@yahoogroups.com, reversible_82 reversible...@... wrote: Hi guys, I'm trying to browse and select a folder from the local file system,i was reading about the FileReferenceList class to browse a file, but that does not let me select a folder, just a file, do you know how can I get Around this, or some source to read. I need to select a folder from the local system not a file. Thanks