your as2 is as3. if that were as2, you would use _visible, not visible.
layers could never be hidden using actionscript. they can be hidden in authoring environment in cs3 and cs4.
an object with pointer stratBox1e doesn't exist when your code executes.
create an object (like a movieclip) and give it that instance name. retest.
(i should have known better than typing such a lengthy first response.)