How do I identify an object that I pass into a function?
In my case I have 6 movieclips and 6 corresponding text fields (all 12 objects are on the main timeline) and the movieclips are named thumb1_mc, thumb2_mc, etcetc, and the text fields are named text1, text2, etcetc.
I have a method:
mcl_mcl.onLoadProgress = function (targetMC, loadedBytes, totalBytes)
in which I need to change the appropriate text file’s text depending on which movieclip is targetMC.
The trouble is I can’t find a way to distinguish which mc it is, so I can’t pick which text file to change.
I tried using properties but that doesnt work because everything about the movieclip gets obliterated the moment I load something into them.