Re: Render flash

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You should be able to use Texture.FromBitmap and grab the bitmap from the
picture box. (Be wary of a .Net 2.0 issue
http://www.thezbuffer.com/articles/401.aspx)

See
http://msdn.microsoft.com/coding4fun/april-fools/screensaver/default.aspx -
I did it for the whole screen there but I suspect its similar.

But I'm not sure if that will be fast enough for what you want.

You may be able to change the render flash code to render directly to a
bitmap rather than reading from a windows control.

--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX



"Ken" <kennet@xxxxxxxxx> wrote in message
news:Ozb7SYRlGHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
OK, I looked at the Ubrowser, to complex for me to port to C#...

Anyway, how do I add "take" a image renderd in a panel/picturebox and add
it to a texture so I can reder it into my device? OR must I save my images
continues to file and then use Texture.LoadFromFile ?

/Ken

"Natarius" <mw@xxxxxxxxxxxxxxxx> skrev i meddelandet
news:1150704046.394371.55330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Ken wrote:
Hi!

Is it possible to show a macromedia flash file in a allocator as a
texture ?
This C++ project can render flash to a "panel"
http://www.codeproject.com/library/Render_Flash.asp

I prefer to code in C#

Thanks!

well its seems to be possible, cause i have seen a 3d web browser (
http://www.ubrowser.com/ - coded in c++ using opengl and mozilla as
browser) which at least plays flash inside web pages very well!

you also will find the source code there...good luck and don't forget
to post if you get it work





.



Relevant Pages

  • Re: GDI Bitmap Prob.
    ... The "required resource not found" is a message which should be findable in the MFC source ... >the OnDraw() and Draw the data needed. ... >stretching the bitmap ... >> rendered does not declare a CPaintDC, you first render the bitmap and then ...
    (microsoft.public.vc.mfc)
  • Re: A Long Hard Dispassionate Look at Contemporary Cryptography. - adacrypt
    ... render after Imam permits the injured mainland's flash? ... and she'll seriously destroy everybody. ...
    (sci.crypt)
  • Re: Sony Vegas 6 - Slide Show Transitions Pixelate Between Formats
    ... When I attempt to render, I use the Make Movie button. ... I now want to turn it into a Flash movie [Flash is the best ... considered "industry standard cross-platform" for use in any video ...
    (rec.video.desktop)
  • Re: VideoPost from v4 to v8
    ... lucas wrote: ... resolution bitmap from my scene because v4 did it with much difficulty. ... v4 made you render subregions and then you can stitch the ...
    (comp.graphics.packages.3dstudio)
  • Re: Drawing Charts with GDI+
    ... but I was able to render almost everything I ... back buffer to a memeory bitmap although I don't see why not. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... built in and the drawing is very much faster. ...
    (microsoft.public.dotnet.framework.drawing)