2 Replies Latest reply on May 22, 2006 1:20 PM by Wolf_van_Ween

    Slideshow with links

    lm1106
      I have created a slideshow with photos that fade out as the next fades in. I've set each photo to be a button that when clicked goes to a url but it doesn't work. Does anyone know how to do this?
      Thanks!
        • 1. Re: Slideshow with links
          laura_shears
          Will this do the trick for you? The _blank tells it to open the url in a new browser window. Just attach this code to the button at authoring time. (the top code)



          If the button is only added via script, i.e. at runtime, then the bottom code should work:

          • 2. Re: Slideshow with links
            Wolf_van_Ween Level 1
            lm1106, I'm just guessing here, because you don't specify that clearly, but are you loading jpgs into movieClips? If so, the load process will cancel any existing eventHandler code.
            The solution is to create an additional movieClip just as a holder for the jpeg, which is a child of the movieClip you have right now, and keep the eventHandler on the parent.
            Good luck
            Wolf