Html issue with swf banner


I have created a banner in flash and add some code that help me track my banner
here is the code I added to swf file

myButton_btn.onRelease = function() { 
    if (clickTAG.substr(0, 5) == "http:") { 

And now i added that swf file in to html and followed gudeline by adobe but nothing happened plz help

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="468" height="60" align="middle" id="FlashID" title="lop"> <param name="movie" value="lop.swf?clicktag=" /> <param name="quality" value="high" /> <param name="swfversion" value="" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object data="lop.swf" type="application/x-shockwave-flash" width="468" height="60" align="middle"> <!--<![endif]--> <param name="quality" value="high" /> <param name="swfversion" value="" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href=""><img src="" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    <!--[if !IE]>-->
<script type="text/javascript">

Adobe guideline url:


I am not a great web developer but from my experience what I would suggest in a scenario like this is reducing the code to the absolute minimum. In this case - you don't need all these parameters. What is enough to display a banner is this:

<object width="468" height="60"> <param name="movie" value="lop.swf?clicktag=" /> <embed src="lop.swf?clicktag=" width="468" height="60"/>

Also now as I wrote it, I noticed that you are missing the "<embed>" tag in your code. That reason alone is the cause for the banner not showing. So maybe first you can try just adding this line:

<embed src="lop.swf?clicktag=" width="468" height="60"/>

Right after this line:

<param name="swfversion" value="" />

And if that doesn't help, just try doing what I suggested in the first place. Tell me how it went :)

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: