3 Replies Latest reply: Sep 12, 2007 6:37 AM by Newsgroup_User RSS

    How can I pause a nested timeline in a loaded swf?

    OrlandoJetset Community Member
      My main swf is the UI (or the shell) in which the other swfs will be loaded. In this shell, there is a play/pause button, but this button only successfully affects the top timeline in my loaded swfs. In other words, if i want to pause the animation in a loaded swf that only has one frame on the main timeline but the 'meat' of it is nested inside a mc, it will not work. The pause button will have no effect. Communication does not get established (based on my trace statements).

      Can anyone provide some code or idea on how to set it up?
      Thanks!
        • 1. Re: How can I pause a nested timeline in a loaded swf?
          .:}x-=V!P=-x{:. Community Member
          to access each MC you need to have instance names for each and use those names to access them.
          • 2. Re: How can I pause a nested timeline in a loaded swf?
            OrlandoJetset Community Member
            Yes, I am aware of that - everything is set up to work...all that doesnt work is that the shell needs to be able to tell whatever is loaded inside of blankclip_mc (placeholder) to stop playing until the button is pressed again. Easy to do if the loaded swf in blankclip_mc has only one timeline. But if the loaded swf is one frame long (on main timeline) and everything happens one level lower, it doesnt work. I tried to access it by OOP methods (mc.mc.mc) but it wont respond. I wonder if this is because the shell is exported as Flash 6 (AS 2)?
            • 3. Re: How can I pause a nested timeline in a loaded swf?
              Newsgroup_User Community Member
              same answer still spplies. make sure you first target the level or holder your external SWF resides,
              then the instance name of the MC and tell it what to do.

              Chris Georgenes
              Adobe Community Expert
              www.mudbubble.com
              www.keyframer.com
              www.howtocheatinflash.com

              OrlandoJetset wrote:
              > Yes, I am aware of that - everything is set up to work...all that doesnt work
              > is that the shell needs to be able to tell whatever is loaded inside of
              > blankclip_mc (placeholder) to stop playing until the button is pressed again.
              > Easy to do if the loaded swf in blankclip_mc has only one timeline. But if the
              > loaded swf is one frame long (on main timeline) and everything happens one
              > level lower, it doesnt work. I tried to access it by OOP methods (mc.mc.mc) but
              > it wont respond. I wonder if this is because the shell is exported as Flash 6
              > (AS 2)?
              >