Very interesting, no I hadn't heard of this library.  But, I'm looking
through the docs very carefully right now...  Very interesting.  

Thanks Mark! 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Winterhalder
Sent: Wednesday, October 11, 2006 8:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] C++ flash host supporting transparency

Why reinvent the wheel?

Did you have a look at SWHX yet? It works for Windows and OSX, Linux support
AFAIK would need FP9, maybe more. I'm not sure about transparency, but since
Screenweaver could do it, it's probably there.

<http://haxe.org/swhx>

I don't want to stop you from rolling your own, if that's what you want, I
just thought I'd point you to it in case you haven't heard about it yet.

Mark



On 10/11/06, Chris Douglass <[EMAIL PROTECTED]> wrote:
> Hey, I'm building a C++ app to run on Windows (then maybe on Mac and 
> X) that will host SWFs.  On Windows I'm using the Flash activeX 
> control to host my Flash app.  I'd like to render the Flash 
> viewport/window onto my application's surface with transparency such 
> that only the content on the stage is drawn to my window.
>
> Does anyone know how you would implement this within a custom 
> host/container like mine?  How do the browsers implement this (well 
> the ones that support it)?  Does Flash tell the host the key color being
used for transparency?
> I've seen a few articles here and there that Flash sends its output to 
> an off-screen buffer that the browsers use to render Flash content 
> with non-rectangular transparency.  But, I'm not sure how as a host 
> container the Flash frame buffers and transparency key color are
accessible to me.
>
> Does the stage color become the RGB key color value that Flash 
> communicates to the browser to assist with this process?  What if that 
> same color is used in the content of your movie/content within your 
> SWF?  Do the browsers render those pixels transparently as well?
>
> Anyway, I'm going to start some tests but thought maybe someone could 
> shed some light for me.  Also, does anyone have experience building 
> their own SWF host application that runs on Windows and Mac?  I need 
> to port my app (and am not interested in using the commercial swf/exe 
> hosts out there, at least not yet ;]) to the Mac, so whatever 
> transparency technique I use on Win32 would hopefully not require a
full-rewrite on the Mac (yeah right).
>
> Is there an SDK for people wanting to build their own hosts for Flash
apps?
> Is there a lower-level interface/API I can tap into that exposes the 
> Flash content/internals so that developers can write their own unique 
> hosts?  What wrapper/API is exposed to the Mac platform developers for 
> creating containers on OSX?
>
> Thanks for ANY input :)  I'll start fiddling with WMODE and see what 
> happens for starters...  Where is the definitive internals book on the 
> Flash runtime engine?  Does one exist?
>
> Chris Douglass
> Innovative Code & Design
> Atlanta, GA
> www.innovativecode.com
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to