i finaly have time to build my own website and wanted to use you script with a few extra editions… but i’m stuk maybe you have time to help me?
basicly what im trying to get is that all my objects (menu, topnav, main, border, picinfo and next and previous) have to shape with my resize border but have to stay in the position i give um… (zie *.zip)
this threat shows what im talking about… http://www.kirupaforum.com/forums/showpost.php?p=493526&postcount=119
and my trouble is i want to make the border and containerMC fixed… (i got that already done) but it looks like the script and moving parts are all link on the center point of de border or containerMC… (am i right?)
MovieClip.prototype.resizeMe = function(w, h, pic) {
var speed = 3;
this.onEnterFrame = function() {
this._width += (w-this._width)/speed;
this._height += (h-this._height)/speed;
[COLOR=Red]** // navigation pos_
nav._x = Math.round(this._x-this._width/2);
nav._y = Math.round(this._y+this._height/2+spacing/2);**[/COLOR]
[COLOR=Red] // next & previous pos_
prevb._x = nav._x-1;
nextb._x = nav._x+this._width+1;
nextb._y = prevb._y=this._y-this._height/2;[/COLOR]
[COLOR=Red]** //picture information pos_
picinfo._y = nextb._y-1;
picinfo.info.text = tArray[pic];
picinfo._x = border._x-picinfo._width/2;**[/COLOR]
if (Math.abs(this._width-w)<1 && Math.abs(this._height-h)<1) {
this._width = w;
this._height = h;
containerMC._x = this._x-this._width/2+spacing/2;
containerMC._y = this._y-this._height/2+spacing/2;
containerMC._alpha = 100;
delete this.onEnterFrame;
}
};
};
im realy stuck… and im dreaming actionscript code right now… nightmares