Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening Shockwave from Flash

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I need some help with this problem and I would appreciate some help:

I have a Flash movie in which I use a graphic to open a new HTML window when the user clicks on it. I use the following Action Script:

on (release) {
getURL
("javascript:eek:penNewWindow(html/3dbox.htm','thewin','height=450,width=400,status=yes,toolbar=no,scrollbars=no')");
}


In the HTML page which hold the Flash movie I have the following code in the
<HEAD>:

<script language=&quot;JavaScript&quot;>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

The problem is that when the pop-up window opens that holds the Director
movie it seems to takes ages to load(even when viewing locally) and when it does eventually load I have to wait for a minute or so otherwise if I try and use the mouse to rotate the w3d file it stalls and there is a very noticeable delay before the event happens.

A couple of observations I have noted are:

- If I use a widow with a normal Jpeg or Gif image in place of a director file then this works ok - which means that the script I have in Flash seems to be ok.
- It seems to be a widow focus problem or the Shockwave is clashing with the Flash movie because if the Shockwave window is opened from a normal HTML file that doesn't have a flash movie triggering it but an image with a &quot;NewWidowOpen&quot; behaviour etc then everything works fine.

One important thing I forgot to mention is that if I close the HTML file
that holds the flash movie then the pop-up window that holds the shockwave file works perfectly?

Look forward to some feedback thanks

- greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top