Question
where to delete t.onEnterFrame
Hi all. I've created a banner that has two frames on the main
timeline. On the first frame is some script to create snow. There
is an init() function to set some variables and then a call to a
mover() function. The init() function sets t.onEnterFrame =
mover(); I have a few movie clips on the stage in the first frame
of my main timeline. One of them plays, then at the end has some
script to start the next movie clip. At the end of my last movie
clip, I have script to advance the main timeline to frame two,
where I want everything to stop. I'm having trouble removing the
t.onEnterFrame to get the snow to stop moving. I tried creating a
global variable "finished" to keep track of when the last movie
finishes and advance to frame two of the main timeline, and tried
putting an "if" statement inside the mover function to check for
this and remove the t.onEnterFrame. No luck. Any help is
appreciated. Thanks!