[LEFT]I am using Flash 8, and for some reason, my if statement won’t work. I have a scrollbar which scrolls a movieclip (that contains AS loaded material (eg. attachmovie). I want it so that only when the material is longer than the scrollbar do I see the scroll bar.
For some reason, it doesn’t work. The traces don’t even work!
if (scrollbar._height < menu_mc._height) {
scrollbar._alpha = 100;
trace(“works”);
}
else {
scrollbar._alpha = 0;
trace(“not”)
}
[/LEFT]