Hi, all... I'm pretty new to Flash cs3 and i have this javascript tracking-code I need to place in our flash-banner in order for our third-party tracking company to track clicks and that sort of stuff, but I'm not sure how I need to place it in our flash-banner. I thought I coudl simply place this javascript into a top layer or the like, but seems I cannot directly include it like that inside Flash. Then I thought perhhaps I could simply save the javascript file as .js file and call it from within the Flash file, but not sure how to go about it...
Well, appreciate any help...
Here below is the javascript in question:
Code:
<!-- START::ib-ibi.com View Tag; DO NOT MODIFY TAG-->
<script type="text/javascript">
var _ibHost = "https://";
var _ibgo = '${BUYER_LINE_ITEM_CODE}';
document.write(unescape("%3Cscript src='" + _ibHost + "ev.ib-ibi.com/ibiview.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<noscript><iframe src="https://ev.trackingcompany.com/view.html?go=${BUYER_LINE_ITEM_CODE}" width="0" height="0" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"></iframe></noscript>
<!-- END::ib-ibi.com View Tag -->