I just learned to add a toolbar button as per the instructions given here:
In my case, I have added a link to an HTML page that loads an Flash (SWF) file. The HTML page and the SWF file are in the same folder. However, when I click the link in the toolbar button, only the HTML page loads. The Flash (SWF) does not.
Expected outcome:
User clicks the toolbar button. It shows a list of hyperlinks.
User clicks one of the hyperlinks which launches the HTML page.
The HTML page opens in a new window loading an Flash (SWF) file.
Actual outcome:
User clicks the toolbar button. It shows a list of hyperlinks.
User clicks one of the hyperlinks which launches the HTML page.
The HTML page opens in a new window but it is blank.
I have activated Flash. It works fine when I launch the HTML page separately.
I tried calling a HTML5 output by linking it to the Index.html page. Even that is failing. I tested playing an mp4 video embedded in an HTML page. That is working fine though.