actionscript loops
actionscript loops
Out of context: Reply #7
- Started
- Last post
- 11 Responses
- tGP0
people used to make habit of dragging a blank movie clip to the stage, and attaching actions to it, you can do something like this too, makes for clean code as it can all be centralized on the main timeline:
_root.createEmptyMovieClip("hold... 10);
holder_mc.onEnterFrame = function() {
if (something happens){
// do this...
} else {
// do that...
}
};