This.onRelease set variable and goto?

Hi everyone,

working on something using an adaptation of the complex button tutorial.

Ive got the following…

this.onRelease = function() {

…which just sends the viewer straight to the page… but i need to set the destination in a variable, gotoandplay an outro section of the movie and then go to the destination set in the variable.

Ive done this absolutely fine previously using the following code…

on (release) { = "graphic_design.php"; 
    gotoAndPlay ("outro");

but i can’t seem to make the top code do this. i havent had any experience using ‘this.’ and im sure its pretty simple but i cant do it!

any suggestions would b appreciated!