Thanks, Farzan, I am trying to do this with Flash Builder, lots to learn :)
On Thu, Dec 2, 2010 at 6:29 AM, Farzan mc <[email protected]> wrote: > oh sorry i forgot to write the important line of code :D :D : > plane.material = mat; > > On Dec 2, 2:27 pm, Farzan mc <[email protected]> wrote: > > I don't know if this is the only way , but you can use MovieMaterial > > class like this. > > var mc:MovieClip = new testMovieClip(); > > var mat:MovieMaterial = new MovieMaterial(mc); > > var plane:Plane = new Plane({width:mc.width,height:mc.height}): > > > > inside testMovieClip you can play your video in various ways. > > - Load the external video from a server or local computer > > - Embed the video inside your flash file > > ... > > > > On Dec 2, 2:18 pm, Tony Brown <[email protected]> wrote: > > > > > Hello, > > > > > I am trying to find a tutorial on adding a VideoMaterial to a plane or > any > > > kind of primitive, > > > I can't seem to find anything, I keep getting 'how to add MovieClips' > is > > > this the only way to add video to a surface ? > > > by converting a video file into a .fla file, I don't want to use > streaming > > > video just a video on my machine. > > > Sorry, I searched but came up with nothing. > > > A link to a tutorial or an code snippet would be highly useful > > > > > Many Thanks >
