Put flash in Unity

I want to get a flash webcam stream in Unity, How is this done???

You can not put flash into unity, its not supported

How did this work then??

http://www.jon-martin.com/test/flashcam.html

potentially through some tcp communication between the two and sending data.
but for me it does do exactly nothing actually. just the cube, the flash one remains gray.

workds for me. You need a webcam. Its an awesome concept. Lots of potential.

I’m not sure how that particular implementation did it, but I made a quick prototype last year that just png encoded the camera’s video bitmap data in flash, base64 encoded it, send it to the Unity player via AS3.0’s ExternalInterface capability, then within Unity, decoded the data and attached it to a texture.

It worked alright, but could only manage a lowish frame rate and a low feed resolution. I hope Unity are going to add real camera/mic functionality soon, it’d be killer! :slight_smile:

Doesn’t work for me either, likely because the Flash is blocked from executing. In any case, it doesn’t appear to be “Flash in Unity”, but rather Flash and Unity on the same page, communicating in some way.

.

thats what I am thinking.

Very interesting concept. I couldn’t get it to work with my web cam. But if Unity made this a feature it would be awesome!