I am having trouble spacing dynamic text boxes with as.
I can define how many spaces(characters) for each text box, but I want it to say something along the lines of:
"mc._x = i._width + “some extra space”;
here’s where the problem is:
spacing = 150;
boot = function () {
for (var i = 0; i<images.length; i++) {
mc = container.attachMovie("thumbMC", "thumb"+i, i);
trace(mc);
//mc._x = i*(spacing);
mc._x = thumb*.width;
mc.path = images*.path;
mc.link = images*.link;
mc.over.captionMC.caption.text = images*.caption;
}
I just don’t know how to say mc._x = i._width + spacing; in flash. If anyone could help I’d really appreciate it. I’m working on this as I type this so hopefully I can figure it out myself, but I’m not the greatest as-er
thank you.