I’m having trouble getting this to work properly. I want the ‘box_grow’ function to run, wait one second and then ‘logo_mc.play’.
I’ve messed the code up trying a few things, here is my last try
//Intro animation of box growing and nav
box_grow(gray_outline);
var intervalID:Number;
gray_outline.onEnterFrame = function() {
clearInterval(intervalID);
intervalID = setInterval(function () {
logo_mc.play();
clearInterval(intervalID);
}, 1000);
};
Any suggestions?