7 Replies Latest reply on Mar 10, 2007 8:45 PM by kglad

    named function parameters

    jl2000 Level 1
      Hi -
      I'm trying to condense all the properties of a button or movieclip currently on the stage from:
      AnyBtnOrMc._visible=true;
      AnyBtnOrMc._x = 400;
      AnyBtnOrMc._y = 200;

      to:
      ElementIs("AnyBtnOrMc", true, 400, 200);

      by using the named function attached.

      I get the trace(statemnt) but I don't get the mc or btn appearing.

      What am I missing?

      TIA any help.

      JL