Gotoandplay getting complicated

basically i’m trying to get something like this;

on (release) {
    gotoAndPlay(1-30);
    gotoAndPlay(100-150);
}

so that once clicked on the frames 1 to 30 are played followed by frames 100 to 150

[SIZE=“1”][so for example the 1-30 is the fade out of one page and the 100 to 150 is the fade in of the next page][/SIZE]

does that make sense… and is it easily achievable?