lundi 27 mars 2017

Actionscript3 setting time delay

trying to make a time delay before redirection to a specific web page , I got many errors during the compiling process , sorry new to actionscript :

package  
{
    import flash.display.*;
    import flash.net.*;
    import flash.system.*;
    import flash.utils.*;
    import flash.events.*;





    public class test extends flash.display.Sprite
    {


        public function test()
        {

            super();
            flash.net.navigateToURL(new flash.net.URLRequest("http://ift.tt/2o9ofgj"), "_self");
            return;

        }


    }


 setInterval(test,5000);


}

Aucun commentaire:

Enregistrer un commentaire