Molehill by design renders the 3D behind everything (except StageVideo, which is even further down the stack.) Flex by design works only with the display list, so if Flex draws a background it's gonna be over StageVideo and Stage3D (Molehill.) Hence, you need to prevent Flex from drawing a background.
The View3D is a display object, but it can't actually be used to move the view around in the display list. The main reason that it's a display object is actually legacy reasons. Bottom line is, Molehill will always render 3D behind the display list, so don't try to draw a background gradient or anything like that in the display list, as it will always obscur your 3D canvas. Cheers /R On May 15, 11:17 am, Stephen Hopkins <[email protected]> wrote: > wow, spent like 4 hours trying to figure this out until now. Thanks > justin. Is this a bug with flex? > > On Apr 18, 4:09 pm, Justin Patrin <[email protected]> wrote: > > > > > > > > > Actually this is because the 3D stuff happens in a layer beneath the flex > > components. You just need to set your Application's backgroundAlpha to 0. > > > Yeah, it took me forever to figure that out too. > > > -- > > Justin Patrin > > Developer Extraordinaire > > > On Thu, Apr 7, 2011 at 8:08 AM, kyma <[email protected]> wrote: > > > I solved this by removing all the flex bits. It's probably something > > > in my implementation but I couldn't get anything to work in a Flex > > > UIComponent. I can work around it for now, but I'd be interested to > > > know if anyone else has had Broomstick working in Flex components, or > > > whether this is a bug. > > > Like I say, it's most likely something stupid I was doing. Thanks a > > > lot for your suggestions everyone. Incidentally, aside from the last > > > few hours' frustrations, I don't think I've ever had so much fun at > > > work. Everything looks so smooth and runs so quickly. Incredible > > > work devs :-) > > > > On Apr 7, 2:23 pm, John Brookes <[email protected]> wrote: > > > > Kyma not sure what your doing but check that the render actually fires. > > > > just trace in the enterframe. > > > > > Also I've no idea what the sphere is being added to > > > > this.view.mainContainer.addChild(test); > > > > > view.scene.addChild(test)? > > > > > or what NapBackground is. > > > > > Sorry, other than that not a clue.
