I’m pretty sure UNC is not supported.  You will have to map a drive or set up a 
web server.


On 6/1/12 3:57 PM, "vaster3302" <kaushal.sha...@gmail.com> wrote:






How can I open a UNC (windows share) in windows explorer from flex (flash 
builder 4)?

I tried a couple different things:

var request:URLRequest = new URLRequest("file://\\\\myserver\myfolder");
var loader:URLLoader = new URLLoader();
loader.load(request);
which gives a stream error

and

var urlRequest:URLRequest = new URLRequest("file://\\\\myserver\myfolder");
navigateToURL(urlRequest, "_blank");
which opens a browser window with file://myserver\myfolder in the url.

I want to open a folder (and hopefully a file) as if the user navigated in to 
the share and double clicked it.

Thanks!






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to