Flash Q

Out of context: Reply #8

  • Started
  • Last post
  • 22 Responses
  • shutdown0

    aye, linkage stuff and export them to first frame:

    myMusic = new Sound(myMusicMc);
    myMusic.attachSound("origchoice...
    myMusicVolume=100;
    myMusic.setVolume(myMusicVolume...

    and then:

    on (press) {
    play();
    //Sound is not playing and has not been paused
    if (playing!=true) {
    if (paused!=true) {
    playing=true;
    paused=false;
    stopped=false;
    myConditionText="Playing";
    myMusic.start(0,0);
    //
    } //closes paused!=true
    //
    //Sound has been paused
    if (paused==true) {
    playing=true;
    paused=false;
    stopped=false
    myMusic.start(myMusicPosition,0...
    myConditionText="Paused";
    _root.myMusic.onSoundComplete = function() {
    myMusic.stop();
    } //Closes function
    } //Closes paused==true
    //
    //END
    }//Closes playing!=true
    //
    }//Closes on press

    i can't make the file public yet but i could email it you if you promise not to loaugh at my coding

View thread