Re: Flash window

by "Manish Sharma" <msharma(at)cityonlines.com>

 Date:  Tue, 3 Apr 2001 13:27:58 +0530
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hi Mike,
The following JavaScript will open a new window 300X200 pixels with
welcome.html page.
Thie 'welcome;html' page can have the Flash .swf embedded.

<A HREF="javascript:void(0)"
onclick="window.open('welcome.html','welcome','width=300,height=200,menubar=
no,status=no,location=no,toolbar=no,scrollbars=no')">Open a new window</A>

Here is how to embed the Flash movie
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 CODEBASE="http://active.macromedia.com
      /flash2/cabs/swflash.cab#version=4,0,0,0"
 WIDTH="200" HEIGHT="155">
 <PARAM NAME="MOVIE" VALUE="movie_name.swf">
 <PARAM NAME="QUALITY" VALUE="HIGH">
 <PARAM NAME="PLAY" VALUE="TRUE">
 <PARAM NAME="LOOP" VALUE="TRUE">
 <PARAM NAME="BGCOLOR" VALUE="#FFFFFF">
   <EMBED SRC="movie_name.swf" QUALITY="HIGH" BGCOLOR="#FFFFFF"
      WIDTH="200" HEIGHT="155"
      TYPE="application/x-shockwave-flash"
      PLUGINSPAGE="http://www.macromedia.com/shockwave/download/
          index.cgi?P1_Prod_Version=ShockwaveFlash">
   </EMBED>
</OBJECT>

Change the background colors according to your needs

For more information, visit the following pages

Opening new windows in JavaScript
http://www.webdevelopersnotes.com/tutorials/javascript/11.php3

Embedding Flash
http://www.webedevelopersnotes.com/tutorials/flash/33.php3

Hope this helps
Manish


Manish Sharma

Simply Graphix Pvt. Ltd.
http://www.simplygraphix.com - Extreme Design
http://www.fontmagic.com - Largest True Type Fonts Directory on the Internet

-----Original Message-----
From: Baker, Mike <Mike.Baker(at)cdicorp.com>
To: HWG List (E-mail) <hwg-techniques(at)hwg.org>
Date: Tuesday, April 03, 2001 6:45 AM
Subject: Flash window


>
>I'm trying to pop up a new window from a link that contains a Flash swf. I
>want o determine the size of the window and get rid of the tool bars.
>Does anyone know the javascript?
>
>Thanks
>Mike Baker
>Senior Interface/Design Analyst
>CDI Corporation
>200 Public Square
>30th Floor
>Cleveland, Ohio 44114
>(216) 416-8404
>Mike.Baker(at)cdicorp.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA