1. Trang chủ
  2. » Công Nghệ Thông Tin

adobe flash cs5 on demand part 81 pdf

6 187 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Nội dung

ptg 500 Chapter 20 As you work, you should periodically stop and test your movie as a Flash SWF. The Test command allows you to quickly see your movie on different devices and players—Flash Professional, Device Central (New!) or Air Debug Launcher (Desktop or Mobile) (New!)—without leaving the program. The Test command tests the movie based on the current test option. Flash uses the document type the default until you change it. Each time you test your movie as an SWF, Flash creates a log entry in the SWF History in the Property Inspector (New!). The SWF History shows you the difference in file size between the different tests. If there is over a 50% increase in size, a warning icon appears next to the log entry. In the SWF History, you can view or clear the log entries. Testing a Movie Test a Movie and View a SWF History Click the Control menu, and then point to Test Movie. Select the option where you want to test your movie: ◆ in Flash Professional. Plays the movie in a separate window in Flash Professional. ◆ in Device Central. Opens Adobe Device Central CS5 and displays the movie. ◆ in Air Debug Launcher (Desktop). Opens Adobe Air Player for the desktop and displays the movie. ◆ in Air Debug Launcher (Mobile). Opens Adobe Air Player for mobile devices and displays the movie. ◆ Test. Performs a test with the currently selected test option. TIMESAVER Press Ctrl+Enter (Win) or A +Return (Mac). To view and wor k wi th t he S WF History log, click the Window menu, and then click Properties to open the Property Inspector. ◆ Clear the SWF History. Click the Clear button. ◆ View the SWF History Log. Click the Log button. 3 2 1 1 2 3 From the Library of Wow! eBook ptg Chapter 20 Publishing a Movie 501 To view the per fo rm ance of a Fl ash do cum en t us in g a gr ap h, use the Bandwidth Profiler. The Bandwidth Profiler displays how much data is sent for each frame in the active Flash document, according to the speed you specify. The Bandwidth Profiler has two windows. The left window shows information about the active document and the current download settings, and the right window displays information about each frame in the document. In addition, the Bandwidth Profiler lets you view how the page loads, based on a specific bandwidth. For example, you could specify to load the Flash document using a speed of 28.8Kbps. To maintain an accurate download test, the Bandwidth Profiler compensates for added compression support applied to SWF files, which reduces the file size and improves streaming performance. Using the Bandwidth Profiler Use the Bandwidth Profiler Click the Control menu, point to Test Movie, and then click Test. Click the View menu, and then click Bandwidth Profiler. Click the View menu, point to Download Settings, and then select from the available bandwidth options, or click Customize, and then create a user- defined setting. Click the View menu, and then click Simulate Download. This tests the load of the Flash movie against the current settings. 4 3 2 1 Test movie bandwidth settings. Timing Rule A timing rule used in Web design is called the 10-second rule. If doc- uments load too slowly, there's a good chance that your visitors will not wait for the document to load, and will move on to other pages. The Bandwidth profiler gives you a real taste of what your visitors are going to experience when they download your Flash movies. For Your Information From the Library of Wow! eBook ptg 502 Chapter 20 Flash can export an entire movie or frame to several different formats that are not included in the Publish Settings dialog box. These formats include Adobe FXG, Bitmap, JPEG Image or Sequence, GIF Image or Sequence, PNG Image or Sequence, Quick Time (MOV), Animated GIF, Windows AVI, and WAV (for Windows only). When you export a movie or image (frame), some file formats require you to select additional for- mat specific options, such as resolution (dots per inch) and number of colors or color bit depth, to complete the operation. To set the resolu- tion to match your monitor, select Match Screen. Exporting a Movie to Different Formats Export a Movie Frame to Different Formats Open a document. Select a frame you want to export in the Timeline. Click the File menu, point to Export, and then click Export Image. Navigate to the location where you want to save the file. Enter a name in the Save As (Mac) or File Name (Win) box. Click the Format popup (Mac) or the Save As Type list arrow (Win), and then select a file format. Click Save. Some file formats require you to select additional format specific options to complete the operation. If a dialog box appears, select the options you want, and then click OK. 8 7 6 5 4 3 2 1 Available file formats 5 4 7 6 Options vary depending on export format 8 From the Library of Wow! eBook ptg Chapter 20 Publishing a Movie 503 Export a Movie to Different Formats Open a document. Click the File menu, point to Export, and then click Export Movie. TIMESAVER Press Option+ Shift+ A +S (Mac) or Ctrl+Alt+ Shift+S (Win) to export a movie. Navigate to the location where you want to save the file. Enter a name in the Save As (Mac) or File Name (Win) box. Click the Format popup (Mac) or the Save As Type list arrow (Win), and then select a file format. Click Save. Some file formats require you to select additional format specific options to complete the operation. If a dialog box appears, select the options you want. Click OK or Export. When you export a movie, Flash creates a separate file for each frame of the movie and numbers them in sequential order. 8 7 6 5 4 3 2 1 3 6 4 5 7 8 From the Library of Wow! eBook ptg 504 Chapter 20 In your browser, you can press Control+click (Mac) or right-click (Win) a Flash movie in a Flash Player to display a contextual, or shortcut, menu. The menu contains Flash Player related commands, such as Print. You can give viewers the option to print some, or all of your movie. By default, the Print command prints every frame in the movie unless you restrict printing to specific frames by labeling them as print- able in the Flash document before you publish it. You label frames as printable by typing #p in the Frame box of the Property Inspector. By default, the movie’s Stage size determines the print area. Printing from the Flash Player Label Frames as Printable and Print from the Flash Player Open a document. Select the frames or keyframes in the Timeline you want to label as printable. Type #p in the Frame box in the Property Inspector. Repeat steps 2 and 3 for each keyframe you want to label as printable. Publish your movie using the Publish command on the File menu, and then view it in your browser using the Flash Player. Press Control+click (Mac) or right- click (Win) anywhere in the movie window, and then click Print. 6 5 4 3 2 1 #p appears in the selected frames. 2 3 Did You Know? You can disable printing from the Flash Player. Open the Flash docu- ment, select a frame in the Timeline, open the Frame Property Inspector, and then type !#p in the Label box. You can disable the contextual menu in the Flash Player. Click the File menu, click Publish Settings, click the HTML tab, clear the Display Menu check box, and then click OK. Printing with ActionScript You can also print with ActionScript using the following commands: print (target, bounding box), printasBitmap (target, bounding box), or Printjob class. The target is the Movie Clip Timeline (or specific frames) and bounding box is bmovie (frame with a #b used as print area), bframe (each frame used as print area), or bmax (one big print area). For Your Information From the Library of Wow! eBook ptg Working with Projects and Other Programs Introduction Adobe programs are designed to work together so you can focus on what you need to do, rather than on how to do it. In fact, the Adobe programs share tools and features for your most common tasks so you can work uninterrupted and move seamlessly from one program to another. If you need more advanced scripting features, you can use Adobe Flash Builder to work with ActionScript 3.0, yet still quickly switch back to Flash Professional as needed. As a designer, you can use the Adobe FXG file format to exchange graphic content between programs with high fidelity, which includes Fireworks, Photoshop CS5, Illustrator, Flash Catalyst, and Flash Builder. If you want to create a stand-alone applica- tion from a Flash document, you can publish it as an Adobe AIR application, which you can install or remove like any other program. In addition to developing content for comput- ers, you can also use Flash to develop content for mobile devices using Adobe Device Central CS5 to test it. In Flash, you can manage multiple document files within a Flash Project. A Flash Projects lets you group multiple, and related files together to help you keep track of complex appli- cations. Flash lets you apply version-control to ensure that the correct file versions are used during editing and to pre- vent accidental overwriting. If you want to access additional resources from Adobe, you can use the Adobe CS Live menu. Adobe CS Live is an online service that allows you to set up or manage (sign in and out) an Adobe account, access the Acrobat.com subscrip- tion-based Web site or the Adobe ConnectNow Web site (Share my screen command) where you can collaborate with others, display CS news and resources, and access an Adobe Web site with information about CS Live Services. 21 21 What You’ll Do Work with Adobe Flash Builder Exchange Content with Adobe FXG Create an Adobe AIR Application Create Content for a Mobile Device Map MIDI Sounds on a Mobile Device Create and Manage a Project Manage Project Files Test a Project Send a Document Using E-Mail Explore CS Live Services Share My Screen Use Adobe Extension Manager 505 From the Library of Wow! eBook . 21 21 What You’ll Do Work with Adobe Flash Builder Exchange Content with Adobe FXG Create an Adobe AIR Application Create Content for a Mobile Device Map MIDI Sounds on a Mobile Device Create and. stand-alone applica- tion from a Flash document, you can publish it as an Adobe AIR application, which you can install or remove like any other program. In addition to developing content for. can also use Flash to develop content for mobile devices using Adobe Device Central CS5 to test it. In Flash, you can manage multiple document files within a Flash Project. A Flash Projects

Ngày đăng: 02/07/2014, 21:21