Hide part of Flash animation in HTML

I have a .swf file (flash animation) that is too large and, unfortunately, we no longer have the source code (.fla file). I need to display it in a div and want to hide part of it.

Any idea?

Thank.

+3
source share
2 answers
<div style="width:100px; height:100px; overflow:hidden">
   <embed src="http://www.metacafe.com/fplayer/4133817/world_breakdancing.swf" width="400"  height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" name="Metacafe_4133817"></embed>
</div>

Please note that wmode = "transparent" is really important!

+3
source

If the film was compiled in wmode=transparent, it should give a divfixed width and / or height and apply overflow: hidden.

. .

transparent, , .

0

Source: https://habr.com/ru/post/1732268/


All Articles