Slideshow for OpenLaszlo

Written on July 5th 2008, 19:07 by sYnie

I had to create a Presentation some days ago. As we needed a little slideshow of pictures, within that presentation, I decided to create a little Sliteshow with OpenLaszlo. Maybe it’s useful for you, so you can use it under the terms of the GPL.

Here is a little Example, created with “Visualslider”:
Visualslider.swf

And this one ist quite the same, but with Slides sliding “circles”:
Visualslider_c.swf

You can click on the Slides, to navigate through them. Also you can use the cursor keys, to do the same. With the key “t” you can toggle between automatical sliding and manual sliding.

And here is the source code:
visualslider.lzx (2009-07-06)

A little Documentation:

<visualslider>

  • Description:
    The container view
  • Attributes:
    currentslide – (readonly) returns the selected slide
    slideduration – the time in ms for the slide-animation
    circular – boolean for circular-sliding
    timerms – the time in ms for automatical sliding
    istimerstarted – (readonly) returns a boolean whether automatical sliding is started or not
  • Methods:
    slideUp() – select next slide
    slideDown() – select previous slide
    slideTo(n) – select the nth slide
    startTimer() – start automatical sliding
    stopTimer() – stop automatical sliding

<visualsliderview>

  • Description:
    A slider-view. Must be placed in <visualslider>
  • Attributes:
    originalwidth – the 100%-width of the view
    originalheight – the 100%-height of the view
    currentslide – (readonly) returns a boolean whether this visualsliderview is selected or not
    shadow – boolean to display a shadow under the visualsliderview
    factor – (readonly) returns a scale-factor with reference to originalwidth and originalheight (useful to scale subviews)
    slidenumber – (readonly) returns the number of the slider
  • Events:
    onstop – Fires when the animation is finished
    onstart – Fires when the animation is started

Here you can find the zipped source code of the example. This may be helpful to create your own slideshow:
visualslider.tar (2009-07-06)

  1. Kerk
    July 6th, 2008 at 06:51 | #1

    Hey, I found this place during my quest to find a working english GTChat download link. If you happen to have GTChat (unmodded, or modded), can you please contact me via email? I’m really desperate for this script.
    Thanks.

  2. Kerk
    July 6th, 2008 at 07:00 | #2

    Disregard that! I spoke to soon and FINALLY found a working download. For anyone that wants it: http://www.gtchatforum.de/php/board/thread.php?threadid=5389

  3. July 6th, 2008 at 08:34 | #3

    Nice work, thanks for making the code available.

  4. July 6th, 2008 at 14:46 | #4

    Hey there

    I’ve changed the post again. Forgot to write the events down ;-)

    @Kerk,
    Nice to see, that you have found a copy of the GTChat. Is this version the one under the GPL?

    @Raju,
    No, I have to thank YOU, for all your great work for OpenLaszlo =)

  5. Zober
    July 8th, 2008 at 12:24 | #5

    Hi,

    Another Nice Work!

    It’s cool but alot of Work, thanks to post the code!

    Greetings
    Zober

  6. July 11th, 2008 at 11:49 | #6

    Hey,

    a nice example again.
    You may include that for the open rooms in the sYchat-project.
    When you add a Flah-Frontend (compatible to every browser ;) this may be a nice featuer…

    Regards,
    Eraser

  7. July 11th, 2008 at 21:04 | #7

    thx for sharing the code…

  8. July 30th, 2008 at 10:32 | #8

    Nice work!
    What’s better than making a presentation about Laszlo in Laszlo?
    Thank you! :-)

  9. Dheimoz
    December 28th, 2009 at 06:32 | #9

    You’re amazing, thank you very much. I’m not very good at laszlo as you are; if only i were as pro as you.

  1. October 8th, 2008 at 20:49 | #1