Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Playing layers in order
From: Michael Galvin
Date: Sun, 12 Sep 1999 16:39:48 +0100

I have a movie where I'm using the timeline to do different things (woh!  there's a concept!)
 
I'll give an example:
Frames 1-50 (labelled "M->G") morph the word "Michael" to "Galvin"
Frames 100-150 (labelled "G->C") morph the word "Galvin" to "Cool" (this is just an example)
Frames 200-250 (labelled "C->D") morph the word "Cool" to "Dangerous"
 
Now, when I press button A, I want to morph "Michael" to "Galvin".  When I press button B, I want to morph "Michael" to "Cool" (ie., going thru "Galvin").  And when I press button C, I want to morph "Michael" to "Dangerous" ("Michael" -> "Galvin" -> "Cool" -> "Dangerous").  I want to see all the frames, but stop when I get to the word I want.
 
Now that I've explained the premise, here's what I've done so far.
When button A is pressed:
 
    Set variable "nextscene"="G"
    Go to and play("M->G")
 
When button B is pressed:
 
    Set variable "nextscene"="C"
    Go to and play("M->G")
 
When button C is pressed:
 
    Set variable "nextscene"="D"
    Go to and play("M->G")
 
Then, at the end of the first morph (frame 50), I have
 
    Stop
    If ("nextscene"="C")
          Go to and Play ("G->C")
    End If
    If ("nextscene"="D")
          Go to and Play ("G->C")
    End If
 
and in frame 150, at the end of the second morph, I have
 
    Stop
    If ("nextscene"="D")
          Go to and Play ("C->D")
    End If

I've also tried
 
    If ("nextscene"="D")
          Go to and Play ("C->D")
    Else
          Stop
    End If
However, this does NOT work.  No matter what button I press, I get all morphs.  Press button A, and I end up with "Dangerous"!
 
What am I doing wrong?  TIA, and apologies for the length of this post - it's a lot easier than trying to explain it in four or five posts.
 
 

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]