I saw in one post, senocular wrote command to pause frame for some time:
setTimeout(func,3000); exc.3000–3 secs
but i give you my simple addChild example:
var mc:MovieClip = new mc_mc();
setTimeout(func,3000);
function func (e:Event):void {
addChild(mc);with(mc){x=200,y=200};
}
and when i test movie, after 3 secounds i saw this error :
ArgumentError: Error #1063: Argument count mismatch on Untitled_fla::MainTimeline/func(). Expected 1, got 0.
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Any help?! Thanks
Aleksandar