+ Reply to Thread
Results 1 to 1 of 1




  

Thread: FS Command

      
  1. #1
    I'm New! netproint is on a distinguished road
    Join Date
    January 30, 2008
    Location
    India
    Posts
    26
    Rep Power
    5
    Feedback Score
    0

    Default FS Command

    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?

    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>
    Appreciate all your help.
    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?)
    Last edited by Colleen; Apr 1st, 2008 at 1:28 pm. Reason: additions to message

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads