all groups > flash actionscript > july 2007 >
You're in the

flash actionscript

group:

path shortcut


path shortcut Brian
7/7/2007 10:30:17 AM
flash actionscript:
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!
Re: path shortcut kglad
7/7/2007 6:16:22 PM
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.
AddThis Social Bookmark Button