bu kodlama dili nedir?

atasay

0
İyinet Üyesi
Katılım
4 Ocak 2012
Mesajlar
14
Reaction score
0
arkadaşlar aşığda bir actionscript kod örneği ekliyorum bu as2 ilemi hazırlanmış yoksa as3 ilemi?

Kod:
package 
{
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;

    public class Baloncu extends BotQuestBase
    {
        public var startX:int = 12;
        public var startY:int = 0;
        public var startZ:int = 23;
        public var dir:int = 3;
        public var status:String = "i";
        public var char:Object;
        private var shop:Shop;
        public var purchasedItemData:Object;
        private var timer:Timer;
        private var talkTimer:Timer;
        private var isShopping:Boolean = false;
        public var shopOnAir:Boolean = false;
        public var facebookClip:MovieClip;

        public function Baloncu()
        {
            super("Baloncu", "");
            return;
        }// end function

        public function init(param1:Object) : void
        {
            this.char = param1;
            this.buttonMode = true;
            this.char.scene.engine.addEventListener("sceneready", sceneInitialized);
            talkTimer = new Timer(14000);
            talkTimer.addEventListener(TimerEvent.TIMER, talkingTime);
            talkTimer.start();
            param1.scene.addEventListener("terminate", terminate);
            this.buyText = param1.scene._("talkWBaloon");
            return;
        }// end function

        public function getSmileyXY() : Object
        {
            return {x:0, y:-10};
        }// end function

        public function talkingTime(event:TimerEvent) : void
        {
            char.talk("Sevimli balonlar burada!!!");
            return;
        }// end function

        private function sceneInitialized(event:Event) : void
        {
            this.char.scene.engine.removeEventListener("sceneready", sceneInitialized);
            this.char.scene.addEventListener("terminate", terminate);
            return;
        }// end function

        public function introduce() : void
        {
            if (!shopOnAir && !isShopping)
            {
                shop = new Shop(char.scene, this);
                shop.init();
                char.scene.showPanel(shop);
                shopOnAir = true;
            }
            return;
        }// end function

        public function konus(param1:String) : void
        {
            char.showQuest(param1);
            return;
        }// end function

        public function stopPurchase(event:Event) : void
        {
            closeShop();
            char.scene.confirm(char.scene._("info"), char.scene._("LBenuoghSanil") + char.scene._("wHSanil"));
            char.scene.addEventListener("confirmPanelResponse", confirmPanelResponse);
            return;
        }// end function

        public function confirmPanelResponse(event:Event) : void
        {
            char.scene.startOdemePanel();
            char.scene.removeEventListener("confirmPanelResponse", confirmPanelResponse);
            return;
        }// end function

        public function purchaseResult(param1:Object) : void
        {
            if (param1.purchaseResult == "insufficientBalance")
            {
                closeShop();
                char.showQuest(char.scene._("BNotHaveSanil"));
            }
            else if (param1.purchaseResult == "error")
            {
                closeShop();
                char.showQuest(char.scene._("BtryAgain"));
            }
            else if (param1.purchaseResult == "succesfull")
            {
                closeShop();
                char.showQuest(char.scene._("BthankU"));
            }
            else if (param1.purchaseResult == "cancel")
            {
                shop.buyEnable();
            }
            return;
        }// end function

        public function closeShop() : void
        {
            if (shop != lisanssız)
            {
                shop.terminate();
                shop = lisanssız;
            }
            return;
        }// end function

        private function terminate(event:Event) : void
        {
            talkTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, talkingTime);
            talkTimer.stop();
            talkTimer = lisanssız;
            if (char.scene.engine.hasEventListener("sceneready"))
            {
                char.scene.engine.removeEventListener("sceneready", sceneInitialized);
            }
            char.scene.removeEventListener("terminate", terminate);
            char = lisanssız;
            timer = lisanssız;
            shop = lisanssız;
            purchasedItemData = lisanssız;
            return;
        }// end function

    }
}
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Elektronik Sigara Cicisex Porno
Üst