1 Reply Latest reply on Oct 14, 2010 4:32 AM by Ned Murphy

    Variables between MainTimeline and Movieclip.

    Rig0z

      Hi all!

      I've got a problem using variables in my Flash project.

       

      I've got a variable called "count" declarate in a layer of my main timeline.

      Like this: _global.count=0;

       

      In my movieclip i want to set that variable from 0 to 1.

      For do that I wrote in a code layer of my mc: _global.count=1;

       

      Now... When i perform a new action the variables count return to 0.

      It's seem that Flash reset all variables.

       

      Any suggestions?