Re: [flexcoders] FileIO.browse() fails when called with filters

2005-10-26 Thread Laurent Cornelis
Are we the only ones with this problem ?

What platform are you running on ? I'm on Windows XP SP2

Benoit Hediard a écrit :
 Yes I've also encountered this problem.
 Impossible to use the fileIO.browse() with filters.
 When filters are passed, the browse window doesn't appear anymore.
 
 Benoit Hediard
 
 PS: Anyway, now we won't have to use the fileIO hack in Flex2 + Flash
 Player8.5... ;) 
 
 -Message d'origine-
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
 part de Laurent Cornelis
 Envoyé : vendredi 21 octobre 2005 15:10
 À : flexcoders@yahoogroups.com
 Objet : [flexcoders] FileIO.browse() fails when called with filters
 
 I have a problem with the FileIO.browse(filters) method.
 
 If I just try fileIO.browse() without argument, the file chooser is
 displayed and it works fine.
 
 If I try
 
 fileIO.browse([{description: Images, extension: *.jpg;*.gif;*.png},
 {description: Flash Movies, extension: *.swf}, {description: 
 Documents, extension: *.doc;*.pdf}]);
 
 or
 
 var filters:Array = new Array();
 filters.push({description:Image files ( .jpg, .gif, .png),
 extension:*.jpg;*.gif;*.png, macType:JPEG;jp2_;GIFF});
 filters.push({description:Flash Movies, extension:*.swf, 
 macType:SWFL}); 
 
 fileIO.browse(filters);
 
 the file chooser is not opened and browse returns false ...
 
 Anyone have the same issue ? Do you know what can cause it ?
 
 
 
  Yahoo! Groups Sponsor ~-- Fair
 play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 ~- 
 
 --
 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
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 --
 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
 
 
 
  
 
 
 
 




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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




RE: [flexcoders] FileIO.browse() fails when called with filters

2005-10-24 Thread Benoit Hediard
Yes I've also encountered this problem.
Impossible to use the fileIO.browse() with filters.
When filters are passed, the browse window doesn't appear anymore.

Benoit Hediard

PS: Anyway, now we won't have to use the fileIO hack in Flex2 + Flash
Player8.5... ;) 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Laurent Cornelis
Envoyé : vendredi 21 octobre 2005 15:10
À : flexcoders@yahoogroups.com
Objet : [flexcoders] FileIO.browse() fails when called with filters

I have a problem with the FileIO.browse(filters) method.

If I just try fileIO.browse() without argument, the file chooser is
displayed and it works fine.

If I try

fileIO.browse([{description: Images, extension: *.jpg;*.gif;*.png},
{description: Flash Movies, extension: *.swf}, {description: 
Documents, extension: *.doc;*.pdf}]);

or

var filters:Array = new Array();
filters.push({description:Image files ( .jpg, .gif, .png),
extension:*.jpg;*.gif;*.png, macType:JPEG;jp2_;GIFF});
filters.push({description:Flash Movies, extension:*.swf, 
macType:SWFL});   

fileIO.browse(filters);

the file chooser is not opened and browse returns false ...

Anyone have the same issue ? Do you know what can cause it ?



 Yahoo! Groups Sponsor ~-- Fair
play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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



 









 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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