armasmike
01-02-2008, 05:30 AM
I have a js file that i want to change the var showimage_1 useing flash ?
I can make a flash with a drop down box but what code do i use to change the var showimage_1 in the js file.
var showimage_1 = "yes"
if (showimage_1 == "yes") {
document.write('<br><TABLE cellpadding="0" cellspacing="0" border="0"><tr><td class="borders">');
document.write('<IMG SRC="sidebar.jpg" border="0"><br>');
document.write('</td></tr></table><br>');
}
I can make a flash with a drop down box but what code do i use to change the var showimage_1 in the js file.
var showimage_1 = "yes"
if (showimage_1 == "yes") {
document.write('<br><TABLE cellpadding="0" cellspacing="0" border="0"><tr><td class="borders">');
document.write('<IMG SRC="sidebar.jpg" border="0"><br>');
document.write('</td></tr></table><br>');
}