Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mengimpor gambar, suara dan video dalam Flash R0312 – Grafik Komputer.

Similar presentations


Presentation on theme: "Mengimpor gambar, suara dan video dalam Flash R0312 – Grafik Komputer."— Presentation transcript:

1 Mengimpor gambar, suara dan video dalam Flash R0312 – Grafik Komputer

2 Mengimpor File Objek dapat secara langsung diimpor ke dalam dokumen Flash atau mengimpornya ke dalam panel Library Untuk mengimpor objek secara langsung ke dalam dokumen Flash, pilih menu File>Import Untuk mengimpor objek ke dalam panel Library, pilih File>Import to Library

3 Mengimpor File Gambar Program Macromedia Flash dapat menggunakan objek gambar yang dibuat menggunakan program aplikasi lain Beberapa format file yang dapat diimpor ke dalam dokumen Flash antara lain: – Adobe Ilustrator (.eps; ai.) – Aotucad DXF (.dxf) – Bitmap (.bmp) – Enhanced Windows Metafile (.emf) – FreeHand (.fh7 -.fh10) – FutureSplash Player (.spl) – Gif dan Animated Gif (.gif) – JPEG (.jpg) – PICT (.pct;.pic) – PNG (.png) – Windows Metafile (.wmf) – Jika komputer terdapat program QuictTime cersi 4 atau di atasnya: MacPaint (.pntg) Photoshop (.psd) QuicTime Image (qtif) Silicon Graphic Imag (.sgi) TGA (.tga) TiFF (.tif

4 Mengimpor Gambar (lanjutan) Jika file yang diimpor memiliki nama yang sama dan berakhir dengan angka yang berurutan (misalnya, langkah01.jpg, langkah02.jpg, dst), maka program macromedia Flash akan memberikan opsi untuk mengimpor urutan file tersebut secara sekuel ata tidak Untuk mengimpornya secara sekuel, klik tab Yes, jika tidak klik tab No

5 File gambar bitmap dapat diatur anti-aliasing dan kompresinya Flash lets you break apart a bitmap into editable pixels. The bitmap retains its original detail but is broken into discrete areas of color. When you break a bitmap apart, you can select and modify areas of the bitmap with the Flash drawing and painting tools. Breaking apart a bitmap also lets you sample the bitmap with the Eyedropper tool to use it as a fill Mengimpor Gambar (lanjutan)

6 Mengimpor Suara Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004 offer a number of ways to use sounds. You can make sounds that play continuously, independent of the Timeline, or you can synchronize animation to a sound track. You can add sounds to buttons to make them more interactive, and make sounds fade in and out for a more polished sound track. There are two types of sounds in Flash: event sounds and stream sounds. An event sound must download completely before it begins playing, and it continues playing until explicitly stopped. Stream sounds begin playing as soon as enough data for the first few frames has been downloaded; stream sounds are synchronized to the Timeline for playing on a website. You select compression options to control the quality and size of sounds in exported SWF files. You can select compression options for individual sounds using the Sound Properties dialog box, or define settings for all sounds in the document in the Publish Settings dialog box You place sound files into Flash by importing them into the library for the current document

7 Mengimpor Suara (lanjutan) You can import the following sound file formats into Flash: – WAV (Windows only) – AIFF (Macintosh only) – MP3 (Windows or Macintosh) If you have QuickTime 4 or later installed on your system, you can import these additional sound file formats: – AIFF (Windows or Macintosh) – Sound Designer II (Macintosh only) – Sound Only QuickTime Movies (Windows or Macintosh) – Sun AU (Windows or Macintosh) – System 7 Sounds (Macintosh only) – WAV (Windows or Macintosh) Flash stores sounds in the library along with bitmaps and symbols. As with graphic symbols, you need only one copy of a sound file to use that sound in any number of ways in your document

8 Mengimpor Video Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004 provide a variety of ways for you to include video in your Flash documents: – You can import video clips into Flash as embedded files in MOV, AVI, MPEG, or other formats, depending on your system. Just like an imported bitmap or vector artwork file, an embedded video file becomes part of the Flash document. For information on file formats supported for importing embedded video, – You can import video clips in Macromedia Flash Video (FLV) format directly into Flash. When you import FLV files, you can use the encoding options already applied to the files. You do not need to select encoding options during import. – Note: You can export video clips in FLV format from Flash, for use in Flash documents or other applications. – You can play back external FLV files in a Flash document at runtime, using the NetConnection and NetStream objects in ActionScript. – You can import video clips in QuickTime format as linked files. Flash documents that contain linked QuickTime video must be published in QuickTime format. A linked video file does not become part of the Flash document. Instead, the Flash document maintains a pointer to the linked file. – If you have Macromedia Flash MX Professional 2004, you can use the FLV file format to create and import video in a streamlined workflow. You can export FLV files from video-editing applications using the Macromedia Flash Video (FLV) plug-in. – You can play back FLV files using the streaming media components.

9 Mengimpor Video There are a couple options for controlling playback of imported video files: You can use video behaviors (prewritten ActionScript scripts) to control video playback. If you are comfortable with ActionScript, you can write your own ActionScript to control video playback. You can play or stop a video, jump to a frame, and control video in other ways. You can also display a live video stream from a camera. Note: You can preview frames of an imported video by dragging the playhead along the Timeline. However, the sound will not play back. To preview the video with sound, you use the Test Movie command. You can use the Property inspector and the Embedded Video Properties dialog box to modify embedded and linked video clips. The Property inspector lets you give the clip an instance name; change the width, height, and registration point; and swap a video clip with another video clip. The Embedded Video Properties dialog box lets you rename a video clip, update an imported video that you have edited in an external application, or import another video to replace the selected clip.

10 Menggunakan Components Components are movie clips with parameters that allow you to modify their appearance and behavior. A component can provide any functionality that its creator can imagine. A component can be a simple user interface control, such as a radio button or a check box, or it can contain content, such as a scroll pane; a component can also be non-visual, like the FocusManager that allows you to control which object receives focus in an application. Components enable anyone to build complex Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004 applications, even if they don't have an advanced understanding of ActionScript. Rather than creating custom buttons, combo boxes, and lists, you can drag these components from the Components panel to add functionality to your applications. You can also easily customize the look and feel of components to suit your design needs. Components are built on version 2 (v2) of the Macromedia Component Architecture, which allows you to easily and quickly build robust applications with a consistent appearance and behavior. The v2 architecture includes classes on which all components are based, styles and skins mechanisms that allow you to customize component appearance, a broadcaster/listener event model, depth and focus management, accessibility implementation, and more. Each component has predefined parameters that you can set while authoring in Flash. Each component also has a unique set of ActionScript methods, properties, and events, also called an API (application programming interface), that allows you to set parameters and additional options at runtime.

11 There are various ways to work with components in Macromedia Flash MX 2004 and Macromedia Flash MX Professional You use the Components panel to view components and add them to a document during authoring. Once a component has been added to a document, you can view its properties in the Property inspector or in the Component Inspector panel. Components can communicate with other components by listening to their events and handling them with ActionScript. You can also manage the component depth in a document and control when a component receives focus. Menggunakan Components


Download ppt "Mengimpor gambar, suara dan video dalam Flash R0312 – Grafik Komputer."

Similar presentations


Ads by Google