1 Reply Latest reply on Jul 13, 2006 1:29 PM by JakeTheSnake3.0

    Accessing a function from a movieclip form a top level layer

    Crandom Level 1
      Im having a dillema. my whole game rests on being able to access functions from a movieclip inside a movieclip in a top level layer called "Cards" to another layer called "Functions". I've used this code:


      to access this function:

      function play_modifier_card(card_num){

      It works OK when the function is in the movieclip but not when it is in a top level layer. I tried "_root.play_modifier_card(this.num.text);" but it didn't work. Any help appriciated. Thanks in advance.