I'm quite new to Flex, but I'm porting a web app into it using Away3d. I've got a bit of a dilemma:
In its simplest terms:
I need to set the application background visible=false, not just alpha=0, as it's blocking mouse events for items which need to be behind it.
What I'm actually trying to do:
If I add the View3D to Stage, its index is only relevant for display list and events (Mouse etc), it will always render behind everything else - so I have to set backgroundAlpha="0" in the Application tag to see it. However, this leaves me with two options, neither of which are desirable:
Adding View3D at childIndex(0), the mouse events bound for the View3D are intercepted by the invisble (but still present) application background. However, adding to the stage at the highest index will prevent flex components working as they are technically underneath the view, even though they appear higher.
I need my View3D to react to mouse events and I need to overlay Flex components. I'd rather not use a hidden sprite to intercept/re-dispatch events or something, is there a way to simply set application background visibility?
Thanks in advance