ClickTAG in flash v.8 ?

Hi,
Is it true that ClickTAG is no longer supported since Flash
version 8?
I created a banner for my client, and used Blur filter (Flash
version 8) as
an effect.
Then, for the button action I used this code:
on (release) {
getURL(clickTAG, "_blank");
But banner's action didn't work. Then I published file to a
lower version -
from v8 to Flash v6 - and everything worked, except my Blur
filter.
So my question is: how to use clickTAG in later versions
(Flash 8 and Flash
9).
Thanks in advance,
B.

Bare,
> Is it true that ClickTAG is no longer supported since
Flash
> version 8?
ClickTAG (aka clickTAG, aka clickTag) isn't a feature,
really. The
concept is a merely convention loosely adhered to by a number
of banner ad
agencies. All this constitutes is a variable passed into
Flash by way of
the HTML document that embeds the SWF. This can be done via
FlashVars or a
query string appended to the SWF's file name. The act of
variable-passing
in this matter has been supported for a long time, and is
still supported.
> I created a banner for my client, and used Blur filter
(Flash
> version 8) as an effect.
Right.
> Then, for the button action I used this code:
>
> on (release) {
> getURL(clickTAG, "_blank");
> }
I'm with ya.
> But banner's action didn't work. Then I published file
to a lower
> version - from v8 to Flash v6 - and everything worked,
except
> my Blur filter.
Here's my hunch. Flash Player 7 introduced case-sensitivity
into the
mix (see ...
http://www.adobe.com/support/documentation/en/flashplayer/7/releasenotes.html
... for details). If the variable passed into Flash happens
to be passed in
as ClickTAG, Flash Player 6 won't care that the ActionScript
is looking for
a variable that starts with a lowercase "c" -- but Flash
Player 7 will.
This is one of the biggest headaches when working with the
"clickTAG"
concept ... I guess agencies don't realize (or don't care)
that case
sensitivity became an issue several versions of Flash Player
ago.
If you don't nail the correct case in your reference to the
phantom
clickTAG variable -- and I say "phantom" because it doesn't
appear in the
SWF timeline until it is "fed" that variable from the HTML --
your Flash
Player 7+ SWFs won't "see" the variable in question.
Based on your description, I realize my input doesn't match
your
circumstances exactly. You're saying it seems to hinge on
Flash Player 8,
rather than 7. I'm afraid I can't explain that discrepancy.
The blur
effect will disappear before 8, because Flash 8 was the first
to support
filters and blend modes.
> So my question is: how to use clickTAG in later versions
(Flash
> 8 and Flash 9).
Again, it's not "clickTAG" that works or doesn't work -- the
term is
merely a convention -- it's the fact that ActionScript is
case sensitive
after Flash Player 7. You'll either have to make sure you
know how the HTML
is spelling that variable as it gets passed in, or you can
use an if()
statement to check for the existance of the variable.
on (release) {
if (clickTAG) getURL(clickTAG, "_blank");
if (clickTag) getURL(clickTag, "_blank");
// etc.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • How to publish for Google ADP, and make use of clickTag like Flash

    The transition from Flash to Edge Animate seems pretty straightforward from a coding/user perspective. I have not been able to find a solid answer on how to publish a banner ad, say a 728x90 leaderboard and deliver to a vendor. I need to know:
    1. Which files to deliver
    2. How do you structure the links for the .js files (absolute, root relative etc)
    3. How to add a clickTAG link that the vendor will populate the actual link into.
    Thank you.

    Just uploaded a file snippet created using software you mentioned. Try syncing the file named "TestClip" and see if it exhibits the same audio problem.
    http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=jrwalker4&tem platefn=FileSharing31.html&xmlfn=TKDocument.31.xml&sitefn=RootSite.xml&aff=consu mer&cty=US&lang=en

  • Flash clickTAG giving me the problem

    Hi ,
    I have the flash and its clickTAG is like ClickTAG="http://www.google.co.in/search?hl=en&q=flash+clicktag+truncating+the+url&aq=f&aqi=&aql=&oq =&gs_rfai=?http://www.nestlecrunch.com/napster/landing.asp?promo=ArtistDirect&banner=300Pl ugRON"
    but when I click on the Flash file it redirects me to Google homepage not to the intended URL (i.e. http://www.google.co.in/search?hl=en&q=flash+clicktag+truncating+the+url&aq=f&aqi=&aql=&oq =&gs_rfai=)
    Please help me .....

    Thanks for your help.
    Yes , I am passing the ClickTAG from flash variables . Below is the code for my movie flash .
    <SCRIPT LANGUAGE=JavaScript>
    var plugin = 0;
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)
        if (navigator.plugins && navigator.plugins["Shockwave Flash"])
            plugin = 1;
    }else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
        document.write('<SCRIPT LANGUAGE=VBScript\>\n');
        document.write('on error resume next \n');
        document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
        document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
        document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
        document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
        document.write('</SCRIPT\> \n');
    if ( plugin ){
        document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" ');
        document.write(' ID=ad_banner_example WIDTH=300 HEIGHT=250\>');
        document.write('<PARAM NAME=movie VALUE="%%L%%300x250_crunch_napster_plug.swf?clickTAG=%%C%%?http://www.nestlecrunch.com/napster/landing.asp?promo=ArtistDirect&banner=300PlugRON"\><PARAM NAME=menu VALUE=false\><PARAM NAME=quality VALUE=high\><PARAM NAME=bgcolor VALUE=#ffffff\>');
        document.write(' <EMBED src="%%L%%300x250_crunch_napster_plug.swf?clickTAG=%%C%%?http://www.nestlecrunch.com/napster/landing.asp?promo=ArtistDirect&banner=300PlugRON" menu=false quality=high bgcolor=#ffffff  ');
        document.write(' swLiveConnect=FALSE WIDTH=300 HEIGHT=250');
        document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"\>');
        document.write(' </EMBED\>');
        document.write('</OBJECT\>');
    }else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
        document.write('<a href="%%C%%"><IMG SRC="%%L%%300x250_crunch_napster_plug.gif" WIDTH=300 HEIGHT=250 BORDER=0\></a>');
    </SCRIPT>
    From this code %%C%% is replaced by "http://www.google.com/#hl=en&source=hp&q=24%2F7 Real Media&aq=f&aqi=g10&aql=&oq=&gs_rfai=C_R-4MQEITLHuBKDSgwTT-_jFCgAAAKoEBU_QQQdH&fp=f5f12e03 cde16576  " .
    Now as per your suggestion if I need to escape the characters then how do I achieve that ?

  • How-to add Flash Player 9 to Flash Pro CC - (PC & MAC)

    Howdy -
    I wanted to compile all of the helpful information regarding lack of Flash 9 support in Adobe Flash Pro CC.
    As you know that Flash 9 is still required for a majority of flash adverts and the DFP platform is especially critical of the flash version on a SWF creative. 
    Currently in Flash Pro CC the lowest version of flash you can save as is 10.3. Even when you do export a SWF as Flash 10.3, DFP and the DoubleClick validator reports the exported file as Flash 12.
    DoubleClick Flash Validator ( Awesome for verifying clicktags and Flash versions ):
    https://flashval-temp.appspot.com/validator/
    After numerous searches, I found this discussion on the here on the forums that properly addresses the issue and how to implement the fix on a PC & Mac:
    Can Flash Pro CC publish to flash player 9??
    http://forums.adobe.com/message/5750996
    Thanks to Kglad for providing all the information on this awesome fix.
    http://forums.adobe.com/people/kglad
    Thanks to Jarkko Syrjälä for providing the information on the MAC directories.
    http://forums.adobe.com/people/JarSyr
    For PC users you are going to need to locate the directories below:
    C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\Players\FlashPlayer9_0.xml
    C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\ActionScript 3.0\FP9\playerglobal.swc
    Note: The FP9 folder does not exist in the "ActionScript 3.0" directory, you will need to create it and place the "playerglobal.swc" located on the attached "Windows Flash CC FP9 Assets.zip".
    ======
    For MAC users you are going to need to locate the directories below:
    /Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/Common/Configuration/Players/FlashPlayer9_0.xml
    /Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/Common/Configuration/ActionScript 3.0/FP9/playerglobal.swc
    To navigate inside "Adobe Flash CC.app" in Finder, you need to right click it and select "Show Package Content".
    Note: The FP9 folder does not exist in the "ActionScript 3.0" directory, you will need to create it and place the "playerglobal.swc" located on the attached "MAC Flash CC  FP9 Assets.zip".
    ======
    Dropbox link to the assets: https://www.dropbox.com/sh/1sfyv5fxac1d7ob/yYYZI8Nwe4
    Below is a screen capture of my Flash CC on my MAC displaying the Flash 9 option:
    Hope this helps!
    Cheers!

    Thank you so much! This really helped! One thing to also mention is to restart Flash as the last step.

  • Help: Have Flash CC, but need CS5

    Hey everyone! I hope you all can help me out with this one. I need to learn Flash CS5 for a test I'm taking, but only have Flash CC. As you know, a number of features from CS5 are not active in CC (bones, motion editor, etc), making it very difficult to learn. Is there anyway within CC I can work in a legacy format and gain access to CS5?
    Thanks in advance!
    jim

    See if the following helps.  If not, show what you have tried and does not work...
    Flash clickTAG Tutorial - Learn how to build clickTAG enabled Flash banners with click tracking capability!

  • Compressing Flash Ad...

    Hi Everyone,
    I created a 15-second animated banner ad (300x250 Medium Rectangle) in After Effects CS6 @ 24fps.
    It is a very simple ad without a lot of motion, so not very complex.
    I need to bring this animation into Flash Professional to add a ClickTAG so clicks on the ad can be tracked via the ad server.
    I tried doing this with two different methods, via exporting a .swf from After Effects and importing that into the stage at Flash Pro.  I also tried exporting an .xfl from After Effects and opening that up in Flash Pro.
    Both methods work just fine.
    I am able to add the ClickTAG and wish to export it again to a .swf file that can be used as my banner ad (with Adwords Display Network).
    But the problem I am having is I can't seem to figure out how to compress the ad enough to get it below the 150kb size limit that Google Adwords has for flash ads.  Without getting total loss of quality, I can't get the exported swf below 1.2 MB.
    I even tried cutting the FPS down to 5fps and heavily compressing the frames further, and I couldn't even get it below 200kb!
    This is such a simple flash ad, and I see far more complex motion in flash ads on Google's Display Network, so I'm assuming this ad I made CAN INDEED be compressed to under 150kb while maintaining enough quality.
    I've even tried exporting from After Effects as a JPEG sequence with heavy compression--and importing the sequence into Flash and trying it that way--NO LUCK.
    Does anyone know how I can take this simple animated banner I created in After Effects, add my ClickTAG in flash and export it to under 150kb?
    I have been racking my brain on this and would greatly appreciate any assistance or guidance.
    Thanks so much,
    GB

    Hi GB,
    There are various ways in which one can optimize/reduce the size of the output swf file.
    Some of them are listed in the following likns and may be of little help to you
    http://www.sitepoint.com/steps-faster-flash/
    http://www.bannersnack.com/blog/how-to-reduce-swf-file-size-in-bannersnack/
    Thanks!
    Mohan

  • What software do you use for rich media ad development?

    I am a flash designer that would like to start developing rich media ads. My my full-time job, I am designing and developing banner ads but they are just normal banners with clickTags and flashing buttons.
    I would like to make them more interesting and widget like too, passing data via the database or allowing users to play and interact some how.
    How do you think is the best way for me to learn more about rich media adds? Should I try a trial membership with a place like Eyeblaster? I have heard about their plug-in for Flash that allow you to develop rich media. But is that a good system? Do you know others? What is it like. And do you normally just get into rich media ad dev because of clients or is it mainly used by ad agencies? Also, for those who use it at work or on banners, did you recommend / purchase it or was it purchased by your company? Are you a designer or developer? Does it work with AS 2.0 or AS 3.0 or both?
    Thx for reading and any replies thanks so much!
    Ms.Lee

    Most web advertising is still done with AS 2 because usually an on release event handler is required for tracking the clicks.
    A lot of rich media ads are produced by agencies. Or if a website sells banner ads, the company usually purchases the software for the in-house designer/developer to use and charges clients more for rich media ads. Companies like Eyeblaster usually charge based on the file size of the rich media ad, so they usually cost more to serve than regular old banner ads (and can take a lot longer to create) which is why they are more expensive for the client. Some clients want more than will fit or look good in a banner in which case rich media can be a good solution.

  • Call function from action panel in second frame

    I am starting to learn Adobe Flash. I'm using Flash CS6.
    I have a file called test.fla and another called bikertest.as
    Bikertest has this code:
    package as3.grey{
    import com.grey.utils.Console;
    //import com.grey.utils.ClickTag;
    import flash.display.MovieClip;
    import com.greensock.TweenNano;
    import com.greensock.easing.*;
    import flash.events.*;
    public class bikertest extends MovieClip {
    private var mc:MC;
    private var console:Console; 
    public function ray():void{
    init();
    trace("hi from here");
    mc=new MC 
    ; addChild(mc);
    I tried:
    import as3.grey.bikertest.as; 
    var t = new bikertest(); 
    t.ray();
    I want to be able to call ray() from the Action Panel in the second frame in test.fla . I hope this is clear. How can I do that? /Thanks!

    assuming your fla is in a super directory of as/grey and everything in bikertest is defined, use:
    import as3.grey.bikertest;
    var t:bikertest=new bikertest();
    t.ray();

  • Flash cs3 newbie help - setting up a clicktag

    I am just about to pull my hair out - please help as I don't have that much hair to pull out.
    I created a flash file in Flash CS3 and was told I need to add a click tag for an agency who want to keep track of the click throughs for the ad.
    I have created the invisible button layer and set up the 'hit' and tried and tried and tried to select the button and add some action script to it.
    (which I have seen three different codes to use)
    Each time I export it or publish it I get the error message: mouse events are permitted only for button insances on release. I have read and understand I need to assign the code to the button and not the frame but for the life of me, I cannot figure out how to do that.
    I select the button (which I have converted to a 'button') and F9 or left click to get the Actions panel and once I am there and try to use the '+' to add code, it automatically shows 'Current Select/Frame 1 in the left side of the Actions panel. I get that it is adding the code to the frame but how do I get it to add the code to the button???
    So my question is 1) how do I add the code to the button and not the frame and 2) what code should I use?
    Any and all help is GREATLY appreaciated!
    oops...forgot to add I am using AS2. Thanks!

    Kglad - thanks so much for all your help.
    I spoke to a friend who corrected what I was doing.
    Here's an explanation for those who may find the thread...
    Click on the invisible button you created and press F9 (opens Actions)
    (Ensure it says 'Actions: button' at top)
    Put this code in:
    on(release)
    var clickTAG="http://www.yourwebsite.com";
    if (clickTAG.substr(0,5)=="http:")
    getURL(clickTAG, "_blank");
    Seems it's always a simple answer for a baffling question.
    Thanks again.

  • Steps to insert a clickTag in a Flash Banner with Flash MX 6 & Adobe CS3 Version

    Hi Folks
    I am very new to this forum + having a basic level of
    understanding with Flash Software (like Flash MX & Adobe CS3).
    By profession i am online trafficker, and because of the fact that
    our Flash Creative Designer has gone on a leave, i therefore
    stumble upon with a challenge of inserting a "clickTag" in a flash
    banner.
    Here my expertise stands null, but yeah offocurse i did try
    many options but no result.
    So guys help me in this, what i wish to know the exact step
    by step procedure to insert a "clickTag" in a Flash banner for both
    Flash MX version 6 & Adobe CS3 version.
    I'll be happy if you guys come up with any step by step
    sitemap.
    Thanks & Cheers
    Nawaz Shahzad

    Right, well who could blame Adobe for saying that? It's not
    Adobe's fault. It's that most of the hosting sites have cold feet
    (IMHO) and fear that they'll have viewers who don't have the latest
    version which means their advertisers won't get the most bang for
    their buck.
    I keep waiting for them to at least increase the max
    allowable player version to FP8... but I have not seen that yet...
    will keep my fingers crossed that it happens soon. But what it
    boils down to is that you need to check with the hosting site
    before designing a banner so that you don't include filters (FP8)
    or use AS3 (FP9) if they are not supporting those players
    yet.

  • Flash CC and google display network clickTAG

    I have been trying to add a clickTAG to my advert files in Flash CC. Seems to work fine but google is rejecting the adverts as an 'unsupported format'. It appears that Google will only accept SWF files up to 10.1 and the lowest you can export in CC is 10.3. I have downloaded 10.1 encoder and added it to the program XML files but still not accepting. My last hope was to open in CS5 or CS6 and that should work but I can't seem to be able to backsave or I don't know how. Any advice on this? The clickTAG I am using is below:
    btn.addEventListener(MouseEvent.MOUSE_DOWN, onClick);
    function onClick(e:MouseEvent):void {
              var click_url:String = root.loaderInfo.parameters.clickTAG;
              navigateToURL(new URLRequest(click_url), '_blank');

    I got it sorted... finally. I had found a link that explained hpw to add 10.1 but the info was not 100% correct, another guy had it right for 10.2 so I just went through the 10.2 code with a fine tooth comb and changed it over and it is working now.
    For anybody who is looking, and I am not a coding person, far from it, this is what I done.
    (1) Downloaded the 10.1 playerglobal.swc from Adobe here.
    (2) Right mouse click (or ctl click on a mac) on the Flash folder and show package contents - then click Contents/Common/Configuration/ActionScript 3.0/
    (3) Create a folder called FP10.1 and drop in the downloaded file (should be called playerglobal.swc).
    (3) Go back to the common folder and go to Common/Configuration/Players
    (4) Duplicate the FlashPlayer10_3.xml as FlashPlayer10_1.xml and open this file in textedit or whatever editor you have and replace the text with this:
    <?xml version="1.0" encoding="UTF-8"?>
    <players>
      <player id="FlashPlayer10" version="10" asversion="3">
       <name>Flash Player 10.1</name>
            <path builtin="true" />
            <path platform="WIN">Device Central/adcdl.exe</path>
            <path platform="MAC">Device Central/adcdl</path>
            <playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(Use rConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP10.1/playerglobal.swc" />
            <feature name="multiScreenPublish" supported="true" />
            <feature name="mobileAuthoringIntegration" supported="true" />
            <feature name="deviceSound" supported="false" />
            <feature name="exportStreamingSound" supported="true" />
            <feature name="exportEventSound" supported="true" />
            <feature name="FSCommand2" supported="false" />
            <feature name="gradient_linearRGB" supported="true" />
            <feature name="gradient_overflow" supported="true" />
            <feature name="shape_strokeHint" supported="true" />
            <feature name="shape_cap" supported="true" />
            <feature name="shape_join" supported="true" />
            <feature name="shape_mitre" supported="true" />
            <feature name="shape_scale" supported="true" />
            <feature name="linkage_exportForActionscript" supported="true" />
            <feature name="linkage_exportForRuntimeSharing" supported="true" />
            <feature name="linkage_exportInFirstFrame" supported="true" />
            <feature name="linkage_importForRuntimeSharing" supported="true" />
            <feature name="linkage_importAndAddToCache" supported="false" />
            <feature name="publish_localPlaybackSecurity" supported="true" />
            <feature name="publish_hardwareAcceleration" supported="true" />
            <feature name="symbol_blendMode" supported="true" />
            <feature name="actionScript_documentClass" supported="true" />
            <feature name="symbol_blendMode" supported="true" />
            <feature name="filters" supported="true" />
            <feature name="component_binding" supported="true" />
            <feature name="component_schema" supported="true" />
            <feature name="screens" supported="true" />
            <feature name="video" supported="true" />
            <feature name="deviceVideo" supported="false" />
            <feature name="accessibility" supported="true" />
            <feature name="dynamic_text_kerning" supported="true" />
            <feature name="static_text_charwidth_nondeviceFont" supported="true" />
            <feature name="static_text_charwidth_deviceFont" supported="true" />
            <feature name="advanced_anti_alias_text" supported="true" />
            <feature name="nine_slice_scaling" supported="true" />
            <feature name="runtimeNumberMinMax" supported="true" />
            <feature name="use8kSampleRate" supported="true" />
            <feature name="useDefineFont4ForDeviceText" supported="true" />
            <feature name="useDefineFont4ForEmbeddedFonts" supported="true" />
            <feature name="textLayoutFramework" supported="true" />
            <encodingPresets>
                <preset uuid="da5cac1a-417a-4d86-b7f7-ef21010a5d7d" name="FLV - Match Source Attributes (High Quality)" ext="flv" default="true" />
            </encodingPresets>
            <testmenu>
                <menu name="ID_testInFlash" default="true" />
                <menu name="ID_testInDeviceCentral" />
            </testmenu>
            <debugmenu>
                <menu name="ID_debugtInFlash" default="true" />
                <menu name="ID_debugInDeviceCentral" />
            </debugmenu>
        </player>
    </players>    
    (5) close and restart flash
    (6) Pick 10.1 in your export settings and it will work now.
    Seriously, thanks to all who tried to help, Adobe should really fix this issue as its a pain for people who are not developers and code is alien to them.

  • Flash CC 2014 clickTAG not working in Google/DoubleClick

    Here is the tag they gave me:
    on (release) {
    getURL (_level0.clickTag, "_blank");
    Here are screenshots...

    please refer to the Flash AD Development forum. there are many (recent) questions just like this we have answered.

  • ClickTAG testing problem within Flash

    Hello! I am by no means a Flash pro, more on the noob end of
    the spectrum but I know the basics... I did a search and couldn't
    find what I was looking for on this, and I'm new to the forum, so
    apologies if I miss some etiquette step (I originally posted this
    in the Flash ad section, but its dead over there and thought I
    could get more love here).
    So, I've got a simple linear animation banner ad with a
    topmost layer as a clear button and the clickTAG info from the
    hosting site/agency.
    The code they have provided should be attached below...
    I've tried tracing the button and even that simple step is
    not working.
    Should I be able to test this within Flash? If I swap out the
    code for regular ol' Flash links it works and tests fine. Anyone
    with similar issues, or a solution to shis? TIA!

    rcbmoose,
    > Should I be able to test this within Flash?
    Well, yes and no. How do you like that for an answer? ;)
    > If I swap out the code for regular ol' Flash links it
    works and
    > tests fine. Anyone with similar issues, or a solution to
    shis? TIA!
    >
    > on (release) {
    > if (clickTAG.substr(0,5) == "
    http://www.rebit.com") {
    > getURL(clickTAG, "_blank");
    > }
    > }
    Here's the scoop on clickTAG (and its various spellings,
    including
    ClickTAG, ClickTag, clickTag, clicktag, etc.). As shown, the
    value of
    clickTAG is undefined in Flash because the variable,
    clickTAG, hasn't been
    declared anywhere. If it hasn't been declared, then where
    does the data
    come from, right? Good question.
    What you're seeing here is an example of passing data into a
    SWF from
    the outside. Any string variable can be passed in, and any
    legal variable
    name will do. String variables can be passed in via something
    called
    FlashVars, which is a parameter of either the EMBED tag or of
    a PARAM tag
    inside an OBJECT tag in the HTML. They can also be passed in
    via a query
    string appended to the SWF's file reference in the HTML (e.g.
    nameOfMovie.swf?variable1=value1).
    It just happens that many ad agencies use clickTAG as an
    agreed-upon
    variable for storing URLs for tracking user clicks. Because
    you're testing
    your SWF in Flash, you're not making use of the HTML document
    in which this
    SWF will be embedded. The HTML document will supply a value
    for clickTAG,
    so this needs to be tested in an HTML document. Ah, there's
    the rub. Is
    there a way to debug SWFs inside a browser? There is. :)
    http://www.adobe.com/devnet/flash/articles/debugging_actionscript.html
    The trouble is, you may or may not ultimately have control
    over the HTML
    into which this SWF is embedded. If that HTML embeds the
    variable as
    ClickTAG (or some other variant), Flash Player won't see it,
    because your
    code specifies clickTAG, and variables are case sensitive in
    Flash since
    Flash Player 7. So bear that in mind, and try one of the
    techniques in the
    article (either a temporary dynamic text field or the
    Debugger panel).
    Good luck with that!
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • ClickTag not working in Flash 8

    I am setting up a banner for a client, and need to add the
    clickTag function to it, which I did like this:
    on (release) {
    if (clickTag.substr(0,5) == "http:") {
    getURL(_root.clickTag, "_blank");
    I then tested in by putting this code in the first frame of
    movie:
    _root.clickTAG="
    http://www.cnn.com";
    This worked fine when I tested it. I then took that script
    out of the first frame, and when I test it in an html doc, using
    the code they suggest (replacing the source to my swf file)
    <OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
    src=/your/ad/location.swf?clickTAG=http://www.cnn.com
    type=application/x-shockwave-flash
    pluginspage=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6 ,0,0,0
    ID=FLASH_AD WIDTH=728 HEIGHT=90> <PARAM NAME=movie
    VALUE=/your/ad/location.swf?clickTAG=http://www.cnn.com><PARAM
    NAME=bgcolor><PARAM NAME=quality VALUE=autohigh> <embed
    src=/your/ad/location.swf
    pluginspage=http://www.macromedia.com/go/getflashplayer
    type=application/x-shockwave-flash width=728 height=90>
    </embed> </object>
    so, the swf loads into the html file fine, but the link
    doesn't work. I can't figure out what is wrong. please
    help!!!!

    Actually, it's case sensitive and should match your HTML file
    with clickTAG.
    on (release) {
    if (_root.clickTAG.substr(0,5) == "http:") {
    getURL(_root.clickTAG, "_blank");
    James O'Reilly - JOR
    www.jamesor.com
    JOR wrote:
    > You are referencing a local variable clickTag in your
    "if" statement
    > which doesn't exist inside the button's scope.
    >
    > Try this:
    >
    > on (release) {
    > if (_root.clickTag.substr(0,5) == "http:") {
    > getURL(_root.clickTag, "_blank");
    > }
    > }
    >
    > James O'Reilly - JOR
    > www.jamesor.com
    >
    >
    >
    >
    > fester04107 wrote:
    >
    >> I am setting up a banner for a client, and need to
    add the clickTag
    >> function to it, which I did like this:
    >>
    >> on (release) {
    >> if (clickTag.substr(0,5) == "http:") {
    >> getURL(_root.clickTag, "_blank");
    >> }
    >> }
    >>
    >> I then tested in by putting this code in the first
    frame of movie:
    >> _root.clickTAG="
    http://www.cnn.com";
    >>
    >> This worked fine when I tested it. I then took that
    script out of the
    >> first frame, and when I test it in an html doc,
    using the code they
    >> suggest (replacing the source to my swf file)
    >>
    >> <OBJECT
    classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
    >>
    src=/your/ad/location.swf?clickTAG=http://www.cnn.com
    >> type=application/x-shockwave-flash
    >>
    pluginspage=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >>
    >> version=6,0,0,0 ID=FLASH_AD WIDTH=728 HEIGHT=90>
    <PARAM NAME=movie
    >>
    VALUE=/your/ad/location.swf?clickTAG=http://www.cnn.com><PARAM
    >> NAME=bgcolor><PARAM NAME=quality
    VALUE=autohigh> <embed
    >> src=/your/ad/location.swf
    >>
    pluginspage=http://www.macromedia.com/go/getflashplayer
    >> type=application/x-shockwave-flash width=728
    height=90> </embed>
    >> </object>
    >>
    >> so, the swf loads into the html file fine, but the
    link doesn't work.
    >> I can't figure out what is wrong. please help!!!!
    >
    >
    >

  • Flash banner not loading if clickTAG is included

    I don't have access to the original Flash file - can someone help?
    This is the embed code for the banner:
    Here's my test page. You can see that code not working at the top:
    http://www.riftcache.com/test.php
    If I remove the "?clickTAG...." part from the "embed src" section, it works fine, see the second banner functioning on that site.
    I've tried clickTAG and clickTag, and relative vs. absolute links, no difference. Is something wrong with my embed code?

    Okay - the embed code didn't post. You can see it at: http://www.riftcache.com/test.php

Maybe you are looking for

  • How do you install OS after Hard Drive upgrade? Thinkpad T41p

    I have a Thinkpad T41p with Window XP Pro on it.  I have a new larger hard drive for it, but I do not know how I will be able to install the OS on the new drive.  The laptop came with the OS already installed on it.  That will to be the case, of cour

  • How can I move all appointments by 6 hours

    I imported files from my old ibook but it was set to Eurpean timezone. Now all the appointemts start 6 hours earlier. How can I fix that?? Anyway it doesn't make sense to me that if you are travelling with your ibook you cannot set what timezone you

  • Dynamic parameter in webgui Iview url

    Hello experts, here it's my problem : In a email notification i put a link like this : [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/?sap-client=210&sap-language=EN/webgui/!&transaction=SWNWIEX&P_WI_ID=000000018277&P_ACTION=EXECUTE&OKCODE=ONL

  • IWeb 08 won't publish

    iWeb 08 version 2.0.4 I was registered with MobileMe and had a MacMail email account, but when Apple decided to end MobileMe and replace with iCloud, my IT person said not to upgrade to iCloud as there could be conflicts with my software. I managed t

  • Workflow: State change on given date

    Hi, another problem: the state of a workflow shall change, when the start time of an entry has reached. As there is no "on start time" but "after start time", I tried "0 minutes" or "0 days" - but the change won't happen. If I choose a start time in