i am afraid, u didn't get.

I have a flash movie embedded in html page, in the flash movie i have a button say "Back", when i click this button it should invoke a javascript function like this.

on (release) {
getURL("javascript:window.history.back()");
}

and it does invoke this function which will take me to the previous html page in the window history, only thing is i have to click it twice.