Hi,
I have a graphic with, for example, this points :
440,520
621,520
621,351
1000,351
1000,520
This graphic has a script, but the script is called when clicked everywhere in the rect of the grc, and I would like to restrain the call of the script only if I click on the real graphic and not on its rect, do you think it is possible?
Thank you
Script of a graphic
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Script of a graphic
Hi tal,
actually for a polygon graphic (the one you do with the points) if the opaque is set to true only the line and the filled area should get a mouseUp, if the opaque is set to false only the line should get the mouseUP. Not the rect of the graphic.
Could you explain a little and maybe post some of the code?
regards
Bernd
actually for a polygon graphic (the one you do with the points) if the opaque is set to true only the line and the filled area should get a mouseUp, if the opaque is set to false only the line should get the mouseUP. Not the rect of the graphic.
Could you explain a little and maybe post some of the code?
regards
Bernd
Re: Script of a graphic
Finally I found a solution using a restriction with points of my graphc and sending mousedown to the low layers of the other graphics... thank you
Tal
Tal