I have three ALMOST identical frames:
one BEFORE-action1 - which I?ll call ?FRAME A? here,
one AFTER-action1 as well as BEFORE-action2 - which I?ll call ?FRAME B? here,
and one AFTER-action2 - which I?ll call ?FRAME C? here.
! also have two frames with hotspots (both #4) leading to - which I?ll call ?FRAME ONE? and ?FRAME TWO here.
And finally I have two frames which are the conclusions of actions 1 and 2 - which I?ll call ?FRAME X? and ?FRAME Y? here, both with a single ?exit hotspot? called #1
Now I need some code to attach to the #4-hotspots in frames ?FRAME ONE? and ?FRAME TWO?, something like:
If #1 in FRAME X is not clicked, go to FRAME A
If #1 in FRAME X is clicked, go to FRAME B
If #1 in FRAME X is clicked, go to FRAME C (??)
And perhaps something ?in reply? for the #1s in ?FRAME X? and ?FRAMEY?.
I?ve thought of making the hotspots visible or invisible (value0 or value1), but then I assume the player of the game will execute the action I mention, and I can?t assume that, or else I give the solution away.
I have this same dilemma pop up in some 18 different places, so I really need a solution which I can re-use.