Hey,
I made a new tileset Z_CustomerPlan, it has an existing tile in it, capshort1.
I added a button to this existing tile capshort1, named Z_BTNPreviewAll.
But this button should ONLY be visible when in the new tileset Z_CustomerPlan because capshort1 is used in some other tilesets.
i tried to do this with the following code in the onload event of capshort1:
if not mcore.uftileset = "SZ_CustomerPlan" then
ctrlZ_BTNPreviewAll.visible = false
end if
but this isnt working, it makes the button invisible on all tilesets, including Z_CustomerPlan.
So im trying to show/hide the button based on the tileset... is this the right way?
Some help would be nice.
Cheers,
Maarten