Skip to main content
Participant
July 14, 2009
Question

How to share same sequence?

  • July 14, 2009
  • 1 reply
  • 348 views

Hi all experts:

I have a problem with flash which I have no idea how to call it properly, so couldn't find it from web. So here is my question...

Let's say I have 2 buttons at the beginning and 2 different endings, but same sequence in the middle, how can I click on button 1 > same middle > ending 1 ; as well as button 1 > same middle > ending 2. Surely I know I can do it by duplicating frames, however it seems not right if I have more buttons and more endings. So can anyone tell me how? Thanks a million!

From Cheeky

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
July 14, 2009

What decides between endings?  It can't be the buttons based on what you just described, so what will control the choice?

cheekyhkAuthor
Participant
July 14, 2009

I am not very sure, but it makes sense if there's variable passing in between for linking them all up with different variety, in probably framevent?

Ned Murphy
Legend
July 14, 2009

It looks like you need to decide how you want to decide between different paths... no one can do that for you.  However you do it, at the junction where a decision is made you either set the value of a variable that will be tested sometime later in an if/else conditional or use the decision immediately to take a specific detour to an alternate path.