Some basic best approaches
Confused about best way to approach the following:
I have a simple box (a button) and I want a rollover state. I *could* do this quite simply by on mouse over > change style
However, this box appears in numerous places so the solution seems to be to create a Master item of the box and apply my style changes within that.
However, when I place this master item onto the screen, It doesn't seem to accept any Events and even though I've selected the Master if my box, I just see 'No item selected' in the Events panel.
Q1: Is this a bug or can Events be attached to Master items? It just seems very wierd that events can't be attached to Master Items.
Q2: Am I better off creating a Dynamic Panel for this button instead where the Dynamic Panel has two layers?
Layer 1 = Default state
Layer 2 - Hover state
I tried this and created mouse on and mouse leave events and get get a rapid flickering of states when I mouse over.
Q3: Common items on Dynamic layers
Lets say I have a dynamic panel (a button) with two layers (default and hover styles) and BOTH layers have the text 'click me'.
I see to have to duplicate that text on both layers.
I'd love to see an option that allows my text to be shared between layers instead of having to duplicate it