Trouble handling timelines, layers, controls, mc's

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Trouble handling timelines, layers, controls, mc's

    Hello all.

    Let's say I have three tiers of movie clips; that is mc3a and mc3b are embedded in mc2 which is embedded in the original clip, mc1.

    Now, mc3a and mc3b are on the same layer, each accessible by buttons that reside in mc2.

    Let's say that mc3a runs for 300 frames and there is a goToandPlay command at the end to loop it.

    Well, the problem I am having is that it seems the mc2 timeline continues to play regardless of the goToandPlay control set at the end of mc3a. What happens is that mc2 will run the number of frames it has for mc3a and then go striaght into mc3b.

    Putting controls in mc2 (that is, in the layer that contains the mc3a-b movie clips) does nothing, either. I'm convinced the heart of the issueis my inexperience with Flash and an incomplete understanding of the relationships between movieclips, layers, and pathways.

    Can anyone enlighten me as to why my goToandPlay controls aren't working?

    Thank you.

    -screen


    Screenweasel webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. event handling with user controls
      you can assign the same event handler to each control as you create them. rember to receive a server postback from a dynamic control you must...
    2. Handling events in container controls?
      Hi, I have a sub in a user control that looks like this: Public Sub BatchDetail_ItemCommand(ByVal Sender As Object, ByVal e As...
    3. Layers, Timelines and Flash files - HELP!!!!
      Hey Helen, Did you ever figure this one out? I'm trying to achieve a similar effect and I want to be able to place flash movies (within layers)...
    4. Trouble with Flash and Timelines
      Hey Photoman, Did you ever figure out how to do this? I'm trying to accomplish the same thing. I want to be able to place flash movies in the...
    5. Handling Events in Nested Controls
      Hi, I have nested User Controls like below. User_Control_1 User_Control_11 User_Control_12(contains method DisplayMessage) ...
  3. #2

    Default Re: Trouble handling timelines, layers, controls, mc's

    Apologies for the typos. I'm just double clicking from the reference so there is no syntax error. My typing, however, is egregious. =-)

    I think I figured out the problem, if not the solution. The initial timeline (in my sample that'd be mc1) simply wasn't long enough, frame-wise, to incorporate more than 1.5 loop cycles of mc2 (and thusly mc3a-b).

    mc1 was maybe 600 frames, and I'm wondering if I can simply use a setInterval command to pause it for an outrageous number of milliseconds instead of artificially increasing the timeline size. I guess the question is, will a paused mc still allow all of its embedded mc's to run during the setInterval command?

    I'll post later if I suceed. Thanks!

    -screen


    Screenweasel webforumsuser@macromedia.com Guest

  4. #3

    Default Re: Trouble handling timelines, layers, controls, mc's

    All right. The setInterval code worked. I think I set it for something like an hour and a half. I wonder if there is some code to just allow an infinite pause procedure, but this will do well enough for now.

    -screen


    Screenweasel webforumsuser@macromedia.com Guest

  5. #4

    Default Re: Trouble handling timelines, layers, controls, mc's

    A fast scan reveals that you are spelling it incorrectly

    It is no goToandPlay(), it is gotoAndPlay().. I thought the first time was
    just a typo, something I am famous (or infamous for!) but you use the same
    mispelling again later in your post. Check you code.

    Other than that, perhaps more detailed explaination of what code you are
    thing to use, and maybe even posting the fla will do the trick.

    Regards,
    --Vern


    _posted.by\(Vern\); Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139