Hi All,

WHY: I have a community website which, as most websites, serves banners to 
raise money for its upkeep. I use Google Analytics to track outgoing links, 
this way I have all stats on how banners perform. My last banner client sent me 
a banner in flash and I am having problems with marrying it to Analytics.

WHAT: I have a SWF file that I decompiled into XML with swf2xml utility. Below 
is the part of the code that takes the user to another website. Google has 
instructions on how to deal with tracking in Flash: 
http://www.google.com/support/analytics/bin/answer.py?answer=55520&ctx=sibling
I have no experience in Flash whatsoever and all this looks very puzzling to 
me. Can anyone please help me to insert this code into the XML file?
Thank you in advance!


<DefineButton2 objectID="17" menu="0" buttonsSize="17">
        <buttons>
          <Button hitTest="0" down="1" over="1" up="1" objectID="15" depth="1">
            <transform>
              <Transform transX="0" transY="0"/>
            </transform>
            <colorTransform>
              <ColorTransform2/>
            </colorTransform>
          </Button>
          <Button hitTest="1" down="0" over="0" up="0" objectID="16" depth="1">
            <transform>
              <Transform transX="0" transY="0"/>
            </transform>
            <colorTransform>
              <ColorTransform2/>
            </colorTransform>
          </Button>
          <Button hitTest="0" down="0" over="0" up="0"/>
        </buttons>
        <conditions>
          <Condition next="0" menuEnter="0" pointerReleaseOutside="0" 
pointerDragEnter="0" pointerDragLeave="0" pointerReleaseInside="1" 
pointerPush="0" pointerLeave="0" pointerEnter="0" key="0" menuLeave="0">
            <actions>
              <PushData>
                <items>
                  <StackString value="http://www.example.com"/>
                </items>
              </PushData>
              <PushData>
                <items>
                  <StackString value="_blank"/>
                </items>
              </PushData>
              <GetURL2 method="0"/>
              <EndAction/>
            </actions>
          </Condition>
        </conditions>
      </DefineButton2>



      
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to