I use Livezilla for chat via my website, I am updating the site with a flash based design and wondering if I can attach the Livezilla chat script to my Actionscipt button which is a movie.
The chat code:
I am very novice at this so I appologize if I am asking a dumb question here.
The chat code:
Code:
<!-- LiveZilla Chat Button Link Code (ALWAYS PLACE IN BODY ELEMENT) --><a name="livezilla_chat_button" href="javascript:void(window.open('http://mydomain.com/livezilla/chat.php?acid=c8907&cmb=MQ__','','width=590,height=760,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))" class="lz_cbl"><img src="http://mydomain.com/livezilla/image.php?acid=bb87e&id=1&type=inlay" width="160" height="40" style="border:0px;" alt="LiveZilla Live Chat Software" /></a><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- LiveZilla Tracking Code (ALWAYS PLACE IN BODY ELEMENT) --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">
/* <![CDATA[ */
var script = document.createElement("script");script.async=true;script.type="text/javascript";var src = "http://mydomain.com/livezilla/server.php?acid=ef253&request=track&output=jcrpt&cmb=MQ__&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);
/* ]]> */
</script><noscript><img src="http://mydomain.com/livezilla/server.php?acid=ef253&request=track&output=nojcrpt&cmb=MQ__" width="0" height="0" style="visibility:hidden;" alt="" /></noscript><!-- http://www.LiveZilla.net Tracking Code -->
The Actionscript 2.0 Button:
on (rollOver) {
this.gotoAndPlay("s1");
}
on (rollOut, releaseOutside) {;}
this.gotoAndPlay("s2");
I am very novice at this so I appologize if I am asking a dumb question here.