Here is a confusing one , My website is pritty simple a window based design i basicly have the content inside movieclips and im using _root.attachmovie toload them , Now im working on completing the project
Anyway im trying to add a taskbar to my websitre ive managed to get it to load a taskbar icon whenever a new window is open by launching the fuction below
function AddWindow() {
var icon = attachMovie("TaskbarIcon", _root.CurrentWindow, 10);
icon._x = this._width / 2 - icon._width / 2;
icon.Name.text = _root.WindowName;
}
My problem is im trying to find a way to arrange these movieclips theyre ninstance name is set using the name of the new window name . At the moment they simply load over eachother in the center of the taskbar . Im looking for a way to get them to arange in the center of the taskbar like this .
Can anyone tell me how to do this possiblyy by putting them into an array or something ?