[Flashcoders] Using a swf as an animated texture in direct X

2006-09-20 Thread Mike Mountain

Anyone know if it's possible to use an animated swf as a texture for a
directX object?

Cheers

M
___
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] Using a swf as an animated texture in direct X

2006-09-20 Thread Ian Thomas

Hi Mike,
 Off the top of my head, I don't think you can do it directly.

 However, presumably you could render the Flash movie using the
ActiveX control, grab the rendered frame as an image, and feed that in
to DirectX on every update.

 How exactly to render from the ActiveX control to an off-screen
buffer I don't know, but I doubt I'm the only one to come up with that
idea (and I doubt it's limited to Flash) - it's probably worth a
Google.

 (That is, unless DirectX has changed radically since I last used it
and has native support for Flash - which I doubt...)

Ian

On 9/20/06, Mike Mountain [EMAIL PROTECTED] wrote:


Anyone know if it's possible to use an animated swf as a texture for a
directX object?

Cheers

M

___
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