Hi Fabrice, thank you for the answer! I'll do like that. Thanks!!!
Irati. On 2 dic, 11:08, Fabrice3D <[email protected]> wrote: > Hi Irati, > You could instead set visibility at mesh level instead of view. > The engine ignores an object for the render pipeline if visible is set > to false; > > Fabrice > > On Dec 2, 2009, at 10:12 AM, Irati wrote: > > > Hi! ok, I've got a question concercing to visibility. > > I want to do an application that shows a room in 3D or 2D, depending > > on the users choice, and has the possibility to switch between them. > > I have a Flex project divided in a kind of MVC. The view part is in > > the .mxml but the controller is an action script class. So, I have an > > UIComponent that manages all the 3D shapes made in away3D. I'm using a > > View3D to show the shapes in 3D and if I set view3d.visibility to > > false it works. > > But what would you use to show the 2D shapes? I mean, I need the > > controller to be the same, but I would like to use Degrafa for the > > 2D, and the only way I found to show the degrafa shapes fron .as > > class is using the graphics attribute (UIComponent.graphics) while > > drawing, and it has not any way to set it invisible. Do you know any > > other way to manage this? Even to hide the 2D shapes that are not > > Degrafa related would help. > > > I'm quite new with this, so, I would really thank your help.
