More Newbie SetInterval Help (for me :P)

How would I go about delaying an event by, say, 7 or so frames? The basic premise is this: I’ve SWFs loaded into levels 1 and 2. When the user clicks a button for a separate section, this code is sent:


_global.sWhichMovie = "Whatever Section"
_level2.gotoAndPlay("unload");
_level1.gotoAndPlay("unload");

In the separate SWFs, a basic mask tween goes on at this time, at the end referencing a function which uses the variable ‘sWhichMovie’ to load the specified section. Anywho, it doesn’t look so nice as it could if the “gotoAndPlay” code was delayed by 7 frames on level1’s SWF. Is it easier to just add ‘filler’ frames to all level 1 SWFs, which would hopefully have the effect I’m looking for, or can I use setInterval? I’ve seen it a few times around here, and believe me, it looks scary as all hell. I just wish there were a function “wait(ms)”, just something simple, as I’m really not intending to repeat this at all. I’d also like it if the SWFs on level 1 and 2 were offset by 7 frames in their opening mask tween. So far I’ve just gone the ‘filler frames’ method, which I think looks and is unprofessional. But I suppose if everyone tells me to just lay off the hard stuff, I’ll have to do that :stuck_out_tongue:

Cheers,

[COLOR=DarkRed]The Red Fall[/COLOR]