A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Java Slide Show

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    3

    Java Slide Show

    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?

  2. #2
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    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.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  3. #3
    Junior Member
    Join Date
    Apr 2005
    Posts
    3
    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!

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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.

  5. #5
    Junior Member
    Join Date
    Apr 2005
    Posts
    3
    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.

  6. #6
    Degenerate and baise art thou. docree's Avatar
    Join Date
    Feb 2001
    Location
    USA
    Posts
    390
    Alas, that is a paradox...
    I tried to use that option once... Just once.

    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.

  7. #7
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    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.

  8. #8
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center