4 Replies Latest reply on Feb 21, 2007 8:40 AM by Dz(00)

    Functions

    Dz(00) Level 1
      hi - is there any way of writing a function, something like this:

      function mc_alpha (){
      my_mc._alpha = 50
      }

      ...which doesn't target a specific mc, so that it can be applied to a number of mc's.

      obiviously, this doesn't work but this is what I'm trying to achive:

      function mc_alpha (){
      _alpha = 50
      }
      my_mc.mc_alpha()
      my_mc2.mc_alpha()
      my_mc3.mc_alpha()

      hope this makes sense - any help appriciated, thanks.