473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Can I attach a javascript to an Actionscript Movie Button?

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:

Expand|Select|Wrap|Line Numbers
  1. <!-- 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&amp;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&amp;id=1&amp;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">
  2. /* <![CDATA[ */
  3. 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);
  4. /* ]]> */
  5. </script><noscript><img src="http://mydomain.com/livezilla/server.php?acid=ef253&amp;request=track&amp;output=nojcrpt&amp;cmb=MQ__" width="0" height="0" style="visibility:hidden;" alt="" /></noscript><!-- http://www.LiveZilla.net Tracking Code -->
  6.  
  7.  
  8. The Actionscript 2.0 Button:
  9. on (rollOver) {
  10.     this.gotoAndPlay("s1");
  11.  
  12. }
  13. on (rollOut, releaseOutside) {;}
  14. this.gotoAndPlay("s2");

I am very novice at this so I appologize if I am asking a dumb question here.
Sep 7 '13 #1
0 2611

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Frag | last post by:
Hi guys, I searched around without any clear answer. Tons of stuff, but nothing concrete. I am trying to call this Javascript function: function ButtonClicked() { alert("The button has...
1
by: Jack Black | last post by:
OK, I've got a basic webform set up, with several buttons that I want to trigger different things on when they're clicked. For example, when the onClick event is triggered on one, I want a...
2
by: Ashish | last post by:
Hello, I am sick and tired of ochestrating server and client side scripts. Basically I am using toolbar from IE web controls and want to attach javascript to one of the buttons' click event. The...
4
by: Nevyn Twyll | last post by:
I have a web form, with c# code-behind. I have a listbox on the form, bound to a dataset. I want to have 2 buttons/hyperlinks/etc. beside the listbox. When they are clicked, I want to launch a...
2
by: James | last post by:
I have an ASP button on my form that will e-mail several people, and I'd like to disable it once the user clicks on it, so that they can only click on it once. I have a client side javascript...
1
by: s.chelliah | last post by:
Hi, I am trying to use javascript, div tag and radio button to disable/enable a text box. It works fine in netscape and firefox, but in IE, the text box is not disabled when the user checks the...
3
by: Wayne Sepega | last post by:
I have inherited from System.Web.UI.WebControls and overrode the OnRender of my new button. In the on render I generate some JavaScript and add it as an attribute as follows: ...
6
by: lucyh3h | last post by:
Hi, In one of my pages, I use javascript (AJAX) to populate one mulitple select field based on user's click event on another control. I noticed that when I navigate back to this page by clicking...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, is it possible to wire up a javascript function to a web control thru javascript? thanks, rodchar
1
by: frankvw | last post by:
Hi, Sorry if this is an obvious question but I am new to python and can't seem to find an easy example for what I want to to. I would like to define a button with tinker and then have that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.