Skip to main content
illustrate_this
Participant
May 1, 2018 9:53 AM UTC
Answered

Stop child movieclip playing

Hello,

Very simple question with a tricky answer I presume....

Basically I have a MC with two nested child MC's inside.

MainMC > SubMC > SubSubMC

When I play the MainMC timeline 'MainMC.play()' only its timeline will play.

When I play the second childs (SubSubMC) timeline 'MainMC.SubMC.SubSubMC.play()' this will only play SubSubMC timeline, perfect.

However when I try to play the first child (SubMC) 'MainMC.SubMC.play()' this will play its timeline AND the second childs timeline (SubSubMC).

How could I stop this from happening? I have thought about tracking the frame number of the first child then stopping this timeline when reaching the end but I cant seem to get this working. Perhaps there is an easier method?

Thanks for the help!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    ClayUUIDCorrect answer
    Legend
    May 2, 2018 6:30 PM UTC

    Does the sub-subclip exist along the entire timeline of the subclip? If it doesn't, it will get reinitialized and start playing when the subclip loops.

    4 replies

    ClayUUIDCorrect answer
    Legend
    May 2, 2018 6:30 PM UTC

    Does the sub-subclip exist along the entire timeline of the subclip? If it doesn't, it will get reinitialized and start playing when the subclip loops.

    Translate
    Joseph Labrecque
    Community Expert
    Community Expert
    May 1, 2018 12:35 PM UTC

    If they are two separate instances, each instance would require a play() command, if stopped. Are the two instance timelines stopped, initially? Because they will automatically play, otherwise.

    Translate
    illustrate_this
    Participant
    May 1, 2018 1:15 PM UTC

    Yes all of these MC's are stopped. The last nested MC seems to play when I play the middle nested MC. I think this may be a bug....

    Translate
    Joseph Labrecque
    Community Expert
    Community Expert
    May 2, 2018 5:46 PM UTC

    Can you share the file, possibly?

    Translate