[Flashcoders] Attaching the same Clip with differing widths along the X axis

2006-01-06 Thread Dennis Hart
I was wondering if anyone knew of a way or even the best way to go about attaching a single movieClip multiple times along the x axis when the actual width of the clip is determined my the content that it loads. In this case I am just trying to serve up a number of buttons that look like tabs.

Re: [Flashcoders] Attaching the same Clip with differing widths along the X axis

2006-01-06 Thread Chris Hill
I use the ActionScript Cookbook containers for this. They're very good at automatically arranging things in rows/columns. http://www.person13.com/ascblibrary/ something like this: import ascb.containers.Box; box = new Box(); box.parent = _root.myClip; box.direction = horizontal; box.spacing =