I can’t figure out why my variable in an MX path works in one instance but not in another.
Please help.
3dron
When running this SWF individually this works:
while(i < 35) {
_level0[“Sold10” + (i)].text = “Sold”;
i++;
}
When running from root SWF and this MC is loaded into _level10.planContainer.Plan.FP
This works for me (showing the path):
_level10.planContainer.Plan.FP.Sold101.text = “Sold”;
But this doesn’t:
while(i < 35) {
_level10.planContainer.Plan.FP.[“Sold10” + (i)].text = “Sold”;
i++;
}