Jump to content


Photo

Slideshow Play / Pause issue


  • Please log in to reply
3 replies to this topic

#1 abyssopus

abyssopus

    FireworksCommander

  • Members
  • Pip
  • 6 posts

Posted 20 March 2009 - 01:28 PM

Hi. I'm working in FW CS3 Slideshow v1.5 and have modified the white player as follows:

-I got rid of the stop button and implimented the pause and resume functions
-I set up functions to enable or disable opposing buttons

The issue now is if while the slideshow is playing you click on a thumbnail, i'm not sure where to implement my enablePlay function.

This is the code I added in "slideshow_player.as":

[codebox]function enablePlay()
{
btnPlay._alpha = 100;
btnPlay.enabled = true;
btnPause._alpha = 35;
btnPause.enabled = false;
}

function disablePlay()
{
btnPlay._alpha = 35;
btnPlay.enabled = false;
btnPause._alpha = 100;
btnPause.enabled =true;
}

disablePlay();

btnPlay.onRelease = function()
{
slidePane.content.slideshow.resume();
disablePlay();
}

btnPause.onRelease = function()
{
slidePane.content.slideshow.pause();
enablePlay();
}[/codebox]

Any ideas?

#2 Kelly L

Kelly L

    Fireworks Sparkle

  • Members
  • Pip
  • 1 posts

Posted 11 May 2010 - 05:45 AM

Thank you for the post.
_________________
Watch Robin Hood Online Free

#3 richierich21

richierich21

    Fireworks Sparkle

  • Members
  • Pip
  • 2 posts

Posted 11 May 2010 - 09:36 AM

i have never figured this out!

#4 abyssopus

abyssopus

    FireworksCommander

  • Members
  • Pip
  • 6 posts

Posted 14 May 2010 - 10:47 AM

I did figure this out, but I'll have to go back and look to see what I added where.