Hi all,
I have a javascript problem. I have a swf which has a button and a textfield. On clicking the button I am calling a javascript function and passing some value to the textfield.
In the javascript function I am using GetVariable to get the value of the textfield from flash and am trying to display it in an alert box.
Its working pretty fine in IE....but not at all working in Netscape6.0
I am attaching the fla.
This is the code written in html.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language = "JavaScript">
function check (){
alert("in check");
var chapterName = tr.GetVariable("chapter");
alert(chapterName);
//alert("here");
not sure, but maybe cos your embed tag is set within the object tag? since nn doesn't like object, it might ignore the whole embed since it's within object - try starting the embed after you close object.