Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
The odd thing is that the .swf, when embedded and viewed in the web page, is displayed extremely small.
I have checked my code - the width and height are declared properly.
The SWFObject embedding method:
IN THE HEAD:
IN THE BODY:
var so = new SWFObject( "logo.swf", "logo", "610", "81", "9", "#000000" );
so.addParam( "wmode", "transparent" );
so.write( "flash-logo" );
That's just the HTML obviously - the imported JS is the standard SWFObject library.
And the Satay method to embed:
<object type="application/x-shockwave-flash" style="width:610px; height:81px;" data="logo.swf">
<param name="movie" value="logo.swf">
<param name="wmode" value="transparent"><a href="http://www.macromedia.com/go/getflash/">Requires Flash player</a> <!-- shown to browsers without Flash -->
Now both methods work correctly with embedding and resizing other flash content on the same page. So there is something wrong with this particular embedding instance. Furthermore, the problem .swf appears small in all browsers (IE6+, Opera, Firefox, etc).
I am not at all a Flash pro. This .swf was provided to me by the client. Does the problem as described above sound like it is not a embedding error but is an issue caused by the .swf itself?