• Hi, I am using Kimili to embed flash and using the Salient theme. But my swfs are showing at the wrong size. SWF size is 800×500 but the swf will only show at 400×150. You can see it in action here with the scale set to “noscale” https://www.johnlerma.com/testing123/

    I have tried a lot of things after researching:

    1. I created a div around the swf and set it to the right size and put a border to see it.
    2. I have tried setting both the div and swf to 100%/100%. no change.
    3. i have changed the doctype and even deleted the doctype. no change.
    4. I used both Kimili and just plain code to insert it. The plain code actually worked in WordPresses editor. the swf was the right size and would play fine in the editor but would not show the correct size on the live page.

    Here is the code i am curretnly using:

    #customswf {
    	height: 500px;
    	width: 800;
    	border: 2px solid;
    
    }
    
    <div id="customswf">
    
    [kml_flashembed publishmethod="static" fversion="8.0.0" movie="/buder.swf" width="800" height="500" targetclass="flashmovie" scale="noscale"]<a href="https://adobe.com/go/getflashplayer"><img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>
    
    [/kml_flashembed]
    
    </div>

    Thanks for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • A few things,

    #customswf {
    	height: 500px;
    	width: 800;
    	border: 2px solid;
    
    }

    should be

    #customswf {
    	height: 500px;
    	width: 800px;
    	border: 2px solid;
    
    }

    You left the px off the width.

    Second line 491 of your css

    object, object embed {
    	display: block;
    	height: auto;
    	max-width: 100%!important;
    }

    Remove the height:auto; part and everything will look right, I already tested it.

    Thread Starter scarytrees

    (@scarytrees)

    Thanks Pyrate.Ned!! The height: auto was the offending code as i just removed the customswf stuff that i didnt need. I spent two days trying to fix this bug. You are a savior.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Flash SWFs not showing right size’ is closed to new replies.