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: | Fri, 4 Sep 1998 09:14:22 +0100 |
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: dgarystudios
> Sent: 03 September 1998 22:19
> To: flasher
> Subject: FLASH: Why the hell is the HTML cutting off the edges of
> the swf?!!
>
> Has anyone figured out how to dispose of the annoyning HTML border
> that presents
>
> itself around the swf. It wouldn't be a problem if it didnt cut off
> the edges of
> the movie.
> Are we supposed to design Flash movies around this annoying border?
>
> Why do my movies look fine and cropped correctly in the editor window,
> but then
> get the edges cut off after embeded into the HTML?!
>
> Again I'm using AfterShock(unfortunately) and have try ALL settings.
>
> I've heard "Border problems' on this list before. Has anyone got a
> clue.
>
> It seems in the browser that my swf has enlarged a tad and the edges
> of my
> movies
> are getting cut off by the HTML.
>
> ANy help would be most appreciated.
>
> -DG-
>
>
>
> ----------------------------------------------------------------------
> --
> 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
Replies
Re: FLASH: Why the hell is the HTML cutt, John Croteau
Re: FLASH: Why the hell is the HTML cutt, David Gary
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

