Teach Yourself Macromedia Flash 8 In 24 Hours Free Open Book

Teach Yourself Macromedia Flash 8 In 24 Hours

Origami Paper Planes
Paper Airplane Origami Boats. Learn hot to flod this crafts
Previous Section  < Day Day Up >  Next Section

Q&A

Q1:

I placed a long-running sound in the first frame of my movie. However, when I test the movie, the sound only plays for the first few seconds and then repeats. Why?

A1:

You've probably set the Sync setting for the keyframe (on the Properties panel) to Stream and haven't extended the Timeline long enough. If your sound is 10 seconds long and you're playing at 12 fps with Stream selected, you're going to want to make sure 120 frames are available in the layer of the Timeline in which you placed the sound. An Event sound doesn't have this restriction (although it also doesn't have the same synchronization behavior). Also, looping may be caused simply because your movie loops when you test it. While you're testing a movie, you can disable looping by selecting Control, Loop.

Q2:

I put a sound in the first frame of my movie, but when I click Play, I don't hear anything. I verified that my speakers are plugged in and that my computer sound level is cranked. What else could it be?

A2:

I wish I could say that you must use Test Movie because otherwise the sound won't work. Of course, Test Movie is always the best option for visualizing exactly what your users will see and hear. However, even Play should let you preview the sound. You might check two things: First, Mute Sounds under the Control menu should be unchecked, and the envelope settings for the sound instance should not be two horizontal lines at the lowest sound level. Second, you might check the original sound that you imported to make sure it's not just silence.

Q3:

I imported and placed in a keyframe a song I ripped from my band's CD; now every time I test the movie my computer hangs for a long time. Is there any way to speed this up?

A3:

Selecting short punk rock songs is one way. Seriously, just go into the Publish settings, select Raw for both Stream and Event, and remember to select Override Sound Settings. Now it won't perform the compression (the thing that takes forever) every time you publish. Just remember to change it back later before you're ready to publish for real.

Q4:

I imported an MP3 file that was only 61KB, but when I export the movie, it becomes 900KB. I'm sure my graphics aren't that big because when I remove the sound, the file goes down to 5KB. What could possibly be wrong?

A4:

Most likely you're resampling the sound (as Raw) and Flash is converting the sound into the size it would be as an uncompressed sound. Check the Publish Settings dialog box in Flash and confirm that you don't have Override Sound Settings selected. Then inspect the Sound Properties dialog box for the Library item of your imported sound and confirm that the MP3 settings match the original attributes of your file (shown near where the date and file location are displayed).

Q5:

Where is that starter ActionScript code for playing an external MP3 file that you promised?

A5:

Put an MP3 file (named in this case music.mp3) adjacent to your .swf (and remember to upload it when you post it on the Web); then put this code in the frame where you want the sound to start playing:


my_sound = new Sound();

my_sound.loadSound("music.mp3", true);


That's it. The true option says "start playing this sound as soon as you can—don't wait for it al
Previous Section  < Day Day Up >  Next Section

Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y][Z]

Origami Paper AirPlane
Paper Airplane Origami Boats

     Main Menu
Sams Teach Yourself Macromedia Flash 8 in 24 Hours
Table of Contents
Copyright
About the Author
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Part I: Assembling the Graphics You'll Animate in Flash
Part II: Animating in Flash
Hour 6. Understanding Animation
Hour 7. Animation the Old-Fashioned Way
Hour 8. Using Motion Tweens to Animate
Hour 9. Using Shape Tweens to Morph
Hour 10. Including Sound in Animations
Importing Sounds
Using Sounds
Controlling Quality and File Size
Summary
Q&A
Workshop
Hour 11. Using Layers in Animations
Hour 12. Animating Using Movie Clip and Graphic Symbols
Hour 13. Creating Special Effects
Part III: Adding Interactivity and Advanced Animation
Part IV: Putting It All Together for the Webs
Part V: Appendixes
Index


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual

Free Games Paper Airplane
Paper Airplane - Paper Airplane - Paper Airplane - Paper Airplane - Paper Airplane - Paper Airplane - Paper Airplane - Paper Airplane -