http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=6&aid=249
Click events occur no matter what alpha the plane is set to. To stop this visible = false or removeChild etc. D On 29 November 2010 12:53, Andrea Silvestri <[email protected]>wrote: > If you watch the previous posts I did and I got that horrible result I > linked! > > Il 29/11/2010 13:52, Michael Iv ha scritto: > > Have you set owncanvas=true ? > > On Mon, Nov 29, 2010 at 2:48 PM, Andrea Silvestri < > [email protected]> wrote: > >> Hi Fabrice, >> thanks for your advice but still my problem is this: >> I set the alpha value to my planes but I get no modifications, I still >> clearly see them on my scene and I don't know how to change that =\ >> >> Il 29/11/2010 12:53, Fabrice3D ha scritto: >> >> usually setting an alpha of 0.01 is invible to eye, yet interraction >> remains... >> >> Fabrice >> On Nov 29, 2010, at 12:43 PM, Andrea Silvestri wrote: >> >> I want a plane to be completely transparent without removing the >> possibility to interact with it (don't worry, the visual about where this >> plane is, is given by other elements) >> >> Il 29/11/2010 12:39, Darcey Lloyd ha scritto: >> >> 1. If I want a material with parts semi transparent and parts with no >> transparency I use png materials. >> >> 2. plane.addOnMouseDown will still work when with owncanvas alphad out >> materials. >> >> EG: http://www.allforthecode.co.uk/splash/choice/ >> >> 3. If you want only parts of the material to be interactive use >> moviematerial and handle the event Listeners for the mouse the usual way >> through the movieclip which is used for your moviematerial. >> >> D >> >> >> >> >> >> >> On 29 November 2010 11:27, Miroku <[email protected]> wrote: >> >>> Anyone? >>> >>> On 24 Nov, 18:55, Miroku <[email protected]> wrote: >>> > Hi everyone, >>> > I wanted to make some parts (visually based on the texture) of a cube >>> > to be interactive. >>> > When I have to do such thing in 2D with Flash I usually make a >>> > MovieClip of the shape I want, add it on the stage with an instance, >>> > put it's alpha to 0 and then add all the eventListeners I want. >>> > >>> > Now I wanted to do the same thing with Away3D. I tried with >>> > primitives.Plane (shape which fits perfectly to my needs). >>> > But I immediatly encountered a problem: I don't manage to make it >>> > transparent. >>> > >>> > Here is my code:http://pastebin.com/2RAwhVXn >>> > >>> > If I add a >>> > ownCanvas = true; >>> > >>> > I get this horrific result:http://dl.dropbox.com/u/4064417/board.JPG >>> > >>> > without it I get simply this: >>> http://dl.dropbox.com/u/4064417/board2.jpg >>> > >>> > Anyone knows why this happens and how to fix it? >>> > Another question, will I be able to add mouse interaction once I >>> > manage to make the plane totally transparent? >>> >> >> >> > > > -- > Michael Ivanov ,Programmer > Neurotech Solutions Ltd. > Flex|Air |3D|Unity| > www.neurotechresearch.com > http://blog.alladvanced.net > http://www.meetup.com/GO3D-Games-Opensource-3D/ > Tel:054-4962254 > [email protected] > [email protected] > >
