A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Sounds Question....

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    13

    Arrow

    I'm having a problem with a Flash movie...

    I'm doing a 'slideshow' for a local photographer for the web. The image part is easy (and done), but I was trying something new as far as calling sounds.

    I made a 640x30, two-frame movie to play three different .wav files - sort of a choice of background music. I made three .swf movies w/no graphics, just the .wav files. I'm loading the sound movies into layer two of the 'controller' movie. The button unloads layer 2 (to turn off any movies that might be playing) and then loads the .swf movie for the appropriate button.

    This works fine as a standalone, but when I drop it into HTML, the movies w/the sounds don't play.

    I then tried just triggering the .wav files from the buttons themselves (imported .wavs and put them on the 'down' frame of the buttons). This works great in HTML, but there's no way to turn off the sound currently playing, if there is one.

    Anybody got any suggestions? Thanks in advance.

    D

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,092
    Put

    On release
    Begin tell target (_level1)
    Play
    End On

    The will tell the .swf file that you loaded into level1
    the play
    or you can use _leve2 or _level3

    You said layer 2 did you mean level2?

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Posts
    13
    I'll try it. Thanks so much!

    (And yes, I meant layer 2. I was typing while sleep-deprived.)

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