4 Replies Latest reply on Aug 2, 2011 12:10 PM by gvmm

    simple sound player

    gvmm Level 1

      Hi folks,

       

      Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual.  I suppose that makes me a promising beginner-level poster. I'm working in CS5.

       

      I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html).  I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression).  Nothing fancy.  Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).

       

      I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own.  I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.

       

       

       

      Many thanks in advance,

       

       

      Richard Hurley

      Grass Valley MultiMedia

        • 1. Re: simple sound player
          kglad Adobe Community Professional & MVP

          the simplest (but not the best) solution is to attach your sound to a movieclip timeline and assign its sync property to stream.  you can then control that timeline using:

           

          yourmovieclipwithsoundattached.play()

           

          yourmovieclipwithsoundattached.stop()

           

          yourmovieclipwithsoundattached.gotoAndPlay(someframenumber)

           

          your button coding to excute the above will depend on whether you're using as2 or as3.

          1 person found this helpful
          • 2. Re: simple sound player
            gvmm Level 1

            Thanks, kglad.  The code looks pretty straight-ahead.  Looks like I'll have to dip into ActionScript after all.  I suspect I'll rather enjoy it, but I'm under serious time constraints.

             

            The decision to present the sound in a swf file is based on my impression that Flash Player is more readily available on the web than, say, Quicktime.  Can you comment on this?  Also, I'd be curious to know how current Flash Players tend to be out there.

             

            Thanks,

             

            RH

            • 3. Re: simple sound player
              kglad Adobe Community Professional & MVP

              only apple users and the unknowing have quicktime.  but here are more detailed answers:

               

              http://www.adobe.com/products/player_census/flashplayer/

               

              http://www.adobe.com/products/player_census/flashplayer/version_penetration.html

              1 person found this helpful
              • 4. Re: simple sound player
                gvmm Level 1

                Excellent data, kglad.  Eye-opening.

                 

                I posed this question (in a more generalized form) over on the DreamWeaver forum, and was told Flash doesn't reach to all those little hand-held gizmos that youngsters like so much.  Not critical for my needs (not my demographic), but conceptually interesting.  Got a link to something called Pickleplayer (http://www.pickleplayer.com/index.html) from Nancy O., the reigning DW site guru.  Haven't had time yet to do more than glance at the site (this is an after-hours gig), but it looks interesting.  Passing it along for what it's worth.

                 

                RH