For example, I've created in Flash CS a movie clip CampfireMC, which contains child movie clip:
m_fire:FireMC
FireMC is an animation of flame CampfireMC controls playback of m_fire, for example, last frame of CampfireMC uses action code:
m_fire.gotoAndStop(m_fire.totalFrames)
And the question is how to replace (not delete/add, as m_fire.gotoAndStop(m_fire.totalFrames) will not work in this case) FireMC to another animation FireMC2?
I've tried the following trick, but it doesn't work
var campfire:CampfireMC = new CampfireMC();
campfire.m_fire = new FireMC2();
campfire.gotoAndPlay(0)