I’m brain dead today - I can’t remember the syntax to create a loop assignment to simplify the code below:
item1_mc.onRelease = function() {
pageText_mc.pageText_tb.htmlText = contentArr[0];
easeContent();
};
item2_mc.onRelease = function() {
pageText_mc.pageText_tb.htmlText = contentArr[1];
easeContent();
};
item3_mc.onRelease = function() {
pageText_mc.pageText_tb.htmlText = contentArr[3];
easeContent();
};
(etc.)
What’s the best way to deal with incrementing through the movie clips - “item*_mc” in this context?