1 Reply Latest reply on Jul 7, 2007 11:16 AM by kglad

    path shortcut

    Level 7
      I would like to create a variable as a path short cut, but I don't know
      what type that would be. Something like this.

      The path used to be like this:
      this.scroller_all.scroller_slider.infoScroll.textbox.html = true;

      There are several of these, so I would like to do something like this:

      var thePath:String = "scroller_all.scroller_slider";
      this.thePath.infoScroll.textbox.html = true;

      What type would this be and how do I get it into the path on the line below?

      Thank you!

        • 1. Re: path shortcut
          kglad Adobe Community Professional & MVP
          the shortcut will be pointing to this.scroller_all.scroller_slider and it is the same type as this.scroller_all.scroller_slider.

          so, if this.scroller_all.scroller_slider is a movieclip, your shortcut will be a movieclip. if that object is sprite, the shortcut is a sprite.