Search code examples
htmlflashgoogle-swiffy

how remove background in new version of runtime in google swiffy


I use google swiffy for convert my swf file to html5. But now google is upgraded runtime to v 5.2 and can't use transparent background. Before i use runtime v 4.9 of google swiffy html5 from swf file and in google code i remove this from my javascript file for use transparenty background:

"backgroundColor":-1,  

But now runtime is upgraded to v5.2 and i can`t remove background color from swiffy file

https://www.gstatic.com/swiffy/v5.2/runtime.js


Solution

  • <style type="text/css" media="screen">
    #div *:first-child {
          background-color: transparent !important;
    }
    </style>