PDA

View Full Version : flash and javascript history.go trouble



fade011
October 19th, 2004, 12:38 PM
hi

i´m working on a site wich has some flash menu
i need to make a button tell the browser to make the classic back navigation but wont work

tried writing javascript in actionscript at flash

on (press) { getURL ("javascript:history.go(-1)"); }

or calling a function from flash to the asp page and got no answer (no error warning or any browser response)

on (press) { getURL ("javascript:goback()"); }

im sure the function code is working because if i call it from a button or an href at the page it works fine

function goback() { javascript:history.go(-1) }

got some other javascript functions like one for printing and another for closing a window wich was open with javascript and i call em from flash and work fine, but found trouble with this one

any help would be apreciated

seeya, sol