PDA

Click to See Complete Forum and Search --> : A SWF interacting with Java



johnie
12-03-2000, 11:25 PM
I made an insult winger for this example. I whipped it up for some Swish users but it it in Kool Moves- he he he

Anyhow click on the buttons and the Java Applet above the SWF will sling an insult at you.

How is this done?

1. Set variables to change in the header of your HTML.

2. Have your HTML load your Java Applet.

3. Have the HTML Load your SWF.

4. When you make the SWF add this line to in the get URL section of the URL document.appletname[in this case its NervousApplet].method[In this case I'm calling the Applets changeText method](Var Name);

I know that some may say this is counter productive but I have shown that it could be done.

Happy Java coding.


OOPS! I forgot the URL:

http://www.geocities.com/jsnider.geo/insult.html

johnie
12-03-2000, 11:28 PM
Oh yeah one more thing- You may notice an error on loading- don't worry about it. Its an artifact from my sloppy coding that I forgot to remove when I FTP'ed the page.