i want to unselect an object chen the object is selected so i do :
Code: Select all
on selectedObjectChanged
set the selected of me to false
end selectedObjectChanged
Have you got an idea about this problem?
Thanks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on selectedObjectChanged
set the selected of me to false
end selectedObjectChanged
Code: Select all
on selectionchanged
select empty
end selectionchanged
Code: Select all
on selelectedobjectchanged
-- do your code here
if "unselectMe" is not in the pendingmessages then
send "unselectMe" to me in 100 milliseconds -- change this interval
end if
end selectedobjectchanged
on UnselectMe
select empty
end UnselectMe
By putting "the selectedObject" to return a list of the currently-selected object. If you see anything missing from that list that appears in a selected state on screen, you've found a bug.tal wrote:How can I verifiy this?