open an html page from the flex (flash, swf) file

164 views
Skip to first unread message

Ravi Shanker

unread,
Aug 1, 2008, 5:37:04 AM8/1/08
to Flex India Community
hi all,

how to open a html/PDF file into a new window from the swf file..

Thanks
Ravi Shanker .P

Nuwan Priyadharshana

unread,
Aug 1, 2008, 6:14:16 AM8/1/08
to flex_...@googlegroups.com
Hi Shanker,

I have used following code to open Excel file from server.

// URL
var url:URLRequest = new URLRequest("Relative URL");
// Parameter
var uv:URLVariables = new URLVariables();

uv.param = param value ;
//HTTP method
url.method = "POST";
url.data = uv;
navigateToURL(url,"_blank");

Regards

Nuwan

Ravi Shanker

unread,
Aug 4, 2008, 6:09:46 AM8/4/08
to Flex India Community
hey Nuwan,

Thanks for the reply..... let me have try and reply u back.....
Rite now got struck many other issues... huh!!!!

~Ravi Shanker
> > Ravi Shanker .P- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages