Hey -
anyone know how to create a Slider using relative positioning instead of an absolute x/y coordinate.
I am creating a full screen site - and would like the position to be relative to the screen size opposed to a fixed digit. A percentage of the screen.
basically - what I have been trying to do is combine these two types codes (these are just generic abrevations for example):
var homeMCy = new Array(0, -526, 40);
function jumpTohomeMCY(number) {
homeMC.newY = homeMCy[number];
}
logoBar.onResize = function() {
this._y = Stage.height-40;
this._x = (Stage.width)-240;
};
Stage.addListener(logoBar);
logoBar.onResize();
Anyone have any idea how I could make something work - so that the Array holds relative positioning…??