Although you can apply video as a material manually when using MovieMaterial
, the VideoStreamMaterial
class does this automatically for you.
The class is called VideoStreamMaterial
and extends MovieMaterial
. Its constructor takes four parameters:
This class allows you to show streaming or progressive videos. You can also use your webcam output as the input for this class. Let's create an example based on video coming from your webcam. This example uses quite a few different classes.
import flash.events.Event; import flash.media.Camera; import flash.media.Video; import flash...