Alpha Transparency of flash ActiveX in .NET

Filed under: Flash, MS .NET — Wrote by Campbell on Saturday, September 10th, 2005 @ 2:42 pm

Alpha transparency of the flash OCX control has been nothing short of a pain in the a$$. So I downloaded the opensource Screenweaver to see how they were doing it. The original authors seem to be first drawing a bitmap to memory of the flash control with a white background, then a black background, comparing the two offsets( obviously if the colour of a pixel didnt change it has no alpha and you just have to work out the varying amount for those that did change). This seems like a really good way of doing it. Kinda smart really.

So I will first off try to reproduce this as a class in .Net and if not I will try hooking into the screenweaver DLL. But this just goes to show how openSource rocks!! Same as always If I get it done Ill release the source of the class. Stay tuned!!

2 Comments   -
  • Comment by Kawaljit | September 10, 2005 @ 4:42 pm

    That sounds interesting…let me know how it goes. Would love to see a .net application maintaining Flash’s alpha!

Leave your comment

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -