I have an attached MC - CatTopMC
code:
LoadCats = function ()
{
attachMovie("CatTopMC", "CatTopMC", 9);
cCat = this["CatTopMC"];
cCat._x = 0;
cCat._y = 0;
}
Inside that MC is another MC - InnerMC. I'm trying to use javascript to send the timeline to scene label like so
code:
document.flashMovie.TGotoLabel("_level9.CatTopMC.I nnerMC", "Disabled");
But It doesn't seem to work. I think I have narrowed the problem down as if I don't attach the movie and just drag the movie CatTopMC out of the library on to the stage giving it an instance name of CatTopMC and use almost the same syntax for the javascript
code:
document.flashMovie.TGotoLabel("_level0.CatTopMC.InnerMC", "Disabled");
It works! I'm thinking it is something to do with attaching movies and referencing instance names. Does anyone have any experience of this, who could help me? Even just a point to a document. I would be really thankful
.mini