5 Replies Latest reply on Oct 22, 2007 10:25 AM by kglad

    Using globals?

    eDubs Level 1
      After doing some research I found that you can set global variables. Is there a way to use those to add actions to a button throughout my entire swf then? For instance, I have a movie with scenes and each has a button with the same basic code:

      btn.onRollOver = function() {

      btn.onRollOut = function() {

      Can I place this code somehow on one frame at the beginning of my code and have it apply everywhere? Thanks for taking a look.