This content has been marked as final. Show 3 replies
------ calculate the click location
upperLeft = point(sprite(1).left, sprite(1).top)
clickLocation = the mouseLoc - upperLeft
------ get the model there
if sprite(1).camera.modelUnderLoc(clickLocation) = false then
model = sprite(1).camera.modelUnderLoc(clickLocation)
repeat with n = 1 to sprite(1).member.model.count
if sprite(1).member.model[n].name = model.name then
------ send to message window (THE MODEL NUMBER)
Hey, thats bang on! works a treat!
Your lingos alot more adapt than mine. I too abandoned Director for a while fearing its gonna go the way of the dodoo!
Thanks for you solution to my very niggling problem.
glad that helped.