Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Thread Tools Rate Thread Display Modes
Old 07-12-2005, 02:58 PM   #1
Registered User
Join Date: Jul 2004
Posts: 86
Default Launching a browser window from flash opens empty java window?

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.
elearley is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 09:11 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.