1 Reply Latest reply on Jul 26, 2007 3:52 PM by nik c

    constructing path from _levelx. ... .main_btn

    nik c Level 1

      How would I construct a path to then use it e.g. to asign filters to the movie clip I am pointing to? I have tried to construct it as a string as in e.g.

      tVideoInfo = "_level2.menu_mc.item" + whichUnit + ".main_btn";

      (leading to something like: _level2.menu_mc.item1.main_btn)

      then wanting to use ...

      tVideoInfo._parent.filters = [filterSelected];

      on it.

      But as I imagined the path to the item I want to apply the filter filterSelected to is not a string. What do I have to convert it to so this works? Or is there a better way?