Background Transparency (See through)? HTML5/Flash

Monkey Forums/Monkey Programming/Background Transparency (See through)? HTML5/Flash

BlitzProg(Posted 2013) [#1]
Some commercials use transparent contents for their flash applications (using things like wmode = "transparent" ...)
With clever positioning it gives the impression there are business men that pop out of nowhere and walk over the webpage to comment your website.

Basically, "unused" pixels of the app are made transparent and you can see the website behind.

Is there a way to do this in HTML5 or Flash?

Thanks :)


AdamRedwoods(Posted 2013) [#2]
in flash, mojo sets up the gxtkGraphics bitmap with 0xff0000f0, so the alpha is "ff" needs to be set to "00".

for html5, you may need to modify the CLS call to not cover up the alpha channel.

note, i haven't tested this and other tweaks may be needed.