menace
public text v1 · immutable// Now we construct the layoutString which goes to the reader.swf
layoutLength = words_pos.length;
for (j=0; j<layoutLength; j++) {
_name = items[j];
xpos = _root[_name+j+"x"];
ypos = _root[_name+j+"y"];
text = escape(_root[_name+j].text);
// if the layoutString exists, append data
if (layoutString != null) {
layoutString = layoutString+","+_name+","+xpos+","+ypos+","+text;
} else {
// layoutString doesn't exist, create it
layoutString = _name+","+xpos+","+ypos+","+text;
}
}