When I trace the variable it comes out fine. But when I try to toggle the visibility with it, it doesn’t work. I can toggle visibility when I manually type the path name. What am I missing? Checked for possible spaces too. Stumped!
tempHolder.onRelease = function() {
arrowName = "arrow"+this._name.slice(5);
arrowName._visible = true; //<-- This doesn't work
trace(arrowName); //<-- The trace says arrow1
// arrow1._visible=true; <-- This works
trace("*"+arrowName+"*"); //<-- This says *arrow1* no spaces
}