|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ok - I have the main timeline. Frame 1 of that timeline is a movie. When editing the child of that movie all I want to do is place a script in there that say's to go back to the main timeline and play frame 2.
I know it's gotta be easy but it's one of those things I cannot figure out! Any help would be appreciated. |
|
#2
|
|||
|
|||
|
Hi, this should do it:
_root.gotoAndPlay(2); |
|
#3
|
|||
|
|||
|
Tann, you are the man!
Another question though - What if I had 2 movies on frame 2 of the main timeline and I only wanted 1 of those movies, not both at the same time? Is that possible? |
|
#4
|
|||
|
|||
|
Tann, you are the man!
Another question though - What if I had 2 movies on frame 2 of the main timeline and I only wanted 1 of those movies, not both at the same time? Is that possible? |
|
#5
|
|||
|
|||
|
Hi, you could set a variable that both sub movies check to see who should play.i.e.
Code:
_root.oneOrTwo = "one"; _root.gotoAndPlay(2); inside each of the two movies: Code:
//Clip 1
if(_root.oneOrTwo == "one")
{
play();
}
else
{
stop();
}
//Clip 2
if(_root.oneOrTwo == "two")
{
play();
}
else
{
stop();
}
|
|
#6
|
|||
|
|||
|
Thanks Tann,
You did it again. No doubt I'll be posting another problem soon! |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > movie interaction |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|