Sie sind nicht angemeldet.


Dienstag, 15. Mai 2018, 11:21

Layer/hotspot do action on other hotspot ?

hello there, i’m looking for the code to execute an action to an hotspot when i click on a layer.
i have a layer named « delete_hotspot », when i click on it, i want to deleted a selected « hotspot ».


  set(hotspot[get(_selected_hotspot)].onclick, removehotspot(get(name)));

this code work: but i need to click on the « hotspot » after i need to click on « layer:delete_hospot » and after to the hotspot himself..

I want to save a step, click on the hotspot to « _selected_hotspot » and only click to «layer » for delete the selected one.

i think it’s easy but i don’t find it...


Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »ChukA« (22. Mai 2018, 00:13) aus folgendem Grund: Solved :)


Dienstag, 15. Mai 2018, 16:40

it will be a things like this but it’s not lol


get(_selected_hotspot), removehotspot(get(name));


Dienstag, 22. Mai 2018, 00:12

it's ok i've found... regards