practical file of multimedia technology

Upload: pankaj-gill

Post on 04-Jun-2018

265 views

Category:

Documents


2 download

TRANSCRIPT

  • 8/13/2019 Practical File of Multimedia Technology

    1/33

    Practical File ofMultimedia Technology

    Submit ted To Submit ted ByMr. SatishDadarwal Pankaj GillAsst. Professor 11/CSE/168

    CSE Deptt. CSE-B

  • 8/13/2019 Practical File of Multimedia Technology

    2/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1

    INDEX

    Aim Date Page Remarks1. Write a Program to include a

    paragraph in Web Page using HTML2

    2. Write a Program of include imagein Web Page using HTML

    4

    3. Write a Program of including tablein Web Page using HTML

    6

    4. Write a Program of including videoin Web Page using HTML

    9

    5. A case study of macromedia flashversion 5.0

    11

    6 Write a program to showanimation using micro media flashplayer

    16

    7. Write a Program to showanimation using frame by frametechnique using macromedia flash.

    18

    8. Write a Program to show tweenshape of an object usingmacromedia flash.

    20

    9. Write a Program to showMultilayer in macromedia flashplayer.

    23

    10. A Case Study Of Visual Basics 2511. Program to Add Sound in Visual

    Basics 5.028

  • 8/13/2019 Practical File of Multimedia Technology

    3/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2

    Practical No.1 Write a Program to include a paragraph in Web Page using HTML

    Inserting Text in WebPage using HTML

    MultiMediaTechnology


    MultiMedia: Multimedia is the media thatuses multiple forms of information content andinformationprocessing to inform or entertain the user.



    Applications ofMultiMedia:


    1.Multimedia presentations


    2.Multimedia games and simulations


    3.Creative industries


    4.Creative industries


    5.Mathematical and Scientific Research


    6.Education

  • 8/13/2019 Practical File of Multimedia Technology

    4/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    3

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    5/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    4

    Practical No.2Write a Program of include image in Web Page using HTML

    Inserting Image in WebPage using HTML

    Plotters


    A plotter is a special-purpose output device that draws imageswith ink pens. That is, the plotter is a graphics printer formaking sophisticated graphs, charts, maps, and three-dimensional graphics as well as high-quality coloreddocuments. It can also produce larger size of documents.

    Plotters require data in a vector graphics format that canproduce images with a series of lines


    Types of

    Plotters:

    Drum Plotter

    Flatered Plotter

  • 8/13/2019 Practical File of Multimedia Technology

    6/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    5

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    7/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    6

    Practical No.3Write a Program of including table in Web Page using HTML

    Vaish Education Society

    Inserting Table in WebPage using HTML

    Vaish College of EngineeringVaish College of Engineering

    Vaish College of Engineering


    Graduation Courses

    Post Graduation Courses

    B.E.

    M.E.

  • 8/13/2019 Practical File of Multimedia Technology

    8/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    7

    Mechanical Engineering

    Electronics & Communication Engineering

    Electronics & Communication Engineering

    Information Technology

    Information Technology

    Electrical Engineering




  • 8/13/2019 Practical File of Multimedia Technology

    9/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    8

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    10/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    9

    Practical No.4Write a Program of including video in Web Page using HTML

    Inserting Moving Image in WebPage using HTML

  • 8/13/2019 Practical File of Multimedia Technology

    11/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 0

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    12/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 1

    Practical No. 5A case study of macromedia flash version 5.0

    Adobe Flash (formerly Macromedia Flash ) is a multimedia platform used to add animation,video, and interactivity to web pages. Flash is frequently used for advertisements, gamesand flash animations for broadcast. More recently, it has been positioned as a tool for "RichInternet Applications" ("RIAs").

    Flash manipulates vector and raster graphics to provide animation of text, drawings, and stillimages. It supports bidirectional streaming of audio and video, and it can capture user inputvia mouse, keyboard, microphone, and camera. Flash contains an object-orientedlanguage called ActionScript and supports automation via the JavaScript Flash language(JSFL).

    Flash content may be displayed on various computer systems and devices, using AdobeFlash Player, which is available free of charge for common web browsers, some mobilephones, and a few other electronic devices (using Flash Lite).

    Some users feel that Flash enriches their web experience, while others find the extensiveuse of Flash animation, particularly in advertising, intrusive and annoying. Flash has alsobeen criticized for adversely affecting the usability of web pages.

    Flash Video

    Virtually all browser plugins for video are free of charge and cross-platform, includingAdobe's offering of Flash Video, which was first introduced with Flash version 6. Flash Videohas been a popular choice for websites due to the large installed user base andprogrammability of Flash. In 2010, Apple publicly criticized Adobe Flash, including itsimplementation of video playback for not taking advantage of hardware acceleration, onereason Flash is not to be found on Apple's mobile devices. Soon after Apple's criticism,Adobe demoed and released a beta version of Flash 10.1, which takes advantage of GPUhardware acceleration even on a Mac. Flash 10.2 beta, released December 2010, addshardware acceleration for the whole video rendering pipeline.

    Flash Audio

    Flash Audio is most commonly encoded in MP3 or AAC (Advanced Audio Coding) however itdoes also support ADPCM, Nellymoser (Nellymoser Asao Codec) and Speex audio codecs.

    Flash allows sample rates of 11, 22 and 44.1 kHz. It does not support 48 kHz audio samplerate, which is the standard TV and DVD sample rate.

    http://en.wikipedia.org/wiki/Gratis#Softwarehttp://en.wikipedia.org/wiki/Adobe_Flash#Installed_user_basehttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/ADPCMhttp://en.wikipedia.org/wiki/Nellymoser_Asao_Codechttp://en.wikipedia.org/wiki/Speexhttp://en.wikipedia.org/wiki/Speexhttp://en.wikipedia.org/wiki/Nellymoser_Asao_Codechttp://en.wikipedia.org/wiki/ADPCMhttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/Adobe_Flash#Installed_user_basehttp://en.wikipedia.org/wiki/Gratis#Software
  • 8/13/2019 Practical File of Multimedia Technology

    13/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 2

    On August 20, 2007, Adobe announced on its blog that with Update 3 of Flash Player 9,Flash Video will also support some parts of the MPEG-4 international standards. Specifically,Flash Player will have support for video compressed in H.264 (MPEG-4 Part 10), audiocompressed using AAC(MPEG-4 Part 3), the F4V, MP4 (MPEG-4 Part 14), M4V,

    M4A, 3GP and MOV multimedia container formats, 3GPP Timed Text specification (MPEG-4Part 17), which is a standardized subtitle format and partial parsing support for the 'ilst'atom, which is the ID3 equivalent iTunes uses to store metadata. MPEG-4 Part2 and H.263 will not be supported in F4V file format. Adobe also announced that it will begradually moving away from the FLV format to the standard ISO base media file format(MPEG-4 Part 12) owing to functional limits with the FLV structure when streaming H.264.The final release of the Flash Player supporting some parts of MPEG-4 standards hadbecome available in Fall 2007.

    Runtime

    Adobe Flash Player is a runtime that executes and displays content from aprovided SWF file, although it has no in-built features to modify the SWF file at runtime. Itcan execute code written in the ActionScript programming language which enables theruntime manipulation of text, data, graphics, bitmaps, sound and video.

    Flash Player is used internally by the Adobe Integrated Runtime (Adobe AIR), in order toprovide a cross-platform runtime environment for desktop applications and mobileapplications. The runtime supports installable applications on Windows, Linux, Mac OS, andsome mobile operating systems such as IOS and Android. Flash applications must specificallybe built for the Adobe AIR runtime in order to utilize additional features provided, such as

    file system integration, native client extensions, native window/screen integration,taskbar/dock integration, and hardware integration withconnected Accelerometer and GPSdevices

    History

    Flash originated with the application SmartSketch, developed by Jonathan Gay. It waspublished by FutureWave Software, which was founded by Charlie Jackson. SmartSketch was

    a drawing application for pen computers running the PenPoint OS. When PenPoint failed inthe marketplace, SmartSketch was ported to Microsoft Windows and Mac OS. As theInternet became more popular, FutureWave added cell animation editing to the vectordrawing capabilities of SmartSketch and released FutureSplash Animator on multipleplatforms. FutureWave approached Adobe Systems with an offer to sell them FutureSplashin 1995, but Adobe turned them down at that time. FutureSplash was used by Microsoft inits early work with the Internet (MSN), and also by Disney Online for their subscription-based service, Disney's Daily Blast. In 1996, FutureSplash was acquired by Macromedia andreleased as Flash, contracting "Future" and "Splash". Flash is currently developed and

    distributed by Adobe Systems, as the result of their 2005 purchase of Macromedia.

    http://en.wikipedia.org/wiki/MPEG-4http://en.wikipedia.org/wiki/H.264http://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/3GPhttp://en.wikipedia.org/wiki/.movhttp://en.wikipedia.org/wiki/Container_format_(digital)http://en.wikipedia.org/wiki/3GPPhttp://en.wikipedia.org/wiki/Timed_Texthttp://en.wikipedia.org/wiki/ID3http://en.wikipedia.org/wiki/ITuneshttp://en.wikipedia.org/wiki/Metadatahttp://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/H.263http://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/SWFhttp://en.wikipedia.org/wiki/ActionScripthttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Desktop_applicationshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Linuxhttp://en.wikipedia.org/wiki/Mac_OShttp://en.wikipedia.org/wiki/IOShttp://en.wikipedia.org/wiki/Android_(operating_system)http://en.wikipedia.org/wiki/Accelerometerhttp://en.wikipedia.org/wiki/GPShttp://en.wikipedia.org/wiki/Jonathan_Gayhttp://en.wikipedia.org/wiki/FutureWave_Softwarehttp://en.wikipedia.org/wiki/Charlie_Jackson_(software)http://en.wikipedia.org/wiki/PenPoint_OShttp://en.wikipedia.org/wiki/FutureSplash_Animatorhttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/MSNhttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/MSNhttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/FutureSplash_Animatorhttp://en.wikipedia.org/wiki/PenPoint_OShttp://en.wikipedia.org/wiki/Charlie_Jackson_(software)http://en.wikipedia.org/wiki/FutureWave_Softwarehttp://en.wikipedia.org/wiki/Jonathan_Gayhttp://en.wikipedia.org/wiki/GPShttp://en.wikipedia.org/wiki/Accelerometerhttp://en.wikipedia.org/wiki/Android_(operating_system)http://en.wikipedia.org/wiki/IOShttp://en.wikipedia.org/wiki/Mac_OShttp://en.wikipedia.org/wiki/Linuxhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Desktop_applicationshttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/ActionScripthttp://en.wikipedia.org/wiki/SWFhttp://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/H.263http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/Metadatahttp://en.wikipedia.org/wiki/ITuneshttp://en.wikipedia.org/wiki/ID3http://en.wikipedia.org/wiki/Timed_Texthttp://en.wikipedia.org/wiki/3GPPhttp://en.wikipedia.org/wiki/Container_format_(digital)http://en.wikipedia.org/wiki/.movhttp://en.wikipedia.org/wiki/3GPhttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/H.264http://en.wikipedia.org/wiki/MPEG-4
  • 8/13/2019 Practical File of Multimedia Technology

    14/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 3

    Open Screen Project

    On May 1, 2008, Adobe announced the Open Screen Project , with the intent of providing aconsistent application interface across devices such as personal computers, mobile devices, and consumer electronics. When the project was announced, several goals were outlined:the abolition of licensing fees for Adobe Flash Player and Adobe Integrated Runtime, theremoval of restrictions on the use of the Shockwave Flash (SWF) and Flash Video (FLV) fileformats, the publishing of application programming interfaces for porting Flash to newdevices, and the publishing of The Flash Cast protocol and Action Message Format (AMF),which let Flash applications receive information from remote databases.

    As of February 2009, the specifications removing the restrictions on the use of SWF andFLV/F4V specs have been published. The Flash Cast protocol now known as the MobileContent Delivery Protocol and AMF protocols have also been made available, with AMF

    available as an open source implementation, BlazeDS. Work on the device porting layers isin the early stages. Adobe intends to remove the licensing fees for Flash Player and AdobeIntegrated Runtime (AIR) for devices at their release for the Open Screen Project.

    The list of mobile device providers who have joined the project includes Palm, Motorola,and Nokia, who, together with Adobe, have announced a $10 million Open Screen Projectfund.

    As of 2012, the Open Screen Project is no longer accepting new applications according topartner BSQuare. However paid licensing is still an option for device makers who want touse Adobe software.

    Flash for mobile platforms

    Flash Player for smart phones was made available to handset manufacturers at the end of2009.

    Adobe stops supporting Flash Player for mobile device browsers after the release of 11.1. Itcontinues to support deploying Flash based content as mobile applications via Adobe AIR.

    Decline on mobile devices

    In November 2011 there were a number of announcements that demonstrated a possibledecline in demand for rich Internet application architectures, and Flash in particular.

    Furthermore, in November 2011 Adobe announced the end of Flash for mobile platforms orTV, instead focusing on HTML5for browser content and Adobe AIR for the variousmobile application stores. Pundits questioned its continued relevance even on thedesktop and described it as "the beginning of the end". RIM announced that it wouldcontinue to develop Flash for the PlayBook.

    Adobe Flash Player's planned discontinuation as a separately available NPAPI browser pluginfor Linux (see Availability on desktop operating systems) , although technically just

    an API change, is notable in this context because availability of new Flash Players on Linuxwill be restricted to one browser.

    http://en.wikipedia.org/wiki/Mobile_devicehttp://en.wikipedia.org/wiki/Consumer_electronicshttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Adobe_Shockwavehttp://en.wikipedia.org/wiki/SWFhttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/File_formathttp://en.wikipedia.org/wiki/File_formathttp://en.wikipedia.org/wiki/Application_Programming_Interfacehttp://en.wikipedia.org/wiki/BlazeDShttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Palm,_Inc.http://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://en.wikipedia.org/wiki/HTML5http://en.wikipedia.org/wiki/Adobe_AIRhttp://en.wikipedia.org/wiki/List_of_digital_distribution_platforms_for_mobile_deviceshttp://en.wikipedia.org/wiki/NPAPIhttp://en.wikipedia.org/wiki/Adobe_Flash#Availability_on_desktop_operating_systemshttp://en.wikipedia.org/wiki/Application_programming_interfacehttp://en.wikipedia.org/wiki/Application_programming_interfacehttp://en.wikipedia.org/wiki/Adobe_Flash#Availability_on_desktop_operating_systemshttp://en.wikipedia.org/wiki/NPAPIhttp://en.wikipedia.org/wiki/List_of_digital_distribution_platforms_for_mobile_deviceshttp://en.wikipedia.org/wiki/Adobe_AIRhttp://en.wikipedia.org/wiki/HTML5http://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://en.wikipedia.org/wiki/Palm,_Inc.http://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/BlazeDShttp://en.wikipedia.org/wiki/Application_Programming_Interfacehttp://en.wikipedia.org/wiki/File_formathttp://en.wikipedia.org/wiki/File_formathttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/SWFhttp://en.wikipedia.org/wiki/Adobe_Shockwavehttp://en.wikipedia.org/wiki/Adobe_Integrated_Runtimehttp://en.wikipedia.org/wiki/Consumer_electronicshttp://en.wikipedia.org/wiki/Mobile_device
  • 8/13/2019 Practical File of Multimedia Technology

    15/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 4

    Despite the rise of the mobile-friendly HTML5, the Flash Player is still required for streamingthe content of many radio and TV websites, often making this content unavailable onmobile devices.

    Other uses

    Adobe Flash continues to be a favored animation program for low-cost 2D television andcommercial animation, in competition with Toon Boom Animation. Notable users of thesoftware includ eDHX Media Vancouver for productions including Pound Puppies and MyLittle Pony: Friendship is Magic , Nelvana for 6teen and Clone High , WilliamsStreet for Metalocalypse and Squidbillies , and Nickelodeon Animation Studios for Wow!Wow! Wubbzy! El Tigre: The Adventures of Manny Rivera , Danny Phantom and Happy TreeFriends . Flash is less commonly used for feature-length animated films; however,2009's The Secret of Kells , an Irish film, was animated primarily in Adobe Flash, and was

    nominated for an Academy Award for Best Animated Feature at the 82nd Academy Awards.

    Format

    Flash files are in the SWF format, traditionally called " Shock Wave Flash" movies, "Flashmovies," or "Flash applications", usually have a .swf file extension, and may be used in theform of a web page plug-in, strictly "played" in a standalone Flash Player, or incorporatedinto a self-executing Projector movie (with the .exe extension in Microsoft Windows) . Flash

    Video files have a .flv file extension and are either used from within .swf files or playedthrough a flv-aware player, such as VLC, or QuickTime and Windows Media Player withexternal codecs added.

    The use of vector graphics combined with program code allows Flash files to be smaller and thus allows streams to use less bandwidth than the corresponding bitmaps or videoclips. For content in a single format (such as just text, video, or audio), other alternativesmay provide better performance and consume less CPU power than the corresponding Flashmovie, for example when using transparency or making large screen updates such asphotographic or text fades.

    In addition to a vector-rendering engine, the Flash Player includes a virtual machine calledthe ActionScript Virtual Machine (AVM) for scripting interactivity at run-time, with video,MP3-based audio, and bitmap graphics. As of Flash Player 8, it offers two video codecs: On2Technologies VP6 and Sorenson Spark, and run-time JPEG, Progressive JPEG, PNG, and GIFcapability. In the next version, Flash is slated to use a just-in-time compiler for theActionScript engine.

    Flash Player is a browser plugin, and cannot run within traditional e-mail clients, suchas Microsoft Outlook or Mozilla Thunderbird. Instead, a link must open a browser window.

    Flash Video

    http://en.wikipedia.org/wiki/Toon_Boom_Animationhttp://en.wikipedia.org/wiki/DHX_Media_Vancouverhttp://en.wikipedia.org/wiki/Pound_Puppies_(2010_TV_series)http://en.wikipedia.org/wiki/Pound_Puppies_(2010_TV_series)http://en.wikipedia.org/wiki/Pound_Puppies_(2010_TV_series)http://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/Nelvanahttp://en.wikipedia.org/wiki/6teenhttp://en.wikipedia.org/wiki/6teenhttp://en.wikipedia.org/wiki/6teenhttp://en.wikipedia.org/wiki/Clone_Highhttp://en.wikipedia.org/wiki/Clone_Highhttp://en.wikipedia.org/wiki/Clone_Highhttp://en.wikipedia.org/wiki/Williams_Streethttp://en.wikipedia.org/wiki/Williams_Streethttp://en.wikipedia.org/wiki/Metalocalypsehttp://en.wikipedia.org/wiki/Metalocalypsehttp://en.wikipedia.org/wiki/Metalocalypsehttp://en.wikipedia.org/wiki/Squidbillieshttp://en.wikipedia.org/wiki/Squidbillieshttp://en.wikipedia.org/wiki/Squidbillieshttp://en.wikipedia.org/wiki/Nickelodeon_Animation_Studioshttp://en.wikipedia.org/wiki/Wow!_Wow!_Wubbzy!http://en.wikipedia.org/wiki/Wow!_Wow!_Wubbzy!http://en.wikipedia.org/wiki/Wow!_Wow!_Wubbzy!http://en.wikipedia.org/wiki/El_Tigre:_The_Adventures_of_Manny_Riverahttp://en.wikipedia.org/wiki/El_Tigre:_The_Adventures_of_Manny_Riverahttp://en.wikipedia.org/wiki/El_Tigre:_The_Adventures_of_Manny_Riverahttp://en.wikipedia.org/wiki/Danny_Phantomhttp://en.wikipedia.org/wiki/Danny_Phantomhttp://en.wikipedia.org/wiki/Danny_Phantomhttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/The_Secret_of_Kellshttp://en.wikipedia.org/wiki/The_Secret_of_Kellshttp://en.wikipedia.org/wiki/The_Secret_of_Kellshttp://en.wikipedia.org/wiki/Academy_Award_for_Best_Animated_Featurehttp://en.wikipedia.org/wiki/82nd_Academy_Awardshttp://en.wikipedia.org/wiki/File_extensionhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/VLC_media_playerhttp://en.wikipedia.org/wiki/QuickTimehttp://en.wikipedia.org/wiki/Windows_Media_Playerhttp://en.wikipedia.org/wiki/Codechttp://en.wikipedia.org/wiki/Bandwidth_(computing)http://en.wikipedia.org/wiki/Central_processing_unithttp://en.wikipedia.org/wiki/On2_Technologieshttp://en.wikipedia.org/wiki/On2_Technologieshttp://en.wikipedia.org/wiki/VP6http://en.wikipedia.org/wiki/Sorenson_codechttp://en.wikipedia.org/wiki/JPEGhttp://en.wikipedia.org/wiki/Portable_Network_Graphicshttp://en.wikipedia.org/wiki/Graphics_Interchange_Formathttp://en.wikipedia.org/wiki/Just-in-time_compilationhttp://en.wikipedia.org/wiki/Microsoft_Outlookhttp://en.wikipedia.org/wiki/Mozilla_Thunderbirdhttp://en.wikipedia.org/wiki/Mozilla_Thunderbirdhttp://en.wikipedia.org/wiki/Microsoft_Outlookhttp://en.wikipedia.org/wiki/Just-in-time_compilationhttp://en.wikipedia.org/wiki/Graphics_Interchange_Formathttp://en.wikipedia.org/wiki/Portable_Network_Graphicshttp://en.wikipedia.org/wiki/JPEGhttp://en.wikipedia.org/wiki/Sorenson_codechttp://en.wikipedia.org/wiki/VP6http://en.wikipedia.org/wiki/On2_Technologieshttp://en.wikipedia.org/wiki/On2_Technologieshttp://en.wikipedia.org/wiki/Central_processing_unithttp://en.wikipedia.org/wiki/Bandwidth_(computing)http://en.wikipedia.org/wiki/Codechttp://en.wikipedia.org/wiki/Windows_Media_Playerhttp://en.wikipedia.org/wiki/QuickTimehttp://en.wikipedia.org/wiki/VLC_media_playerhttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/Flash_Videohttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/File_extensionhttp://en.wikipedia.org/wiki/82nd_Academy_Awardshttp://en.wikipedia.org/wiki/Academy_Award_for_Best_Animated_Featurehttp://en.wikipedia.org/wiki/The_Secret_of_Kellshttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/Happy_Tree_Friendshttp://en.wikipedia.org/wiki/Danny_Phantomhttp://en.wikipedia.org/wiki/El_Tigre:_The_Adventures_of_Manny_Riverahttp://en.wikipedia.org/wiki/Wow!_Wow!_Wubbzy!http://en.wikipedia.org/wiki/Wow!_Wow!_Wubbzy!http://en.wikipedia.org/wiki/Nickelodeon_Animation_Studioshttp://en.wikipedia.org/wiki/Squidbillieshttp://en.wikipedia.org/wiki/Metalocalypsehttp://en.wikipedia.org/wiki/Williams_Streethttp://en.wikipedia.org/wiki/Williams_Streethttp://en.wikipedia.org/wiki/Clone_Highhttp://en.wikipedia.org/wiki/6teenhttp://en.wikipedia.org/wiki/Nelvanahttp://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/My_Little_Pony:_Friendship_is_Magichttp://en.wikipedia.org/wiki/Pound_Puppies_(2010_TV_series)http://en.wikipedia.org/wiki/DHX_Media_Vancouverhttp://en.wikipedia.org/wiki/Toon_Boom_Animation
  • 8/13/2019 Practical File of Multimedia Technology

    16/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 5

    Virtually all browser plugins for video are free of charge and cross-platform, includingAdobe's offering of Flash Video, which was first introduced with Flash version 6. Flash Videohas been a popular choice for websites due to the large installed user base andprogrammability of Flash. In 2010, Apple publicly criticized Adobe Flash, including its

    implementation of video playback for not taking advantage of hardware acceleration, onereason Flash is not to be found on Apple's mobile devices. Soon after Apple's criticism,Adobe demoed and released a beta version of Flash 10.1, which takes advantage of GPUhardware acceleration even on a Mac. Flash 10.2 beta, released December 2010, addshardware acceleration for the whole video rendering pipeline.

    Flash Audio

    Flash Audio is most commonly encoded in MP3 or AAC (Advanced Audio Coding) however itcan also use ADPCM, Nellymoser (Nellymoser Asao Codec) and Speex audio codecs. Flash

    allows sample rates of 11, 22 and 44.1 kHz. It cannot have 48 kHz audio sample rate, whichis the standard TV and DVD sample rate.

    On August 20, 2007, Adobe announced on its blog that with Update 3 of Flash Player 9,Flash Video will also implement some parts of the MPEG-4 internationalstandards. Specifically, Flash Player will work with video compressed in H.264 (MPEG-4 Part10), audio compressed using AAC(MPEG-4 Part 3), the F4V, MP4 (MPEG-4 Part 14), M4V,M4A, 3GP and MOV multimedi acontainer formats, 3GPP Timed Text specification (MPEG-4Part 17), which is a standardized subtitle format and partial parsing capability for the 'ilst'atom, which is the ID3 equivalent iTunes uses to store metadata. MPEG-4 Part2 and H.263 will not work in F4V file format. Adobe also announced that it will be gradually

    moving away from the FLV format to the standard ISO base media file format (MPEG-4 Part12) owing to functional limits with the FLV structure when streaming H.264. The finalrelease of the Flash Player implementing some parts of MPEG-4 standards had becomeavailable in Fall 2007.

    Adobe Flash Player 10.1 does not have acoustic echo cancellation, unlike the VoIP offeringsof Skype and Google Voice, making this and earlier versions of Flash less suitable for groupcalling or meetings. Flash Player 10.3 Beta incorporates acoustic echo cancellation.

    Scripting language

    ActionScript is the programming language used by Flash. It is an enhanced superset ofthe ECMAScript programming language, with a classical Java-style class model, rather thanJavaScript's prototype model.

    http://en.wikipedia.org/wiki/Gratis#Softwarehttp://en.wikipedia.org/wiki/Adobe_Flash#Installed_user_basehttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/ADPCMhttp://en.wikipedia.org/wiki/Nellymoser_Asao_Codechttp://en.wikipedia.org/wiki/Speexhttp://en.wikipedia.org/wiki/MPEG-4http://en.wikipedia.org/wiki/H.264http://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/3GPhttp://en.wikipedia.org/wiki/.movhttp://en.wikipedia.org/wiki/Container_format_(digital)http://en.wikipedia.org/wiki/3GPPhttp://en.wikipedia.org/wiki/Timed_Texthttp://en.wikipedia.org/wiki/ID3http://en.wikipedia.org/wiki/ITuneshttp://en.wikipedia.org/wiki/Metadatahttp://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/H.263http://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/ECMAScripthttp://en.wikipedia.org/wiki/ECMAScripthttp://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/MPEG-4_Part_12http://en.wikipedia.org/wiki/H.263http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/MPEG-4_Part_2http://en.wikipedia.org/wiki/Metadatahttp://en.wikipedia.org/wiki/ITuneshttp://en.wikipedia.org/wiki/ID3http://en.wikipedia.org/wiki/Timed_Texthttp://en.wikipedia.org/wiki/3GPPhttp://en.wikipedia.org/wiki/Container_format_(digital)http://en.wikipedia.org/wiki/.movhttp://en.wikipedia.org/wiki/3GPhttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/H.264http://en.wikipedia.org/wiki/MPEG-4http://en.wikipedia.org/wiki/Speexhttp://en.wikipedia.org/wiki/Nellymoser_Asao_Codechttp://en.wikipedia.org/wiki/ADPCMhttp://en.wikipedia.org/wiki/Advanced_Audio_Codinghttp://en.wikipedia.org/wiki/Adobe_Flash#Installed_user_basehttp://en.wikipedia.org/wiki/Gratis#Software
  • 8/13/2019 Practical File of Multimedia Technology

    17/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 6

    Experiment No.6Write a program to show animation using macromedia flash

    player

    Steps to create object blinking:

    1. Click a frame and add the object that you want to make blink.

    2. Skip some frames on timeline and add a key frame after 25 frames.

    3. Go to the 25th frame and remove that object from that frame.

    Flash view:

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    18/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 7

  • 8/13/2019 Practical File of Multimedia Technology

    19/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 8

    Experiment No.7Write a Program to show animation using frame by frame

    technique using macromedia flash

    Steps to create motion tweening:

    1. Click a layer name to make it the current layer, and select an empty key frame in thelayer where you want the animation to start.

    2. Create an instance, group, or text block on the Stage, or drag an instance of a symbolfrom the Library window.

    To motion tween an object you have drawn, you must convert it to a symbol.

    3. Create a second key frame where you want the animation to end.

    4. Do one of the following to modify the instance, group, or text block in the ending frame:

    Move the item to a new position.

    Modify the item's size, rotation, or skew.

    Modify the item's color (instance or text block only).

    To tween the color of elements other than instances or text blocks, use shape tweening.

  • 8/13/2019 Practical File of Multimedia Technology

    20/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    1 9

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    21/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 0

    Experiment No.8Write a Program to show tween shape of an object using

    macromediaflash

    1. Open a macromedia flash from the start menu

    2. From the toolbar select an object and place it on the play area

    3. Select the frame, select the old object and delete it and draw the new object with

    new different colour and shape

    4. In the frame, right click and select insert key frame

    5. Select the first object, offset window -> select tween as shape and same for the

    second object

    6. Press ctrl + enter to test the movie.

    Flash view:

  • 8/13/2019 Practical File of Multimedia Technology

    22/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 1

  • 8/13/2019 Practical File of Multimedia Technology

    23/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 2

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    24/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 3

    Experiment No.9Write a Program to show Multilayer in macromedia flash player

    Steps to create multiple object in flash using layers:

    1. Click on insert new layer button in layer section of timeline.

    2. Choose Insert->Timeline->Layer

    3. Right-click on the layer name and then choose the insert layer option from the

    shortcut menu a new layer get added above the existing layer.

    4. When a new layer is added into the timeline then add object to that layer.

    5. Repeat step 1 to 4 until your complete requirement of layers and object is not

    fulfilled

    Flash View:

  • 8/13/2019 Practical File of Multimedia Technology

    25/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 4

    Output

  • 8/13/2019 Practical File of Multimedia Technology

    26/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 5

    Program No. 10A Case Study of Visual Basics

    Visual Basic is a generation event and integrated development environment (IDE) fromMicrosoft for its COM programming model first released in 1991. Microsoft intends VisualBasic to be relatively easy to learn and use. Visual Basic was derived from BASICand enablesthe rapid application development (RAD) of graphical user interface (GUI) applications,access to databases using Data Access Objects, Remote Data Objects, or ActiveX DataObjects, and creation of ActiveX controls and objects. The scripting languageVBScript is asubset of Visual Basic.

    A programmer can create an application using the components provided by the Visual Basicprogram itself. Programs written in Visual Basic can also use the Windows API, but doing sorequires external function declarations. Though the program has received criticism for itsperceived faults, version 3 of Visual Basic was a runaway commercial success, and manycompanies offered third party controls greatly extending its functionality.

    The final release was version 6 in 1998. Microsoft's extended support ended in March 2008and the designated successor was Visual Basic .NET (now known simply as Visual Basic).

    Though Visual Basic 6.0 is no longer officially available there remain a sizable number ofdevelopers who still prefer Visual Basic 6.0 over .NET.

    A dialect of Visual Basic, Visual Basic for Applications (VBA), is used as a macro or scriptinglanguage within several Microsoft applications, including Microsoft Office.

    Language features

    Like the BASICprogramming language, Visual Basic was designed to accommodate beginnerprogrammers. Programmers can not only create simple GUI applications, but to alsodevelop complex applications. Programming in VB is a combination of visually arrangingcomponents or controls on a form, specifying attributes and actions for those components,and writing additional lines of code for more functionality. Since VB defines default

    attributes and actions for the components, a programmer can develop a simple programwithout writing much code. Programs built with earlier versions suffered performanceproblems, but faster computers and native code compilation has made this less of an issue.

    Though VB programs can be compiled into native code executable from version 5 on, theystill require the presence of around 1 MB of runtime libraries. Runtime libraries are includedby default in Windows 2000 and later. Earlier versions of Windows (95/98/NT) require thatthe runtime libraries be distributed with the executable.

    http://en.wikipedia.org/wiki/Integrated_development_environmenthttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Component_Object_Modelhttp://en.wikipedia.org/wiki/BASIChttp://en.wikipedia.org/wiki/Rapid_application_developmenthttp://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/Databasehttp://en.wikipedia.org/wiki/Data_Access_Objecthttp://en.wikipedia.org/wiki/Remote_Data_Objectshttp://en.wikipedia.org/wiki/ActiveX_Data_Objecthttp://en.wikipedia.org/wiki/ActiveX_Data_Objecthttp://en.wikipedia.org/wiki/ActiveXhttp://en.wikipedia.org/wiki/Scripting_languagehttp://en.wikipedia.org/wiki/Component-based_software_engineeringhttp://en.wikipedia.org/wiki/Windows_APIhttp://en.wikipedia.org/wiki/Visual_Basic_.NEThttp://en.wikipedia.org/wiki/Visual_Basic_for_Applicationshttp://en.wikipedia.org/wiki/BASIChttp://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/GUI_widgethttp://en.wikipedia.org/wiki/GUI_widgethttp://en.wikipedia.org/wiki/Form_%28programming%29http://en.wikipedia.org/wiki/Source_codehttp://en.wikipedia.org/wiki/Visual_Basic#Timeline_of_Visual_Basic_.28VB1_to_VB6.29http://en.wikipedia.org/wiki/Windows_2000http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Windows_2000http://en.wikipedia.org/wiki/Visual_Basic#Timeline_of_Visual_Basic_.28VB1_to_VB6.29http://en.wikipedia.org/wiki/Source_codehttp://en.wikipedia.org/wiki/Form_%28programming%29http://en.wikipedia.org/wiki/GUI_widgethttp://en.wikipedia.org/wiki/GUI_widgethttp://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/BASIChttp://en.wikipedia.org/wiki/Visual_Basic_for_Applicationshttp://en.wikipedia.org/wiki/Visual_Basic_.NEThttp://en.wikipedia.org/wiki/Windows_APIhttp://en.wikipedia.org/wiki/Component-based_software_engineeringhttp://en.wikipedia.org/wiki/Scripting_languagehttp://en.wikipedia.org/wiki/Scripting_languagehttp://en.wikipedia.org/wiki/ActiveXhttp://en.wikipedia.org/wiki/ActiveX_Data_Objecthttp://en.wikipedia.org/wiki/ActiveX_Data_Objecthttp://en.wikipedia.org/wiki/Remote_Data_Objectshttp://en.wikipedia.org/wiki/Data_Access_Objecthttp://en.wikipedia.org/wiki/Databasehttp://en.wikipedia.org/wiki/Graphical_user_interfacehttp://en.wikipedia.org/wiki/Rapid_application_developmenthttp://en.wikipedia.org/wiki/BASIChttp://en.wikipedia.org/wiki/Component_Object_Modelhttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Integrated_development_environment
  • 8/13/2019 Practical File of Multimedia Technology

    27/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 6

    An empty form in Visual Basic 6.

    Forms are created using drag-and-drop techniques. A tool is used to place controls (e.g., textboxes, buttons, etc.) on the form (window). Controls have attributes and event handlersassociated with them. Default values are provided when the control is created, but may bechanged by the programmer. Many attribute values can be modified during run time basedon user actions or changes in the environment, providing a dynamic application. Forexample, code can be inserted into the form resize event handler to reposition a control sothat it remains centred on the form, expands to fill up the form, etc. By inserting code intothe event handler for a key press in a text box, the program can automatically translate the

    case of the text being entered, or even prevent certain characters from being inserted.

    Programs, can you create with Visual Basic 6?

    With VB 6, you can create any program depending on your objective. For example, if you area college or university lecturer, you can create educational programs to teach business,economics, engineering, computer science, accountancy, financial management,information system and more to make teaching more effective and interesting. If you are inbusiness, you can also create business programs such as inventory management system,point-of-sale system, payroll system, financial program as well as accounting program tohelp manage your business and increase productivity. For those of you who like what gamesand working as games programmer, you can create those programs as well. Indeed, there isno limit to what program you can create! There are many such programs in this tutorial, soyou must spend more time on the tutorial in order to learn how to create those programs.

    http://en.wikipedia.org/wiki/Drag-and-drophttp://en.wikipedia.org/wiki/Attribute_%28computing%29http://en.wikipedia.org/wiki/Event_handlerhttp://en.wikipedia.org/wiki/File:Form_vide_VB.JPGhttp://en.wikipedia.org/wiki/Event_handlerhttp://en.wikipedia.org/wiki/Attribute_%28computing%29http://en.wikipedia.org/wiki/Drag-and-drop
  • 8/13/2019 Practical File of Multimedia Technology

    28/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 7

    Properties Window in Visual Basic

  • 8/13/2019 Practical File of Multimedia Technology

    29/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 8

    Program No. 12Program to Add Sound in Visual Basics 5.0

    Option Explicit

    Private Const SND_APPLICATION = &H80

    Private Const SND_ALIAS = &H10000

    Private Const SND_ALIAS_ID = &H110000

    Private Const SND_ASYNC = &H1

    Private Const SND_FILENAME = &H20000

    Private Const SND_LOOP = &H2

    Private Const SND_MEMORY = &H4

    Private Const SND_NODEFAULT = &H2

    Private Const SND_NOSTOP = &H10

    Private Const SND_NOWAIT = &H2000

    Private Const SND_PURGE = &H40

    Private Const SND_RESOURCE = &H40004

    Private Declare Function PlaySound Lib "winmm.dll" Alias"PlaySoundA" (ByVallpszName As String, ByValhModule As Long,ByValdwFlags As Long) As Long

    Dim flag As Boolean

    Private Sub Command1_Click()

    If Not flag ThenCommand1.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\TADA.WAV", ByVal 0&, SND_ASYNC OrSND_LOOP

    Else

    Command1.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\TADA.WAV", ByVal 0&, SND_MEMORY

    End If

  • 8/13/2019 Practical File of Multimedia Technology

    30/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    2 9

    flag = Not flag

    End Sub

    Private Sub Command2_Click()

    If Not flag Then

    Command2.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\chimes.WAV", ByVal 0&, SND_ASYNCOr SND_LOOP

    Else

    Command2.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\chimes.WAV", ByVal 0&, SND_MEMORY

    End If

    flag = Not flag

    End Sub

    Private Sub Command3_Click()

    If Not flag Then

    Command3.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\chord.WAV", ByVal 0&, SND_ASYNC OrSND_LOOP

    Else

    Command3.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\chord.WAV", ByVal 0&, SND_MEMORY

    End If

    flag = Not flag

    End Sub

    Private Sub Command4_Click()

    If Not flag Then

    Command4.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\ding.WAV", ByVal 0&, SND_ASYNC OrSND_LOOP

  • 8/13/2019 Practical File of Multimedia Technology

    31/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    3 0

    Else

    Command4.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\ding.WAV", ByVal 0&, SND_MEMORY

    End If

    flag = Not flag

    End Sub

    Private Sub Command5_Click()

    If Not flag Then

    Command5.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\flourish.WAV", ByVal 0&, SND_ASYNCOr SND_LOOP

    Else

    Command5.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\flourish.WAV", ByVal 0&,SND_MEMORY

    End If

    flag = Not flag

    End Sub

    Private Sub Command6_Click()

    If Not flag Then

    Command6.Caption = "Stop"

    PlaySound "C:\WINDOWS\MEDIA\ir_begin.WAV", ByVal 0&, SND_ASYNCOr SND_LOOP

    Else

    Command6.Caption = "Play"

    PlaySound "C:\WINDOWS\MEDIA\ir_begin.WAV", ByVal 0&,SND_MEMORY

    End If

    flag = Not flag

  • 8/13/2019 Practical File of Multimedia Technology

    32/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    PANKAJ GILL 11/CSE/168 P a g e

    3 1

    End Sub

    Private Sub Form_Load()

    Command1.Caption = "Play"

    End Sub

  • 8/13/2019 Practical File of Multimedia Technology

    33/33

    PRACTICALFILE OF MULTIMEDIA TECHNOLOGY 2013

    a g e

    3 2

    Output