A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Time Audio Clip to Slide Show

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    7

    Time Audio Clip to Slide Show

    Is there a way to time an audio clip with my slideshow? One challenge I am having is that even though the audio is embedded in the slideshow, it does now start at the same time, every time.

    Thanks,

    George

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Are you using the slide show component introduced in version 5.3?

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Yes. I am adding all the photos and embedding the sound clip. I see how at the bottom, I can assign a time to each slide, but that is not working if the audio does not start at the same time.

    Also, on a side note, when I added an audio clip to a text show with effects, the audio kept on "skipping"...any fixes for that?

    Thanks,
    George

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    The sound option of the slideshow component plays a sound during a transition and stops the sound when the transition ends. I get the impression you want something else.
    Can you be a bit more specific what you want ?

  5. #5
    Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Yes,
    I want to play the song and then change the slides based on the beats of the song. Here is my website where you can see the concept, but the beat of the song is not timed with the slideshow:

    www.jgphotoworks.com

    Thanks,
    George

  6. #6
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    What you want is syncing the sound with the images. The only way to do this is to let the music control the slideshow. To do it you need actionscript. Bret created a nice application that may help you (See the sticky thread).

    From the slideshow API you'll need setMode(1) to set the slideshow to manual mode and gotoSlide(slide_number) to go to a specific slide. With those two functions and the application Bret created you should be able to sync it perfectly.

    A little hint... You might want to add a preloader since it takes quite some time to load.

  7. #7
    Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Great, thanks for the info. I will look into the actionscript - I do not know anything about them.

    Also, can you describe what a preloader is or link me to where I can learn about it?

    Thanks,
    George

  8. #8
    Junior Member
    Join Date
    Jan 2006
    Posts
    7
    Preloader - easy, theyre the little "loading" bars you see whilst a movie loads. To add them to your movie in koolmoves, go to the movie option at the top of the screen, and select preloader. Then check preload movie. You can customise your preloader from there.

    Good luck with the website.

    -Fitzey

  9. #9
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    The thread about the syncing program is http://flashkit.com/board/showthread.php?t=680933

    This is exactly what I made it for. Let me know if you need any help getting to work for you.

  10. #10
    Junior Member
    Join Date
    Apr 2006
    Posts
    7
    Ok, I will give it a shot, it may be over my head because I am new to this but I will let you know.

  11. #11
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Quote Originally Posted by jgphotoworks
    Ok, I will give it a shot, it may be over my head because I am new to this but I will let you know.
    Ok in my program when you enter a marker put the name of the slideshow into the object box, then in the function area put gotoAndPlay and in the value put the slide number to go to. Then when you are done get the generated code (ALL OF IT) Load your sound and somewhere in the starting AS code put the generated code.

    I'd look at it for you but I had a motherboard die this morning and don't have a current version of KM on my laptop nor do I have my own program.

  12. #12
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Hi Bret,

    Actually in this case it should be gotoSlide instead of gotoAndPlay but besides that it should work.

    Wilbert

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