3 Visitor Messages

  1. View Conversation
    //check dg input text "serang"

    serang.maxChars = 3;
    serang.restrict = "A-Z";

    Selection.setFocus("serang");

    serang.onChanged = function() {
    if (serang.length == 3 && musuhArray.length>0) {
    for (i=0; i<musuhArray.length; i += 1) {

    if (musuhArray[i]==serang.text.toUpperCase()) {

    z=i;
    trace(musuhArray);
    _root.attachMovie("ldkn","ldkn",_root.getNextHighe stDepth(),{_x:_root["targeto"+z]._x, _y:_root["targeto"+z]._y});
    removeMovieClip(_root["targeto"+z]);
    serang.text="";
    Selection.setFocus("serang");
    } else {
    Selection.setFocus("serang");

    }
    //end if
    }//end for
    }
    //end if length
    };//end onchanged
  2. View Conversation
    function musuhMuncul() {

    var bul = _root.attachMovie("targeto", "targeto"+jlhMusuh, jlhMusuh, {_x:-10, _y:random(270)+10});

    jlhMusuh += 1;
    var huruf = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    var huruf1 = huruf.substr(random(25)+1, 1);
    var huruf2 = huruf.substr(random(25)+1, 1);
    var huruf3 = huruf.substr(random(25)+1, 1);
    tigahuruf = huruf1+huruf2+huruf3;

    bul.teks.text = tigahuruf;
    musuhArray.push(tigahuruf);
    msg.text = musuhArray;//+"\n";

    if (jlhMusuh>=jlhMax) {
    //jlhMusuh = 0;
    clearInterval(jedaMusuh);
    }

    bul.onEnterFrame = function() {

    this._x += cepatan;
    if (this._x>kanan-this._width/2 && this.hitTest(tembok)) {
    this._x = kanan-this._width/2;
    }
    if (this._x>kanan-this._width/2 & !this.hitTest(tembok)) {
    this._x += cepatan;
    }
    updateAfterEvent();
    };

    }
  3. View Conversation
    //di library ada aset mc "ldkn" dan "targeto" utk menampung teks di dynamic text "teks"

    var musuhArray:Array = new Array();
    var jlhMusuh:Number = 0;
    var jlhMax:Number = 10;
    var cepatan:Number = 2;
    var atas:Number = 0;
    var kiri:Number = 0;
    var bawah:Number = Stage.height;
    var kanan:Number = tembok._x;

    var jedaMusuh:Number;
    jedaMusuh = setInterval(musuhMuncul, 1000);
Showing Visitor Messages 1 to 3 of 3
About blinandeaf

Basic Information

About blinandeaf
Kenapa kamu ingin menjadi anggota BabaFlash?:
TA ne om..hohoo
Location:
jogja e
Interests:
tanya, nganga.. aaa..
Biography:
pengen bisa, tapi banyak tanya e.. masalah??

Contact


This Page
http://www.babaflash.com/forum/members/blinandeaf/
Instant Messaging

Send an Instant Message to blinandeaf Using...

Statistics


Total Posts
Total Posts
12
Posts Per Day
0.03
Visitor Messages
Total Messages
3
Most Recent Message
10-15-2012 10:27 AM
General Information
Last Activity
04-05-2013 01:21 PM
Join Date
02-05-2012
Referrals
0

3 Friends

  1. Cupenk Cupenk is offline

    Pahlawan BabaFlash

    • Send a message via Yahoo to Cupenk
    Cupenk
  2. dedet dedet is offline

    Dah Nggak Dibanned

    dedet
  3. Ricko88 Ricko88 is offline

    Pahlawan BabaFlash

    • Send a message via Yahoo to Ricko88
    Ricko88
Showing Friends 1 to 3 of 3