I don't think you can make the composite material interactive, I think that's reserved just for MovieMaterial.
And yes you can make it a form work, but I don't use Flex much...here's an example in Flash (see the SWF) http://away3d.googlecode.com/svn/trunk/fp9/Examples/Away3D/cs3/Intermediate_InteractiveTexture.swf and this is the .as example (in the trunk, you can get the rest of the stuff you need to make it run from there): http://away3d.googlecode.com/svn/trunk/fp9/Examples/Away3D/as/src/Intermediate_InteractiveTexture.as -Pete On Mon, Oct 26, 2009 at 3:57 PM, webattitude <[email protected]> wrote: > > Thank you, Peter, compositeMaterial seems to do the job... going a bit > further, can only some materials from the layers stack be > interactive ? BTW are movieMaterial interactive ? ie can, for example, > a form be applied as a texture to plane and being filled , or more > simple a Button be clicked ? (I'm using flex) > > thomas > > > On 25 oct, 23:49, Peter Kapelyan <[email protected]> wrote: > > Hi! > > > > Check out BitmapMaterialContainer or CompositeMaterial, used in this > demo: > > > > http://www.infiniteturtles.co.uk/blog/away3d-layering-and-projecting-... > > > > -Pete > > > > On Sun, Oct 25, 2009 at 5:09 PM, webattitude <[email protected]> > wrote: > > > > > Hello, > > > > > Can materials be layered ? for example several PNGs with transparency > > > stacked within a texture. > > > > > thomas > > > > -- > > ___________________ > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > HTTP://AWAY3D.COM > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
