Flash Banner destination is undefined.. what?

Discussion in 'HTML & Website Design' started by MVPExchange, Jul 27, 2011.

  1. #1
    I am trying to direct my flash banner in html to my homepage.

    I can get the banner to appear but when you click on it, it takes you to my homepage/undefined.

    I know I am supposed to insert this line somewhere, but I can't figure out where:
    <a href="http://www.MVPExchange.com/"></a>


    Here is the code for my ad, works fine but won't take you anywhere:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="90" id="MVP_728x90" align="middle">

    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="http://www.MVPExchange.com/MVP_728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://www.MVPExchange.com/MVP_728x90.swf" quality="high" bgcolor="#ffffff" width="728" height="90" name="MVP_728x90" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

    Please Help!
     
    MVPExchange, Jul 27, 2011 IP
  2. liberox

    liberox Member

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #2
    First You can NOT rule the banner destination with hipper refference ( a href ). It must be included in the banner itself (before the comilation).
    If you have URLRequest defined into the banner, You also must change this line:
    <param name="allowScriptAccess" value="sameDomain" /> into <param name="allowScriptAccess" value="always" />
     
    liberox, Jul 28, 2011 IP
  3. PatratzelMov

    PatratzelMov Member

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #3
    Yes he is right

    U have to define the URL in the flash file before the compilation.
     
    PatratzelMov, Jul 28, 2011 IP
  4. PatratzelMov

    PatratzelMov Member

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #4
    I looked inside the flash file and i saw that you can specify the URL in the html. file with FlashVars here is how:



    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="90" id="MVP_728x90" align="middle">

    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="FlashVars" value="clickTAG=http://www.YOUR-SITE.com/" />
    <param name="movie" value="http://www.MVPExchange.com/MVP_728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://www.MVPExchange.com/MVP_728x90.swf" quality="high" bgcolor="#ffffff" width="728" height="90" name="MVP_728x90" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
    FlashVars= "clickTAG=http://www.YOUR-SITE.com/" />
    </object>

    if you have a javascript part something like this :
    ....................................
    'wmode', 'window',
    'devicefont', 'false',
    'id', '~MVP_728x90',
    'bgcolor', '#ffffff',
    'name', '~MVP_728x90',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', '~MVP_728x90',
    'salign', '',

    add the last line: 'flashvars', 'clickTAG=http://www.YOUR-SITE.com/'

    Hope this helps. Thanks!
     
    PatratzelMov, Jul 28, 2011 IP