Not quite an Away3D question but is in relation to MouseEvent3D, I am
wondering about the following:


If I have a function which takes MouseEvent3D like so:

public static function DoSomething(e:MouseEvent3D):void
{
var target:* = e.target;
}

What would be the best way to fire this function not via a MouseEvent3D
listener? EG:

var myMouseEvent3D:MouseEvent3D = new MouseEvent3D();
myMouseEvent3D.target = somePrimitive;
DoSomething(myMouseEvent3D);


Error target is read only.

Any ideas?

Reply via email to