i have a bar preloader that becomes longer as the site loads. but it starts in the center and moves outward, so it's not left to right.
i'm using an alpha gradient blend on the bar because the site will be windowless transparent, so i can't use/programatically move some basic white hiders with gradient edges.
because i'm using alpha transparency blend modes, i have to have a separate MC just for the bar and the 2 left and right alpha layers.
i'm trying to tell my preloader to move the left and right alpha layers of the separate movie clip, but it doesn't seem to work.
Percentage is dynamic text on the same layer as the actionscript, but the bar and it's alpha layers (which i want to move programatically ) are in a separate movie clip called MenuBarLoader.
any thoughts?
i'm using an alpha gradient blend on the bar because the site will be windowless transparent, so i can't use/programatically move some basic white hiders with gradient edges.
because i'm using alpha transparency blend modes, i have to have a separate MC just for the bar and the 2 left and right alpha layers.
i'm trying to tell my preloader to move the left and right alpha layers of the separate movie clip, but it doesn't seem to work.
Code:
_global.amountLoaded = getBytesLoaded()/getBytesTotal(); _root.MenuBarLoader.GradientLeft._x = 0 + (_global.amountLoaded * -253); _root.MenuBarLoader.GradientRight._x = 452 + (_global.amountLoaded * 253); Percentage.text = Math.round(_global.amountLoaded * 100) + "%";
any thoughts?