importing javascript files
Hi any help here would be great. I was wondering if some one could direct me on how to import some javascript into my fla.
This is what I would like to bring in
<script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="quickquotepopup",lwmwBN="250";</script>
<script charset="UTF-8" src="jscripts/likno-scripts/quickquotepopup.js" type="text/javascript"></script>
This is what I started with in the actionscript
ExternalInterface.call("document.getElementsByTagN ame('head')[0].appendChild(document.createElement('script'))");
ExternalInterface.call("document.getElementsByTagN ame('script')[document.getElementsByTagName('head')[0].getElementsByTagName('script').length-1].setAttribute('type', 'text/javascript')");
ExternalInterface.call("document.getElementsByTagN ame('script')[document.getElementsByTagName('head')[0].getElementsByTagName('script').length-1].setAttribute('src', 'jscripts/likno-scripts/quickquotepopup.js')");
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_3);
function fl_ClickToGoToWebPage_3(event:MouseEvent):void
{
navigateToURL(new URLRequest("#"), "quick_quote_popup");
}
quick_quote_popup piece is the target I have to call to run the script
Could not wrap my head around how to bring this in
<script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="quickquotepopup",lwmwBN="250";</script>
Thanks For Any Help
howlinhuskie