i have two buttons, a search button and another button that uses a popup javascript function. the search button works fine. but when i click another button on my page that uses a popup code the search button will no longer work for some reason.
i am opening the search box in a new window:
on (Release) {
getURL(" "_blank", "GET"
;
}
action script located in the first frame:
p = 17457;
trackID = "E1404504087";
this button works fine untill i click on another button that uses a javascript popup. then the search button will do nothing when i click on it.
could this code be effecting the "GET" command? or any other aspect of that search button?
button in imported text file in flash text box:
<A HREF="javaScript
opup('/games/populous.html')">Populous_The_Beginning</A>
popup code in web page:
<script language="JavaScript">
function popup(arg) {
newwin = window.open('', "newwin", "toolbar=no,location=no,directories=no,status=no,menubar=no,personalbar=no,scrollbars=yes,resizable=yes,width='100%',height='100%',left=150,top=20"
;
newwin.document.write('<html><body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0"><iframe src="' + arg + '" width="100%" height="100%"></iframe></body></html>')
newwin.document.title = "newwin.document.close();
}
</script>
i don't understand why a completely seperate button would effect the search button, and only effect it after it has been clicked.
do you have any idea what could be the problem?
thanks.
i am opening the search box in a new window:
on (Release) {
getURL(" "_blank", "GET"
}
action script located in the first frame:
p = 17457;
trackID = "E1404504087";
this button works fine untill i click on another button that uses a javascript popup. then the search button will do nothing when i click on it.
could this code be effecting the "GET" command? or any other aspect of that search button?
button in imported text file in flash text box:
<A HREF="javaScript
popup code in web page:
<script language="JavaScript">
function popup(arg) {
newwin = window.open('', "newwin", "toolbar=no,location=no,directories=no,status=no,menubar=no,personalbar=no,scrollbars=yes,resizable=yes,width='100%',height='100%',left=150,top=20"
newwin.document.write('<html><body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0"><iframe src="' + arg + '" width="100%" height="100%"></iframe></body></html>')
newwin.document.title = "newwin.document.close();
}
</script>
i don't understand why a completely seperate button would effect the search button, and only effect it after it has been clicked.
do you have any idea what could be the problem?
thanks.