Web Designing help needed (FLASH SOFTWARE)

melanxpress

Well-known member
  • Aug 18, 2008
    4,819
    223
    63
    32
    Malaysia & Kandy
    Simple pre loader tutorial with play button by: Jordain Joyce

    First of all open up flash then

    Create 4 Layers and in order name them: Actions
    Loader outline
    Loader Bar
    Content

    Then create 3 frames for each layer.
    Lets start in the actions layer, for the first frame make it blank and the second frame make it blank also. Press F9 to open the actions panel (make sure you are in the 2 frame of the actions layer) and put this in

    Code:
    myLoaded = Math.round(getBytesLoaded());
    myTotal = Math.round(getBytesTotal());
    myPercent = myLoaded/myTotal;
    myBar._width = myPercent*170;
    MyText = Math.round(myPercent*100)+"%";
    if (myLoaded == myTotal) {
        gotoAndStop(3);
    } else {
        gotoAndPlay(1);
    }

    meke thawa thiyenawa...................
    http://www.astahost.com/info.php/Pre-Loader-Tutorial-Flash_t12557.html