Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Slideshow help!


    Hi,

    I have read through every post I can find regarding automatic slideshows but none have provided any solution. In Flash MX Pro, how do you make a slideshow which pauses between slides using the actual slideshow functions of MX?

    As an example, if you open "presentation_finished.fla" which is installed with Flash MX, it has a slide tree on the left. Each slide can be viewed using the navigation buttons in the slideshow itself, but if the buttons were removed and I wanted a 5 second delay between each slide before it automatically plays the next, how is it done?

    The code would need to be independant of the number of slides, so it just advances automatically. Surely this can be done by coding into the root slide?

    Thanks in advance



    Drmres webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. slideshow
      Hi there, a friend of mine sent me an slideshow.exe that can be played in Flashplayer...:)ofcourse.anyway,after i seen the pictures i realized that...
    2. XML slideshow
      I'm trying to simplify a presentation .fla file I inherited. I was able to successfully build a slideshow that functions exactly as the original...
    3. Portfolio / Slideshow help please
      Hi I recently made this site : ww.artnaive.co.uk I am not that happy with the gallery itself - and would like something more like the...
    4. Pause in slideshow
      I 'm making a slideshow and I 've got some pictures with animated behaviors. I want to have a button pause with this behavior: "on mouseDown go to...
    5. pdf slideshow on web?
      Okay, everyone, I haven't used this feature at all, so I need some help here. Someone has been asking me about putting the pdf slideshow on the web....
  3. #2

    Default Re: Slideshow help!

    Hi,

    Here is the solution. Just what is happening through buttons you can put that code in a function and call that function after some interval. I have modified the script in the attachment for that.
    To change the number of slides just change the value of --totalSlides-- variable.



    Cheers
    Nitin
    [url]http://www.nitinbhardwaj.com[/url]



    The reference material attached have copyrights of Macromedia and has been modified only for the solution of this problem.

    [url]http://webforums.macromedia.com/attachments/slideShow111.zip[/url]


    nITiNkIlLeRmEeRuT webforumsuser@macromedia.com Guest

  4. #3

    Default Re: Slideshow help!

    Try putting this as an object action of the root presentation slide:

    on(reveal) {
    advanceSlide = function ()
    {
    currentSlide.gotoNextSlide();
    }
    setInterval(advanceSlide, 5000)
    }



    --
    Ed Skwarecki
    Principal Architect
    eLearning
    Macromedia
    Ed Skwarecki Guest

  5. #4

    Default Re: Slideshow help!


    on(reveal) {
    advanceSlide = function ()
    {
    currentSlide.gotoNextSlide();
    }
    setInterval(advanceSlide, 5000)
    }

    Thanks Ed, that did the trick for playing in Flash. Unfortunately it doesn't work when the the slideshow is embedded (linked) into the Director movie. All slides appear at the same time stacked on top of each other. Any ideas on how to solve this would be appreciated!

    Thanks nITiNkIlLeRmEeRuT too, though your suggestion does work, it is a slideshow using external images, not a "Flash Slideshow".



    Drmres webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Slideshow help!

    The Flash Xtra in the currently shipping version of Director & Shockwave only supports
    Flash Player version 6. Try changing the publish settings of your Flash movie to export
    for Flash 6 and see if that helps.

    --
    Ed Skwarecki
    Principal Architect
    eLearning
    Macromedia
    Ed Skwarecki Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139