I want to open a file browsing window after clicking on some object.
The MouseEvent3D.Click event is triggered, but when I call
var file:FileReference = new FileReference();
...
file.browse(...)
in the event listener function, flash tells me:
Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
In other words, the way mouseEvent3D events are handled now makes them not pass the ‘user interaction’ test of flash
I guess this comment in ObjectContainer3D is right?
override public function dispatchEvent(event : Event) : Boolean
{
// maybe not the best way to fake bubbling?
var ret : Boolean = super.dispatchEvent(event);
...