Click to See Complete Forum and Search --> : Java Slide Show
jtaft
09-03-2005, 11:47 AM
I am trying to display a slide show on a single frame using a Java Script. I try pasting the code into Actions and Souns overview, but when I launch the page it says it can't fine the java file. I then tried putting the name of the file where I have the code, but this is a text file. Then when I load the page it opens the text file and diaplays the code.
How do I get this to work to display the images in the frame?
gusmus
09-03-2005, 06:06 PM
Oops. first of all why are you trying to compile "Java" within KM? AS will do the job much better. 2,, KM is a flash compiler and is probably one of the best slide show compilers around today (for people with half a brain that is) so it stands to reason that KM does not need Java to be able to compile a slideshow. PLease explain why you need Java in KM when AS is almost the same language with the same results.
jtaft
09-03-2005, 08:47 PM
I guess I don't know. I am used to using Java to display slide shows of images. So when I saw that you could add Java I just went to what I know. However it didn't work the way I expected. I will use any language that will get me the results I am looking for. By the way what is AS? and thanks for taking the time to respond!
blanius
09-03-2005, 11:09 PM
you cannot add Java to flash. Java is an entirely different platform playing within an entirely different plugin and it is NOT suited to making web animations of any sort the plugin takes forever to load. Java has its uses but this just isn't one of them. When Gusmus says AS he means action script wich is the scripting language in flash and KM and you can program a great slideshow with KM's built in scripting language which is AS.
jtaft
09-03-2005, 11:35 PM
What is the purpose of the Views\ Action and Sounds Overview\ click the + and select JAVASCRIPT at the bottom. Wouldn't that be Java inbeaded in Flash.
docree
09-04-2005, 04:37 AM
Alas, that is a paradox...
I tried to use that option once... Just once. :yikes:
The paradox is that I have not seen this used in KoolMoves
[Anyone got it to work?] and it is kind of misleading...
It is there to allow flash to parse JavaScript commands to the browser.
[And some other fancy stuff I never delved into.]
We asume [making an ASS out of U and ME] that you are trying to
use Java. As in java applet.
____________________________
JavaScript is kind of like Java's cousin.
Similar blood lines [both origin Sun Java] but different families.
JavaScript allows one to scipt within their html.
While Java is within it's own program or applet.
____________________________
The problem lies with the fact that Flash is not Java / JavaScript...
Flash's applets are Active X based.
[Don't know about Macs but must be similar.]
So, the best way to do this slide show is to script it in Action Script.
There has been a dynamic slideshow example posted here recently.
I'll try to dig it up.
Bob Hartzell
09-04-2005, 08:26 AM
It is my understanding that java is not the same as javascript. KM should process javascript but often people have some bug in their code which prevents it from working.
necromanthus
09-05-2005, 04:51 AM
JAVA and JavaScript are two VERY different things.
JavaScript is a scripting language and HTML-page oriented (the script is embedded in the HTML source).
JAVA is a complete programming language.
Only JavaScript is supported by Flash (using the getURL("JavaScript: ...") command)
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.