harimax
12-16-2003, 05:59 AM
Hi,
I have a javascript that controls a animated character in swf format. The script looks like this,
<script language="JavaScript" type="text/JavaScript">
<!--
function chiamaMetodo(clip, label) {
var IE = navigator.appName.indexOf("Microsoft") != -1;
var filmato = IE ? window.mainMovie : window.document.mainMovie;
filmato.TGotoLabel(clip, label);
}
//-->
</script>
The character plays different animations when the user rolls over the page navigation. Like when he rolls over home it plays "anim1" and when he rolls over about us it plays "anim2".
Everything is fine but i want the character to move close to the respective navigation labels and play the animation when the user rolls over them. That is, close to the (x,y) coordinates of the specific navigation label.
Pls this is urgent!!!!!
thanx
I have a javascript that controls a animated character in swf format. The script looks like this,
<script language="JavaScript" type="text/JavaScript">
<!--
function chiamaMetodo(clip, label) {
var IE = navigator.appName.indexOf("Microsoft") != -1;
var filmato = IE ? window.mainMovie : window.document.mainMovie;
filmato.TGotoLabel(clip, label);
}
//-->
</script>
The character plays different animations when the user rolls over the page navigation. Like when he rolls over home it plays "anim1" and when he rolls over about us it plays "anim2".
Everything is fine but i want the character to move close to the respective navigation labels and play the animation when the user rolls over them. That is, close to the (x,y) coordinates of the specific navigation label.
Pls this is urgent!!!!!
thanx