Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Screenweasel webforumsuser@macromedia.com #1
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
-
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... -
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... -
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)... -
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... -
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) ... -
Screenweasel webforumsuser@macromedia.com #2
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
-
Screenweasel webforumsuser@macromedia.com #3
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
-
_posted.by\(Vern\); #4
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



Reply With Quote

