Hi Guys,
I designed a Flash animation advertisement and trying to apply some script to it. I'm unable to understand what am I doing wrong. When I click on the button on my flash file, it wont do anything. I guess, I have messed up something in the html. This is the html structure, can anyone guide?
Appreciate all your help.HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Quality Business Links Flash Advertisement 300x250 resolution</title> <SCRIPT LANGUAGE="JavaScript"> var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; function qblmovie_DoFSCommand(command, args) { window.open('http://www.clixgalore.com/PSale.aspx?AdID=%advid%&AfID=%affid%&BID=%bid%', 'clixGaloreBanner','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); } if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) { document.write('<' + 'SCRIPT LANGUAGE=VBScript\> \n'); document.write('on error resume next \n'); document.write('Sub qblmovie_FSCommand(ByVal command, ByVal args)\n'); document.write(' call qblmovie_DoFSCommand(command, args)\n'); document.write('end sub\n'); document.write('<' + '/SCRIPT\> \n'); } </SCRIPT> </head> <body> <OBJECT> <param name="qblmovie" value="qbl_300x250_flash.swf"> <PARAM NAME="quality" VALUE="high"> <PARAM NAME="wmode" VALUE="transparent"> <param name="allowScriptAccess" value="sameDomain"> <embed src="qbl_300x250_flash.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" name="qblmovie" swliveconnect="true" allowScriptAccess="sameDomain"> </embed> </OBJECT> </body> </html>
Regards,
Ady.
(AND, do u really need to attach an html file with the flash file? Can we apply all this coding directly in the flash script?)

LinkBack URL
About LinkBacks





Reply With Quote
Bookmarks