portfolio_btn.onEnterFrame = function(){
if (this.hitTest(_root._xmouse, _root._ymouse, true)){
this.nextFrame();
} else {
this.prevFrame();
}
this.onRelease = function(){
subBar.removeMovieClip();
//trace("PORTFOLIO:
"+portfolio_overview+"
"+portfolio_recentprojects+"
"+portfolio_clients+"
"+portfolio_worksamples+"
"+portfolio_awards+"
");
var portfolio_array:Array = new Array("Overview", "Recent Projects", "Clients", "Work Samples", "Awards");
for (var i:Number = 0; i < portfolio_array.length; i++){
subBar = _root.navigation_bars.navbar_mc.duplicateMovieClip("navbar_"+i, _root.navigation_bars.getNextHighestDepth());
subBar.label_txt.text = portfolio_array*;
subBar._y += (i*35);
subTween = new mx.transitions.Tween(subBar, "_x", mx.transitions.easing.Strong.easeOut, subBar._x, 150, i+1, true);
subBar.onRollOver = function(){
navTween = new mx.transitions.Tween(this, "_x", mx.transitions.easing.Strong.easeOut, this._x, 250, 1, true);
}
subBar.onRollOut = function(){
navTween = new mx.transitions.Tween(this, "_x", mx.transitions.easing.Regular.easeIn, this._x, 150, 1, true);
}
subBar.onRelease = function(){
trace(this);
navigation_bars.enabled = false;
subTween = new mx.transitions.Tween(subVid, "_x", mx.transitions.easing.Strong.easeOut, subVid._x, 175, 1, true);
//contentTween = new mx.transitions.Tween(content_mc, "_y", mx.transitions.easing.Strong.easeOut, content_mc._y, 300, 1, true);
content_mc.content_txt.text = this;
}
}
}
}
so that’s pretty much what i’m working with… i have three of those… so what i want to do is remove all the bars from what was on the stage previously… basicly i have one bar with a text field on it that i duplicate for each part of the array… now, if you notice i use subBar.removeMovieClip(); somewhere near the top, this only removes the bottom bar that is displayed… something tells me this is a depth issue (though i’ve tried changing it around) and instinct tells me i’m just way off. could anybody help?