Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: Why the hell is the HTML cutting off the edges of the swf?!! |
| From: | Tim Hawkins |
| Date: | Tue, 15 Sep 1998 09:34:10 +0100 |
Two important, sorry three.
1. body tag see below
2. Paramameter settings see below
3. proportional sizing of movie
Effectively you want the movie to sit flush within the browser, no
borders top bottom left or right.
1. Put these in your body tag
<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>
2. This is my aftershock code with parameters scale=exact fit and
salign =T included into it. Also includes wmode=transparent which sets
background to transperent cut it out if not wanted
<embed src="yourmovie.swf" width="100%" height="100%" quality="high">
<!-- Aftershock TESTRANS.swf 3=600 4=400 25=2 37=0 -->
<!-- <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash/cabs/swflash.cab"
ID=TESTRANS WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="yourmovie.swf">
<PARAM NAME=scale VALUE=exactfit>
<PARAM NAME=salign VALUE=T>
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=autohigh>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=000000>
<SCRIPT LANGUAGE=JavaScript>
<!--
var FlashMode = 0
if (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
FlashMode = 1;
}
if ( FlashMode ) {
document.write('<EMBED SRC="yourmovie.swf"');
document.write(' NAME=TESTRANS WIDTH=100% HEIGHT=100%');
document.write(' QUALITY=autohigh WMODE=transparent
BGCOLOR=000000');
document.write(' TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
rod_Version=ShockwaveFlash">');
document.write('</EMBED>');
} else {
document.write('<IMG SRC="yourmovie.gif" WIDTH=100% HEIGHT=100%
BORDER=0>');
}
document.write('<NOEMBED>')
//-->
</SCRIPT>
</OBJECT>
-->
<!-- EndAftershock TESTRANS.swf -->
3. bear in mind when creating the movie that it needs to be roughly in
proportion to browser window size
> -----Original Message-----
> From: Abraham Espinosa [SMTP:abraham
> Sent: 04 September 1998 18:54
> To: flasher
> Subject: Re: FLASH: Why the hell is the HTML cutting off the
> edges of the swf?!!
>
> David:
>
> AfterShock always do that, read your Flash3 Manual, some times you'll
> have to use
> another Editor such as Dreamweaver.
>
> But if you hear about a solution please let us know.
>
> Abraham Espinosa
> Latinet
>
>
>
> ----------------------------------------------------------------------
> --
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

