this is the JS function I need to involk:
function text1(){
document.writeln("<link rel="alternate" media="print" href="text1.txt">"
;
}
how can I initiate this function from a button?
This doesn't wanna work:
on (press) {
loadMovie("pt_kitt.swf", 2);
javascript:text1();
}
Thanks!
function text1(){
document.writeln("<link rel="alternate" media="print" href="text1.txt">"
}
how can I initiate this function from a button?
This doesn't wanna work:
on (press) {
loadMovie("pt_kitt.swf", 2);
javascript:text1();
}
Thanks!