|
| I am working on a project in which there are 6 movieclips. There is a
'caption' or 'hover' script that will display a popup when the
movieclips are moused-over. I am loading the text for the popups from
an XML file.
Below is the code for the mouseover of each movieclip. However, this
script will not work with the 'i' variables in place. I have to place
a certain number in place of them to get it to work (the XML is
working then). My question is this: how can I get this script
working?
Thanks for any help - Louis
-----------------------------------------------
for (i=0; i<total; i++) {
//below, identify movieclip example: b0, b1, b2, etc
b[i].onRollOver = function() {
//below, identify username from XML file
captionFN(true, username[i], this);
this.onRollOut = function() {
captionFN(false);
};
|
|