I have a problem with my new website. I insert to timeline modified to movie clip intro. First of all I want close automatically intro. Second of all I want delay start webpage after intro. I tried many options, but without good result.
Below I show my as2 in frames.
First Frame:
Actionscript Code:
container_mc.loadMovie("myintro.swf");
(stop);
isstopped = true ;
_root.onEnterFrame = function() {
trace(secondScene);
if ( isstopped ){ delete this.onEnterFrame; }
fscommand("quit") {
window.close ();
}
}
_root.gotoAndStop(2);
Second Frame:
Actionscript Code:
Stage.align = "TL";
Stage.scaleMode = "noscale";
Stage.showMenu = false;
_root.preloader._width = 0;
_root.onEnterFrame = function ()
{
_root.preloader._y = Math.round(Stage.height / 2 - 200);
_root.preloader._width = loaded / total * Stage.width;
if (this.getBytesLoaded() == this.getBytesTotal())
{
__root.preloader._width = 0;
delete this.onEnterFrame;
this.gotoAndStop(4);
}
}
;
stop();
I need a help!!!
Thanks
Mario