A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11336 Flash Movies | 2 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Surjit Dhami
» Title: Book
» Description: Book
» More by Surjit Dhami


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 5848 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: All-American Rejects
» Description: Get to know this great band by exploring their "practice room".


Random Links | Add your own Flash Related Links
Flash Tutorials 1277 Tutorials 7 New Tutorials Added!
What's New | Top100

» Create xml slideshow with free template
» How to Insert a Multilingual Subtitle Into Your Flash Video Studio
» How to Create Cool Halloween Slideshow
» Debugging flash using the Firebug console
» Create Flash Slideshow on Blogger
» FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS
» HTML Photo Gallery Tutorial
» Create your first flash site – PART 1
» How to Make a Flash Photo Gallery
» Unknown Tag: Title10
Random Tutorial | Add Site

Sr Instructional Designer D2L-Moodle,Clearance
WSI Nationwide, Inc.
US-NJ-Fort Monmouth

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Audio

Categories Flash Sound for Dynamic Sites
Author: Gonzalo Alustiza

 
Page 9
«prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 next»

  • This step is a bit more complicated so we will build slowly until the end.
  • Flash1.gif (5771 bytes)

    Fire up Flash and create a new movie. Insert a blank keyframe at frame 1. Double click on that frame and go to the Actions tab. Insert a Stop there.

    Import the sounds you will be using in your web site. Remember to import all the sounds for the site since all of them will be contained inside the movie you just created.

    Flash2.gif (2581 bytes)

    Create a new Symbol choosing New Symbol from the Insert menu. In the dialog box that appears, give the symbol the name you want and set Behavior to Movie Clip. When done you will see the timeline for the Movie Clip you just created.

    In the Movie Clip’s timeline insert a keyframe at frame one, insert a Stop action in the newly created keyframe.

    Insert blank frames at frames two and three.

    Insert a keyframe at frame four, double click it and using the Sound tab insert one of your imported sounds. Set the Effect as Custom, Sync as Stream and Loops = 0.

    Flash3.gif (10106 bytes)

    Use the volume envelope as you feel it enhances your sound.

    Flash4.gif (3096 bytes)

    Now add blank frames until you can see the whole soundwave on the timeline, there is no need to add frames beyond the soundwave’s duration.

    Now you have your first movie clip. Repeat this process for each sound you want to have inside the movie and when done switch back to the main scene.

    Flash5.gif (3765 bytes)

    Now you should be able to see all the Movie Clips in the Library window. Drag them into the main scene’s frame one.

    After dragging a Movie Clip into the Scene, double click it and give it an instance name. The instance name should be one of the names you wrote down in step (a.) complete with uppercase and lowercase letters if appropriate.

    Flash6.gif (6413 bytes)

    Using the names you collected at step (a.), you will make a connection between that link and the Movie Clip, this connection will be used by the JavaScript code to play them.

    This is a crucial step, please be careful giving names, if you give the Movie Clip a bad name you won’t be able to play it and will have to go back to the Flash project and change the name.

    If two or more links and/or images point to the same page, just drag as many Movie Clip instances as you need inside the scene and give each one the proper name.

    After all these steps you should have a one frame scene with many movie clips inside it and each movie clip should have a different name. Keep in mind that the name of the symbol does not need to be related to anything but, the name of the Movie Clip instance should.

    After all this work, export the movie with whatever name you want. Please remember that ‘whatever name you want’ really means the same name you employed when embedding the Flash Movie inside the invisible frame.

    If you completed the above steps you have a ‘soundbank’ inside the Flash movie that after embedding in a web page is ready to be called and played.

    The use of the Stop action inside the first frame of the scene and the first frame of each Movie Clip is to avoid the movie from playing sounds when embedded. The blank frames inside each Movie Clip are meant to avoid clipping (no pun intended) of the first part of the sounds when the Flash Player gets instructed to play the Movie Clip.

    After all this work we are only missing the JavaScript code that will act as the glue for all these different components. This is the main subject of the following section.

    «prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 next»

    » Level Intermediate

    Added: : 2001-02-20
    Rating: 6.34 Votes: 29
    Hits: 4674
    » Author
    My name is Gonzalo Alustiza and I work as a chief developer at Soundtown Argentina. Soundtown is a ten year old music production company specializing in music for advertising and TV which started to develop sonification solutions for the Internet.
    » Download
    Download the files used in this tutorial.
    Download (89 kb)
    Get conversion and unzipping tools for PC and Mac here!

    » Forums
    More help? Search our boards for quick answers!

    Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
    10 9 8 7 6 5 4 3 2 1
    Read or Post Comments
     
       
     

    internet.commediabistro.comJusttechjobs.comGraphics.com

    Search:

    WebMediaBrands Corporate Info

    Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
    Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs