On Mon, 14 May 2001, justin todd wrote:

> I am trying to use flash on pages that include Perl scripting. I have
> had a look at the code and I am not sure whether it is Java or
> JavaScript.
>
> Here is a example.
>
> function MM_swapImage() { //v3.0
>   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
> for(i=0;i<(a.length-2);i+=3)
>    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
> x.oSrc=x.src; x.src=a[i+2];}
> }

It's not Java.  Java is never used directly in a page unless it is used
within a JSP context.  It's JavaScript.

> Anyways I seem to remember a while ago that these two languages canot be
> used within the same script. Is this true? If not how do I get them
> co-operating?

Which two languages?  Java and JavaScript?  What does this have to do with
Flash and Perl?

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Some don't prefer the pursuit of happiness to the happiness of pursuit.

  • Java justin todd
    • Brett W. McCoy

Reply via email to