Hello.
I have a button, keep="true" and different assignments to the click event. I want to keep it true in Scene_1, Scene_2 and Scene_3, keep false in Scene_4', Scene_5 and Scene_6, keep true in Scene_7, Scene_8 and Scene_9 and give the click event a new assignment.
Is there a practical way to do this?
Button of scene 1, scene 2 and scene 3:
Code
<plugin name="Link1"
url="%SWFPATH%/ikon/link.png"
keep="true"
enabled="true"
align="leftbottom"
scale="0.45"
x="3" y="240"
scale.mobile="0.45" bgalpha="0.20"
visible="true"
onclick="openurl('http://demo1111.com', );" />
Button of scene 7, scene 8 and scene 9:
Code
<plugin name="Link1"
url="%SWFPATH%/ikon/link.png"
keep="true"
enabled="true"
align="leftbottom"
scale="0.45"
x="3" y="240"
scale.mobile="0.45" bgalpha="0.20"
visible="true"
onclick="openurl('http://demo2222.com', );" />
I'm using the same button names. I place it in the same location.
I want this button to appear in certain scenes and not in certain scenes. I can do this by recreating it within each scene. But I am looking for a more practical method.
I also want to assign different click properties to this button.
Thanks in advance to those who can help.