1 person found this helpful
It depends on how you are setting the data on the path. I use AS to set the data prop on the path, so, on any event, I re-create the path string and assign it to the data property of the path.
thanks for your reply but my problem is not to recreate the path based on an event
what i need is to listen to the click event on the path itself after it is created and diplayed to the user so that when the path is clicked i can change application state.
The Path object is not ineractive. You need to add it as an element to a component that can be ineractive (like a Group), then listen for the click events on that rather than the Path.
thanks alot for your replay, spent more than 4 hours and did not occur to me that it could be done by wrraping the path in an interative object.