95Roadkill icon

Flash RTS Menu (WIP)

95Roadkill | PRO | 10/27/14 05:19:15 PM UTC | 0 ⭐ | 10909 👁️ | Never ⏰ | []
ActionScript |

1.79 KB

|

None

|

0 👍

/

0 👎

//Menu Code
stop();
var menu:Boolean = true;
var options:Boolean = false;
music._visible = false;
back._visible = false;
sound._visible = false;
soundSettings._visible = false;
mBar._visible = false
musicBar._visible = false
var soundOptions:Boolean = false;
var soundPlaying:Boolean = false;
var minNum:Number = 0;
var maxNum:Number = 3;
buttons.stop();
 
start.onRelease = function()
{
    gotoAndPlay(5);
};
 
sound.onRelease = function()
{
      menuSound.start(0,1)
    if (soundOptions == true)
    {
        soundOptions = false;
        config.gotoAndPlay(33);
    }
    else if (soundOptions == false)
    {
        soundOptions = true;
        config.gotoAndPlay(2);
 
    }
};
back.onRelease = function()
{
    buttons.gotoAndPlay(2);
    options = false;
    menu = true;
    back._visible = false;
    sound._visible = false;
    menuSound.start(0,1)
    if (soundOptions == true)
    {
        config.gotoAndPlay(33);
        soundOptions = false;
    }
 
 
 
};
opt.onRelease = function()
{
    buttons.gotoAndPlay(2);
    menu = false;
    options = true;
    opt._visible = false;
    start._visible = false;
      menuSound.start(0,1)
 
};
onEnterFrame = function ()
{
     menuMusic()
    if (_root._currentframe == 1)
    {
        if (soundPlaying == false)
        {
            mySound.start(0,99);
            soundPlaying = true;
        }
    }
    if (buttons._currentframe == 33 && options == true)
    {
        back._visible = true;
        sound._visible = true;
    }
    if (buttons._currentframe == 33 && options == false)
    {
        opt._visible = true;
        start._visible = true;
    }
    if (config._currentframe >= 32 && soundOptions == false){
        soundSettings._visible = false;
        mBar._visible = false
        musicBar._visible = false
    }
    if (config._currentframe == 32 && soundOptions == true){
        soundSettings._visible = true;
        mBar._visible = true
        musicBar._visible = true
        
    }
    sound.onRelease;
};

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Cuiznxcn icon
    05/18/26 04:35:48 AM UTC
    text |

    0 B

    |

    0 👍

    /

    0 👎

    Best t33n active cpx link daily updates!
     Copy and paste the link in a new browser tab and then hit enter!
     https://crazyporn.xxx/members/157354/?asgtbndr=1&play=true&spon=adworld&zone=400