Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Calling a Javascript function when Applet generates event


Message #1 by STG@e... on Fri, 25 Jan 2002 10:37:12 +0100
hmm...
I really don't know..
cause I never worked with Applets.
I would look for this kind of info in FLASH for the beginning cause I saw it
there.
My only guess can be you can defined some function as external and then
implement it in JavaScript.

My suggestion go to some Java or Java Applets forums may be they could help
you better that
we can.

Oleg

-----Original Message-----
From: STG@e... [mailto:STG@e...]
Sent: January 25, 2002 9:26 AM
To: JavaScript HowTo
Subject: [javascript_howto] RE: Calling a Javascript function when
Applet generates event



Hi !

Hmm... sounds great... But HOW do I call a Javascript function from an
Applet? :-)

Cheers,

Sten Hougaard
EDB Gruppen





                    Oleg Kapeljushnik
                    <c-oleg.kapeljushnik       To:     "JavaScript HowTo"
<javascript_howto@p...>
                    @wcom.com>                 cc:
                                               Subject:
[javascript_howto] RE: Calling a Javascript function when
                    01/25/2002 03:25 PM         Applet generates event
                    Please respond to
                    "JavaScript HowTo"






Hi !

I don't know about events, but as far as I remember FLASH have option
to call some JavaScript functions located in HTML page.
So may be its better to handle event in Java Applet and to call some
defined function from Java Applet event handler.

Just an idea.

Oleg.

-----Original Message-----
From: STG@e... [mailto:STG@e...]
Sent: January 25, 2002 4:37 AM
To: JavaScript HowTo
Subject: [javascript_howto] Calling a Javascript function when Applet
generates event


Hi,

I need to invoke a Javascript in a browser containing an (Java) applet.
It seems that a path is to do something like this:

function myEventHandler() {
}

myAppletRef.attatchEvent('eventname', myEventHandler);

But it seems not to work... :-/

Anyone have any experience with this - or any ideas :-) ?

Cheers,

Sten Hougaard
EDB Gruppen
Application developer/web-designer



$subst('Email.Unsub').


$subst('Email.Unsub').




$subst('Email.Unsub').


  Return to Index