Hello, Thanks in advance for any light you can shed...
I have some code inside of an embedded flash movie that opens a new custom browser window with a coupon in it. I have 2 problems:
1. In certain browsers, including Firefox and IE, the coupon opens in the custom browser window but an additional empty java window opens as well. I do not want the additional empty window to open. Any solution? Here is the code I am using in the flash movie:
ActionScript Code:
on (release) {
getURL ("javascript:window.open('./coupon.htm','thewin','height=650,width=470,toolbar=no,scrollbars=no');");
}
2. I have a print button on the coupon. It works, but it doesn't print the embedded image behind the text. The image is placed in a table with a border and then the text in in a div tag on top of the image. I want the image to print as well as the text. Here is the code I am using:
ActionScript Code:
<a href="javascript:window.print();">Print</a>
Thank you in advance if you can provide a solution.