English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Sometimes it seems to follow them, like "stop()" commands. But many other actions, seem to get ignored in the first frame of a movie clip, like telling a movieclip to "play()". Why is this?

2006-07-26 05:09:20 · 2 answers · asked by Madflea 2 in Computers & Internet Programming & Design

Example:
stop();
works in the first frame but:
_parent.myMCname.play();
is ignored and I have to put in a later frame to work.

2006-07-26 05:18:35 · update #1

2 answers

Flash variables are dependent on the frame they are contained within. If you place a variable in the first frame and it is an action that

1) Would happen even without the variable
or
2) Can't happen due to errors or some other factor

Flash will ignore it. If I create a play factor in the first frame to play the main movie, of course flash will ignore it because Flash will do that automatically. However, a stop variable forces Flash to perform an action outside of it's current behavior so it will have to follow it.

Make sence? I'm not the best at explaining things. However, that makes perfect sence in my mind...

2006-07-26 05:20:54 · answer #1 · answered by Ipshwitz 5 · 0 0

It depends which other coding you use with it, if you use "play();" with nothing else, its just going to play the movie like normal because that's what "play();" does, but with other stuff, it varies.

2006-07-26 12:16:21 · answer #2 · answered by Steve B 2 · 0 0

fedest.com, questions and answers