1 Reply Latest reply on Jan 1, 2007 5:05 PM by Shandy Elliott

    Address sub-mc in a dynamically attached mc?

    GregNeumayer
      I'm also having a similar problem. Can you shed any light? I'm sure it's a stupid scope issue, but it's driving me mad today. I've got a prebuilt mc that has a bunch of movieclips inside of it. I've then attached the prebuilt mc to the stage dynamically at run-time. For some reason, the instanced mc's inside of it won't respond. Here's my code below. What am I missing?
      Thanks,
      Greg
      /////

      function instantiateOptions() {
      attachMovie("options_mc", "options_mc", 1000);
      options_mc.cost1_x.onPress = function(){
      trace("cost1_x pressed");
      }
      }