VMware {code} Community
noye
Contributor
Contributor

Accessing html content packaged within the plugin

Hi,

I would like the plugin to open up a new browser tab with html content included in the plugin zip.

How should it be packaged and how do I access it later?

Thanks,

Eitan

0 Kudos
3 Replies
laurentsd
VMware Employee
VMware Employee

Your HTML plugin's javascript code can open a new browser window with a URL pointing to an HTML resource.  You should try it out by modifying one of the sample plugins that come with the HTML bridge component of the SDK (version 5.5u1 and up)

0 Kudos
noye
Contributor
Contributor

Thanks for answering!

My plugin is not HTML, it's plain old Flex.

I want it to open up a browser with some HTML content it contains.

Also, I'm working with SDK 5.1.

Thanks,

Eitan

0 Kudos
laurentsd
VMware Employee
VMware Employee

In Flex you can do use navigateToURL to open a new tab/browser window:

    navigateToURL(new URLRequest(url), "_blank");

0 Kudos