Jump to content

Flash Banners for Affiliate area


Recommended Posts

Can anyone tell me why our flash banners do not show up in our code? See Below Please:

 

Thanks in advance!

 

 

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/468x60.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/468x60.swf width="468" height="60" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/392x72.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/392x72.swf width="392" height="72" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/120x90.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliAates/banners/120x90.swf width="120" height="90" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/125x125.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/125x125.swf width="125" height="125" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/250x250.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/250x250.swf width="250" height="250" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/120x240.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/120x240.swf width="120" height="240" border="0")><(/a)></p>

 

<p><a href="[AffiliateLinkCode]"><IMG src="https://www.inftekhosting.com/affiliates/banners/160x600.swf" border="0"></a><br>

<(a href="[AffiliateLinkCode]")><(img src=https://www.inftekhosting.com/affiliates/banners/160x600.swf width="160" height="600" border="0")><(/a)></p>

Link to comment
Share on other sites

For instance, check the W3 site for things like this :) very handy resource!

 

<object width="550" height="400">

<param name="movie" value="somefilename.swf">

<embed src="somefilename.swf" width="550" height="400">

</embed>

</object>

Link to comment
Share on other sites

  • 3 months later...

I have added the following into Affiliate Links:

 

<(a href=" [AffiliateLinkCode]")><object width="160" height="600">
<param name="movie" value="banner160x600.swf" /> <(embed src="http://www.mydomain.com/banners/banner160x600.swf" width="160" height="600")></embed>
</object><(/a)> 

 

and

 

<br> <br> <object width="160" height="600">
<param name="movie" value="banner160x600.swf" /> <embed src="https://www.mydomain.com/banners/banner160x600.swf" width="160" height="600"></embed>
</object> 

 

When I go to Client Area, the code shows fine as does the Flash banner. The code provided is:

 

<a href="http://www.mydomain.com/whmcs/*?aff=002"><embed src="http://www.mydomain.com/banners/banner160x600.swf" width="160" height="600"> </a>

 

I have taken the code and placed that on a page on my site to test, I can see the link address at bottom of browser when I scroll over banner, but does not click and does not increment the referral number in Client Area.

 

Can any one share what they do for Flash banners and affiliate code links? I have added the following Action Script to each banner for each client that requests that banner (with aff number changed to reflect affiliate, of course!).

 

inv_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.mydomain.com/whmcs/*?aff=002"));
trace("I'm clicked");
}

 

Does anyone know of an easier way? What eould I add in the action script or what would I add in the code in Affiliate section of General Configuration?

 

Thanks in advance for suggestions.

Link to comment
Share on other sites

You have to use

<( and )>

in place of all the < and >'s.

 

Thanks. I now changed the code to:

 

<(a href="[AffiliateLinkCode]")><(object width="160" height="600")>
<(param name="movie" value="banner160x600.swf" /)> <(embed src="http://www.mydomain.com/banners/banner160x600.swf" width="160" height="600")><(/embed)>
<(/object)><(/a)> 

 

and that got me in Client Area:

 

<a href="http://www.mydomain.com/whmcs/*?aff=002"><object width="160" height="600"> <param name="movie" value="banner160x600.swf" /> <embed src="http://www.mydomain.com/banners/banner160x600.swf" width="160" height="600"></embed> </object></a> 

 

However, I still can see the site address with affiliate code link in bottom of browser when hover over banner, but site visitor clicks banner on site I embeded flash into but does not get taken to site (new window does not open up!).

 

I tried removing action script in banner and republish and upload, but no go. Any suggestions please?

Link to comment
Share on other sites

  • 1 year later...

I understand this is a very old post, but since it ends without being solved, here's how it's done:

 

Your banner will need the following actionscript-code applied on a new top layer with a transparent box that covers the whole visible part of your banner for all the frames where you want it to be clickable. This layer, you should make into a "symbol" by pressing F8 in flash, and then choose "button" (and not graphic or movie-clip). This button should then have the actionscript:

 

on (release) {
getURL("http://www.thedomainyouwantittogoto.tldofchoice");
}

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated