I want to be able to keep a couple of variables (
number) and be able to edit theses variables from within the
actioncode of a
number of eggs
number of apples
number of toasts
and when I press
addEgg number variable eggs adds plus one.
The problem is, this is not a problem if you have all the
actioncode at ONE place (in one frame). But when you have
actioncode inside a
button and MovieClip and in different
Keyframes it doesn't work so easily.
Is there any way to keep variables that is reachable from
every button and MovieClip in the flashfile?