Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-23-2010, 11:43 PM   #1
nulrick
Registered User
 
Join Date: Sep 2010
Posts: 4
Default Making an swf clickable

hi!

I was sent an swf ad for my website and when I mouseover it I get the click hand symbol but when I click a page loads with an error saying that the page cannot be found.

I tried to place an a href tag around the entire swf file but I get the same error. Is there a way to fix this without having the flash file?
nulrick is offline   Reply With Quote
Old 09-24-2010, 12:24 PM   #2
gangstareef
Senior Member
 
gangstareef's Avatar
 
Join Date: May 2009
Location: New Orleans
Posts: 102
Default

Lots of flash ads implement something called a clickTag, which ad networks use for tracking purposes. Could be the case with your ad. The AS code calls the navigateToURL() method (or its AS2 equivalent), but rather than hard-coding the desired URL, it's passed in from the HTML container, eg. as a FlashVar. If you google clickTag, I'm sure you can read up on it...

Here's an example AS3 implementation.
gangstareef is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:05 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.