Hi guys,

I'm working on an AR project that displays objects that rotate.
I wanted to set it up so that when I click the model the rotation
stops or starts.

Initially I used model.addOnMouseDown. But what I found was that the
model was only detected sporadically.
I had useHandCursor = true and you could see the hand flickering off
and on.
I'm able to turn off the marker detection and when I do that
everything works as you would expect: the model is detected 100% of
the time.

Anyway, I thought I'd look into detecting it using Flash's normal
mouseEvent
mouseEvent.target.name
This detects the model 100% of the time as well, with the marker
detection on and off  but detects it as "instance69"  even though I've
given the model it's own name.
(It detects it as a Sprite).

So, I guess my questions are:
Has anyone had experience of detecting models in AR and did they have
any problems with addOnMouseDown?
Also, flash seems to give the model the instance name of "instance69"
every time! Is this something I can carry on depending on????

Cheers

D

Reply via email to