Can't apply buttonMode to MovieClip?
I am trying to apply buttonMode to a movie clip like this:
pathToThumb.getChildAt(i).buttonMode = false;
and am getting the following error.
1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:DisplayObject.
I am setting up that button like this:
var thumbHolder:MovieClip = new MovieClip();
thumbHolder.id = loadingCount;
thumbHolder.name = "thumb" + loadingCount;
MovieClip(root).slideMenuHolder_mc.slideMenu.thumbs_mc.addChild(thumbHolder);
Why is that and how can I change it?
Thank you!!!