[osflash] tag.addFlashVar?
!!blue
zoblue at gmail.com
Mon Nov 6 15:42:27 EST 2006
Hi all, first time on this list and I've tried using Google to search
through the archives for "addFlashVar" with no luck. Hopefully someone
can help :)
I'm using the Flash JavaScript Integration Kit to create a flash
banner much like the example page here:
http://www.roguish.com/experiments/javascripttoflash/javascript_to_flash_mouse_coords.html
The mouse tracks successfully on the banner itself as you can see from
my rough test page:
http://test.slackbarshinger.com/ulab602/test/horizontal.html
I'm running into a bump in the road where I'm trying to send a button
in the SWF a clickTAG variable and I'm not sure where to add it (see:
"Building Macromedia Flash Banners with Tracking Capabilities"
http://www.adobe.com/resources/richmedia/tracking/designers_guide/ ).
I've tried each of the following in the html js code and none of them works:
----------------------------------------
tag.setFlashvars('lcId='+uid+'&'+'clickTAG'+'http://www.google.com/');
OR
tag.addFlashVar('clickTAG','http://www.google.com/');
OR
tag.addVariable('clickTAG','http://www.google.com/');
----------------------------------------
The second two give me JavaScript errors that say they are not
"functions." Does anyone know how I can accomplish adding a clickTAG
variable to the code so the tracking works on the banner? Hope I'm
making sense!
thanks!
Zulema
--
!!blue
website: http://blog.zoblue.com/
browser: http://getfirefox.com/
More information about the osflash
mailing list