Re: [Flashcoders] C++ flash host supporting transparency

2006-10-12 Thread John Dowdell

Chris Douglass wrote:
> ...Is there an SDK for people wanting to build their own
> hosts for Flash apps?

Not from Adobe. If you're creating native-code applications atop 
multiple operating systems, then it's usually each development 
environment which would contain info on how to host ActiveX Controls or 
Netscape Plugins.


I recall that there are different models for hosting ActiveX Controls... 
Macromedia and Adobe test against the hosting model used by Microsoft 
Internet Explorer. I'm not sure I could explain the differences between 
this and other ways of using ActiveX in Windows, though.


(For the Player, giving it that WMODE instruction in the markup is 
enough to trigger a mechanism for the browser to pass a memory location 
to the Player, so that the visual output can be sent to the browser's 
own compositing buffer rather than directly to screen. I myself don't 
know the different browser APIs you'd need to handle to have the Player 
pipe its rendering to your own compositing app.)


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
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


RE: [Flashcoders] C++ flash host supporting transparency

2006-10-12 Thread Chris Douglass
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
>
> ___
> Flashcoders@chattyfig.figleaf.com
> 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
>
___
Flashcoders@chattyfig.figleaf.com
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

___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] C++ flash host supporting transparency

2006-10-11 Thread Tony Trapp
I have created my own browser using .net and C# and with the browser
recognizing things via flash of course you have to have the flash active x
object installed and the object should do the rest with your flash movie.

As far as colors maybe this might have something to do with system colors
available depending on what you want to do.

If I had a complete look at your app so far and got what you are trying to
do fully I might really be able to help, how ever I have found talking
things out from time to time help you to see something or think of
something.

Hope that kinnda helps.

Tony Trapp
DBTWeb.com

- Original Message - 
From: "Mark Winterhalder" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, October 11, 2006 5:08 PM
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
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > 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
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> 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
>
>


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] C++ flash host supporting transparency

2006-10-11 Thread Mark Winterhalder

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.



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

___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] C++ flash host supporting transparency

2006-10-11 Thread badi malik

here ya go
http://www.codeproject.com/useritems/FlashGui.asp

best

b

- Original Message 
From: Chris Douglass <[EMAIL PROTECTED]>
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 11, 2006 7:34:31 AM
Subject: [Flashcoders] C++ flash host supporting transparency

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 

___
Flashcoders@chattyfig.figleaf.com
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




___
Flashcoders@chattyfig.figleaf.com
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


[Flashcoders] C++ flash host supporting transparency

2006-10-11 Thread Chris Douglass
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 

___
Flashcoders@chattyfig.figleaf.com
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