Sometimes I need to execute code at a certain point in the timeline. The call() function works fine to call external functions. However, when the function isn't called more than once, an external function seems unnaccessary. Is there any way to execute an inline function?
This doesn't work:
myTimeline.call(function() {
doThis();
doThat();
var myVar = new MovieClip();
etc.
});