Adobe Flash: Difference between revisions
imported>Ganggang Hu No edit summary |
Pat Palmer (talk | contribs) m (Text replacement - "[[Ruby programming language|" to "[[Ruby (programming language)|") |
||
(72 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{subpages}} | |||
'''Adobe Flash''', a package of multimedia authoring [[software]] developed by [[Adobe Systems]] (formerly by Macromedia), is used to create [[vector graphics]]-based animation programs, rich content, user interfaces and web applications, and combine videos with web pages. | |||
Adobe Flash, a multimedia authoring software developed by Adobe Systems (formerly by Macromedia), is used to create [[vector graphics]]-based animation programs, rich content, user interfaces and web applications, and combine videos with web pages. | |||
Adobe Flash is written in C++, and contains | Adobe Flash is written in [[C++]], and contains [[ActionScript]] to build most user interface elements, such as buttons, text fields, and drop down menus. Such elements also can be specified using [[XML]]. In order to view standalone Adobe Flash multimedia files (SWF) and interact with Flash contents, users need to download and install Adobe Flash Player, which is a [[client-server|client]] runtime available for many platforms such as [[Microsoft Windows|Windows]], [[Linux]], Solaris and [[Apple Macintosh|Macintosh]]. | ||
== History == | == History == | ||
Flash program was built by Jonathan Gay, who began his professional Programming life as a Macintosh software engineer early in high school. After years of game design, he focused on building graphics editors and started FutureWave Software company with Charlie Jackson in 1993. In order to make drawing on the computer easier than drawing on paper, they built software called SmartSketch. | Flash program was built by Jonathan Gay, who began his professional Programming life as a [[Apple Macintosh|Macintosh]] [[Software engineering|software engineer]] early in high school. After years of game design, he focused on building graphics editors and started FutureWave Software company with Charlie Jackson in 1993. In order to make drawing on the computer easier than drawing on paper, they built software called SmartSketch. | ||
As a competitor of Illustrator and FreeHand, SmartSketch didn't gain success until 1995, it was turned into an animation product FutureSplash Animator for people sending graphics and animation over Internet. The ancestor of Flash Player was also born at that time. | As a competitor of Illustrator and FreeHand, SmartSketch didn't gain success until 1995, it was turned into an animation product FutureSplash Animator for people sending graphics and animation over [[Internet]]. The ancestor of Flash Player was also born at that time. | ||
In August of 1996, FutureSplash got big support from Microsoft and Disney Online. Microsoft used FutureSplash on MSN to create the most TV-like experience on the Internet. And Disney Online adopted FutureSplash to build animation and the user interface for the Disney Daily Blast. | In August of 1996, FutureSplash got big support from [[Microsoft]] and Disney Online. [[Microsoft]] used FutureSplash on MSN to create the most TV-like experience on the [[Internet]]. And Disney Online adopted FutureSplash to build animation and the user interface for the Disney Daily Blast. | ||
In December 1996, FutureWave Software was sold to Macromedia, and FutureSplash Animator became Macromedia Flash 1.0. Since then, Flash becomes synonymous with animation on the Internet.<ref>Gay, Jonathan. [http://www.adobe.com/macromedia/events/john_gay/ "The History of Flash" | In December 1996, FutureWave Software was sold to Macromedia, and FutureSplash Animator became Macromedia Flash 1.0. Since then, Flash becomes synonymous with animation on the [[Internet]].<ref>Gay, Jonathan. [http://www.adobe.com/macromedia/events/john_gay/ "The History of Flash"]</ref> | ||
=== Authoring tool released timeline === | === Authoring tool released timeline === | ||
<table border="1px"> | <table border="1px"> | ||
Line 40: | Line 40: | ||
<tr><td>Macromedia Flash MX 2004</td><td>2003</td></tr> | <tr><td>Macromedia Flash MX 2004</td><td>2003</td></tr> | ||
<tr><td>Macromedia Flash 8</td><td>2005</td></tr> | <tr><td>Macromedia Flash 8</td><td>2005</td></tr> | ||
<tr><td>Adobe Flash 9 for Windows and Macintosh</td><td>2006</td></tr> | <tr><td>Adobe Flash 9 for [[Microsoft Windows|Windows]] and [[Apple Macintosh|Macintosh]]</td><td>2006</td></tr> | ||
<tr><td>Adobe Flash 9 for Linux</td><td>2007</td></tr> | <tr><td>Adobe Flash 9 for [[Linux]]</td><td>2007</td></tr> | ||
<tr><td>Adobe Flash CS3</td><td>2007</td></tr> | <tr><td>Adobe Flash CS3</td><td>2007</td></tr> | ||
<tr><td>Adobe Flash Player 10</td><td>2008</td></tr> | <tr><td>Adobe Flash Player 10</td><td>2008</td></tr> | ||
Line 48: | Line 48: | ||
== Technology == | == Technology == | ||
=== | === Standards === | ||
Flash | Flash doesn't usually comply with [[W3C]] standards perfectly. Although there is a way to use the <object> tag to insert Flash files into web pages, the more commonly used <embed> is a proprietary tag which is not recognized by the [[W3C]]. | ||
[[ | |||
In the Draft Recommendation for [[HTML]] 5, the W3C has a section named "Relationship to [[XUL]], Flash, [[Microsoft Silverlight|Silverlight]], and other proprietary [[User Interface|UI]] languages", which says, "This specification is independent of the various proprietary UI languages that various vendors provide. As an open, vendor-neutral language, [[HTML]] provides for a solution to the same problems without the risk of vendor lock-in." <ref> [http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html "HTML 5 Draft Recommendation — 2 August 2008"]</ref> | |||
Flash is not based on an open standard such as [[SVG]]. Also, Adobe's Flash Player cannot ship as part of a pure [[open source]] or completely free [[operating system]] because its distribution is bound to the Macromedia Licensing Program and subject to approval. Currently, there are some third party tools which can be used to generate SWF files. [[IrfanView]] can play SWF files, and other [[Open source software|open-source]] flash players such as Gnash and Swfdec are in development. | |||
=== Features === | |||
The main features of latest Adobe Flash are as follows: <ref> [http://wwwimages.adobe.com/www.adobe.com/products/flash/pdfs/flash_datasheet.pdf "ADOBE FLASH CS3 PROFESSIONAL, CREATE AND DELIVER RICH, INTERACTIVE CONTENT"]</ref> | |||
* Import native [[Photoshop]] (PSD) files while preserving layers and preferences, retain Photoshop text as editable text in Flash, convert Photoshop layers or layer groups to movie clips and specify publish settings. | |||
* Maintain fidelity when working between Flash and Illustrator, users can choose to import illustrator layers as separate Flash Layers, Keyframes or Single Flash Layers. | |||
* Quickly add motion to the creations with the frame-based timeline inspired by traditional animation principles such as keyframing and tweening. | |||
* Easily create pie wedges, round off rectangle corners, define an inner circle radius, etc. Visually adjust shape properties on the stage. And create custom shapes with the included [[JavaScript]] application programming interface (API). | |||
* Save time with the new [[ActionScript]] 3.0 language. | |||
* Create, edit, and deploy streaming and progressive-download FLV files with a standalone video encoder, alpha channel support, a high-quality video codec, embedded cue points, video import, QuickTime import, and closed captioning. | |||
* Integrate audio into projects by importing MP3 files. | |||
* Rich drawing capabilities, including visually adjust shape properties on the stage with smart shape drawing tools, creating vector illustrations with the new Pen tool inspired by Adobe Illustrator, pasting illustrations from Illustrator CS3 into Flash CS3, etc. | |||
* Extensible architecture makes the Flash APIs develop extensions that add custom functionality easily. | |||
* Convert timeline animations into [[ActionScript]] 3.0 code that can be edited, reused, and leveraged by developers. | |||
* Create and test interactive applications and interfaces viewable with Flash Lite software. | |||
The main features of current Adobe Flash Player are as follows: <ref> [http://www.adobe.com/products/flashplayer/productinfo/features/ "Adobe Flash Player: Features"]</ref> | |||
* Includes the [[ActionScript]] [[Virtualization|Virtual Machine]] (AVM) known as AVM2, which is designed to work with ActionScript and deliver the performance and features to support the needs of rich [[Internet]] application developers. | |||
* Includes H.264 video and High Efficiency AAC (HE-AAC) audio codec support that opens up a broad ecosystem and selection of standards-based video that developers can leverage in their applications. | |||
* The Flash Player cache enables common components, such as the Flex Framework, to be cached locally and then used by any SWF from any domain. | |||
* Enforces security sandboxes for applications, content, data, and [[Uniform Resource Locator|URLs]] to safeguard sensitive data and help ensure safe browsing for end users. | |||
* Displays API and supports integration with [[Hypertext Markup Language|HTML]], DHTML, and [[Ajax]] applications through the External API. | |||
* Based on an asynchronous [[Client-server|client-server]] communication model, enabling rapid [[Client-server|client]] interactivity without web page refresh. | |||
* Supports expanded integration with Input Method Editors (IMEs) for Asian-language Flash applications. | |||
* Provides lightweight footprint and accessibility support. | |||
=== Examples === | |||
==== How to make a simple animation using Flash ==== | |||
An animation consists of a series of frames. Each frame represents a single static image. When they are shown in sequence, it looks like the object in the picture is moving. Here is an example of how a simple animation can be made: | |||
First, create a new FLA file and make two layers containing the following pictures. | |||
{| align=center | |||
|- | |||
| | |||
[[Image:QuestionMark1.jpg|frame|350 px|{{#ifexist:Template:QuestionMark1.jpg/credit|{{QuestionMark1.jpg/credit}}<br/>|}}Made by Ganggang Hu, 2008]] | |||
| | |||
[[Image:QuestionMark2.jpg|frame|350 px|{{#ifexist:Template:QuestionMark2.jpg/credit|{{QuestionMark2.jpg/credit}}<br/>|}}Made by Ganggang Hu, 2008]] | |||
|} | |||
Second, set the 10th frame as the keyframe for the first layer and the 20th frame as the keyframe for the second layer. | Second, set the 10th frame as the keyframe for the first layer and the 20th frame as the keyframe for the second layer. | ||
Finally, export, save as a | Finally, export, save as a SWF file, and display the animation. | ||
[[Image:QuestionMark.gif | {| align=center | ||
|- | |||
| | |||
[[Image:QuestionMark.gif|thumb|300 px|{{#ifexist:Template:QuestionMark.gif/credit|{{QuestionMark.gif/credit}}<br/>|}}Made by Ganggang Hu, 2008]] | |||
|} | |||
==== How to include Flash on a web page ==== | |||
For maximum compatibility with different [[web browser]]s, the following [[XHTML]] code can be used to embed Flash on a web page: | |||
<object width="425" height="344"> | |||
<param name="movie" value="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1"/> | |||
<param name="allowFullScreen" value="true"/> | |||
<embed src="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" | |||
type="application/x-shockwave-flash" | |||
allowfullscreen="true" | |||
width="425" height="344"/> | |||
</object> | |||
Alternatively, for full compliance with the [[W3C]]'s [[XHTML]] standard, the following code can be used: | |||
<object type="application/x-shockwave-flash" | |||
data="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" | |||
width="400" height="300"> | |||
<param name="movie" | |||
value="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" /> | |||
</object> | |||
== Market == | |||
=== Where Flash is Used === | |||
Flash technology can be used on [[CD-ROM]]s and TV, but its main usage is on websites. Due to the Flash Player's wide distribution and its availability for many [[operating system]]s and [[web browser]]s, Flash is increasingly used as a way to display advertisements, animations, and video clips on websites. Flash is used as the basis for many popular video sites such as [[YouTube]], [[Google Video]], and [[Hulu]]. | |||
The Flash Player is available for many platforms and devices, such as [[Microsoft Windows|Windows]], [[Mac OS]], [[Linux]] (only 32-bit x86), [[Solaris]], HP-UX, Pocket PC, OS/2, QNX, Symbian, Palm OS, BeOS, and IRIX. | |||
=== Market Share === | |||
According to a survey by Adobe, "Adobe Flash Player is used by over 2 million professionals and reaching 99.0% of [[Internet]]-enabled desktops in mature markets as well as a wide range of devices."<ref> [http://www.adobe.com/products/player_census/flashplayer/ "Flash Player Penetration"]</ref> | |||
<table border="1px"> | |||
<tr><th>Product name</th><th>Percentage of web users(%)</th></tr> | |||
<tr><td>Adobe Flash Player</td><td>99.0</td></tr> | |||
<tr><td>[[Java programming language|Java]]</td><td>85.1</td></tr> | |||
<tr><td>Microsoft [[Windows Media Player]]</td><td>79.3</td></tr> | |||
<tr><td>Apple [[QuickTime Player]]</td><td>65.5</td></tr> | |||
<tr><td>[[Adobe Shockwave]] Player</td><td>59.2</td></tr> | |||
<tr><td>[[RealOne]] Player</td><td>46.2</td></tr> | |||
<tr><td>[[SVG]]</td><td>7.9</td></tr> | |||
</table> | |||
Worldwide distribution of Flash Player — June 2008 | |||
<table border="1px"> | |||
<tr><th> </th><th>Flash Player 7</th><th>Flash Player 8</th><th>Flash Player 9</th><th>Flash Player 9.0.115</th></tr> | |||
<tr><td><b>Mature Markets</b></td><td>99.0%</td><td>98.7%</td><td>97.7%</td><td>81.7%</td></tr> | |||
<tr><td><b>US/Canada</b></td><td>99.1%</td><td>98.9%</td><td>97.8%</td><td>83.3%</td></tr> | |||
<tr><td><b>Europe</b></td><td>98.5%</td><td>97.9%</td><td>96.5%</td><td>78.6%</td></tr> | |||
<tr><td><b>Japan</b></td><td>99.3%</td><td>99.3%</td><td>98.8%</td><td>81.3%</td></tr> | |||
<tr><td><b>Emerging Markets</b></td><td>97.3%</td><td>97.1%</td><td>96.2%</td><td>82.4%</td></tr> | |||
</table> | |||
Worldwide distribution of Adobe Flash Player by Version — June 2008 | |||
=== Allies and Competitors === | |||
==== The relationship of Flash to other applications ==== | |||
Flash has wide interaction with other software, such as Empressr, which is an [[Ajax]]/Flash-based web application for creating, sharing and storing presentations online, and Goowy, which offers Flash email service for instant messaging and chatting. | |||
Flash can communicate with [[JavaScript]] and VBScript, which enables a [[Hypertext Markup Language|HTML]] page to send and receive data from a Flash movie. | |||
Extending [[ActionScript]]3 with [[C programming language|C]] within Flash enables the translation from [[C programming language|C]]/[[C++]] code to [[ActionScript]] code by the process of [[C programming language|C]]/[[C++]] -->[[ActionScript|AS3]] -->SWF -->Flash, which makes a contribution to the game development. | |||
Also, Flash animations can be imported into VB6, [[C++]], [[C# programming language|C#]] [[.NET Framework|.NET]] by using the Flash player as a component in the project. The Flash Remoting MX provides the connection between Flash and the web application [[Web server|server]] to create Rich [[Internet]] Applications. Users can integrate rich Flash content with applications built using ColdFusion MX, [[Microsoft]] [[.NET Framework|.NET]], [[Java programming language|Java]], and [[Web Services with SOAP|SOAP]]-based web services. Flash Remoting MX can parse and translate [[ActionScript]] [[XML]] objects on the [[Web server|server]] into an org.w3c.xml DOM, making any remote service (such as CFCs, pagers, EJBs, [[Java programming language|Java]] classes, and [[Microsoft]] [[.NET Framework|.NET]] DLLs) that accepts or returns [[XML]] documents seamlessly accessible to Flash. Developers who use [[Web Services with SOAP|SOAP]] for custom [[XML]] documents can expose them to Flash [[Client-server|clients]] in a simple model, eliminating the development of [[Web server|server-side]] parsing previously required when passing an [[XML]] stream from Flash. <ref> [http://www.academicsuperstore.com/products/Adobe/Flash+Remoting+l++Formerly+from+Macromedia/767644 "About Flash Remoting MX (2-CPU)"]</ref> | |||
==== Competitors ==== | |||
See [[Silverlight vs. Flash]] | |||
With the fast development of [[internet]], there are many alternative technologies competing with Flash to enrich the web page, such as Sun Microsystems Applet, [[Microsoft Silverlight]] and Sun Microsystems javaFX. | |||
[[Java programming language|Java]] applets can be executed by browsers for many platforms, and will cache in most [[Web browser|web browsers]]. However, it requires the [[Java programming language|Java]] plug-in, which isn't available by default on all [[Web browser|web browsers]]. Also, [[Java programming language|Java]] applet may cost large amounts of startup time when first time it is used. | |||
JavaFX is a [[client-server|client]] technology for creating rich [[Internet]] applications (RIAs) with immersive media and content to enable consistent user experiences on desktop, mobile, TV, and other consumer platforms. But JavaFX is still in development, so there are not that much components available yet. | |||
[[Microsoft Silverlight]] is viewed as the biggest competitor to Flash, some people even claim that Flash is dead and [[Microsoft Silverlight|Silverlight]] is the next generation. But since [[Microsoft Silverlight|Silverlight]] is a relative new technology (born in 2007), it may take a period of time to rule the market. | |||
== Future Developments == | |||
Adobe AIR is a cross-[[operating system]] runtime being developed by Adobe since November 2007 that allows developers to leverage their existing web development skills (Flash, Flex, [[Hypertext Markup Language|HTML]], [[JavaScript]], [[Ajax]]) to build and deploy rich [[Internet]] applications (RIAs) to the desktop.<ref> [http://labs.adobe.com/wiki/index.php/Apollo:developerfaq "AIR:Developer FAQ"]</ref> | |||
As of February 2008, Adobe Systems is working on a research project to make programs written in various languages easier to run on Adobe's ubiquitous Flash Player [[Client-server|client]] runtime. This technology would allow for cross-compiling existing code from [[C programming language|C]], [[C++]], [[Java programming language|Java]], [[Python programming language|Python]], and [[Ruby (programming language)|Ruby]] to [[ActionScript]]. So these languages can cross-compile to the [[Virtualization|virtual machine]] inside Flash and AIR (Adobe Integrated Runtime). For example, an alternative PDF renderer providing a lighter version of PDF could be cross-compiled, and the Flash Player could read it and display PDFs.<ref>Krill, Paul, 02.26.2008, [http://www.thestandard.com/news/2008/02/26/adobe-extending-flash-platform "Adobe extending Flash platform"]</ref> | |||
Another project is called Open Screen Project, which is dedicated to driving rich [[Internet]] experiences and creating a consistent application interface across all devices like personal computers, mobile devices or consumer electronics. This project includes abolishing licensing fees for Adobe Flash Player and Adobe Integrated Runtime, removing restrictions on the use of the Shockwave Flash (SWF) and Flash Video (FLV) file formats, publishing Application Programming Interfaces for porting Flash to new devices, and publishing Flash Cast protocol and Action Message Format (AMF) to let Flash applications receive information from remote databases.<ref> [http://www.adobe.com/openscreenproject/ "Open Screen Project"]</ref> | |||
The next version of Flash will have two additional components designed for large scale implementation. Adobe is adding in the option to require an advertisement to be played in full before the main video piece is played, and gives companies the option to link an advertisement with content and make sure that both are played and that they not be changed, which would bring advantages to large scale video sites.<ref> [http://news.bbc.co.uk/1/hi/business/6558979.stm "Adobe unveils Flash video control"]</ref> | |||
< | |||
</ | |||
== Reference == | == Reference == | ||
Line 202: | Line 186: | ||
[[Category:CZ Live]] | [[Category:CZ Live]] | ||
[[Category:Stub Articles]] | [[Category:Stub Articles]] | ||
[[Category: | [[Category:Computers Workgroup]][[Category:Suggestion Bot Tag]] |
Latest revision as of 15:37, 19 July 2024
Adobe Flash, a package of multimedia authoring software developed by Adobe Systems (formerly by Macromedia), is used to create vector graphics-based animation programs, rich content, user interfaces and web applications, and combine videos with web pages.
Adobe Flash is written in C++, and contains ActionScript to build most user interface elements, such as buttons, text fields, and drop down menus. Such elements also can be specified using XML. In order to view standalone Adobe Flash multimedia files (SWF) and interact with Flash contents, users need to download and install Adobe Flash Player, which is a client runtime available for many platforms such as Windows, Linux, Solaris and Macintosh.
History
Flash program was built by Jonathan Gay, who began his professional Programming life as a Macintosh software engineer early in high school. After years of game design, he focused on building graphics editors and started FutureWave Software company with Charlie Jackson in 1993. In order to make drawing on the computer easier than drawing on paper, they built software called SmartSketch.
As a competitor of Illustrator and FreeHand, SmartSketch didn't gain success until 1995, it was turned into an animation product FutureSplash Animator for people sending graphics and animation over Internet. The ancestor of Flash Player was also born at that time.
In August of 1996, FutureSplash got big support from Microsoft and Disney Online. Microsoft used FutureSplash on MSN to create the most TV-like experience on the Internet. And Disney Online adopted FutureSplash to build animation and the user interface for the Disney Daily Blast.
In December 1996, FutureWave Software was sold to Macromedia, and FutureSplash Animator became Macromedia Flash 1.0. Since then, Flash becomes synonymous with animation on the Internet.[1]
Authoring tool released timeline
Product Name | Released Year |
---|---|
FutureSplash Animator | 1996 |
Macromedia Flash 1 | 1996 |
Macromedia Flash 2 | 1997 |
Macromedia Flash 3 | 1998 |
Macromedia Flash 4 | 1999 |
Macromedia Flash 5 | 2000 |
Macromedia Flash MX (version 6) | 2002 |
Macromedia Flash MX 2004 (version 7) | 2003 |
Macromedia Flash Basic 8 | 2005 |
Macromedia Flash Professional 8 | 2005 |
Adobe Flash CS3 Professional | 2007 |
Player released timeline
Product Name | Released Year |
---|---|
Macromedia Flash 2 | 1997 |
Macromedia Flash 3 | 1998 |
Macromedia Flash 4 | 1999 |
Macromedia Flash 5 | 2001 |
Macromedia Flash MX | 2002 |
Macromedia Flash MX 2004 | 2003 |
Macromedia Flash 8 | 2005 |
Adobe Flash 9 for Windows and Macintosh | 2006 |
Adobe Flash 9 for Linux | 2007 |
Adobe Flash CS3 | 2007 |
Adobe Flash Player 10 | 2008 |
Technology
Standards
Flash doesn't usually comply with W3C standards perfectly. Although there is a way to use the <object> tag to insert Flash files into web pages, the more commonly used <embed> is a proprietary tag which is not recognized by the W3C.
In the Draft Recommendation for HTML 5, the W3C has a section named "Relationship to XUL, Flash, Silverlight, and other proprietary UI languages", which says, "This specification is independent of the various proprietary UI languages that various vendors provide. As an open, vendor-neutral language, HTML provides for a solution to the same problems without the risk of vendor lock-in." [2]
Flash is not based on an open standard such as SVG. Also, Adobe's Flash Player cannot ship as part of a pure open source or completely free operating system because its distribution is bound to the Macromedia Licensing Program and subject to approval. Currently, there are some third party tools which can be used to generate SWF files. IrfanView can play SWF files, and other open-source flash players such as Gnash and Swfdec are in development.
Features
The main features of latest Adobe Flash are as follows: [3]
- Import native Photoshop (PSD) files while preserving layers and preferences, retain Photoshop text as editable text in Flash, convert Photoshop layers or layer groups to movie clips and specify publish settings.
- Maintain fidelity when working between Flash and Illustrator, users can choose to import illustrator layers as separate Flash Layers, Keyframes or Single Flash Layers.
- Quickly add motion to the creations with the frame-based timeline inspired by traditional animation principles such as keyframing and tweening.
- Easily create pie wedges, round off rectangle corners, define an inner circle radius, etc. Visually adjust shape properties on the stage. And create custom shapes with the included JavaScript application programming interface (API).
- Save time with the new ActionScript 3.0 language.
- Create, edit, and deploy streaming and progressive-download FLV files with a standalone video encoder, alpha channel support, a high-quality video codec, embedded cue points, video import, QuickTime import, and closed captioning.
- Integrate audio into projects by importing MP3 files.
- Rich drawing capabilities, including visually adjust shape properties on the stage with smart shape drawing tools, creating vector illustrations with the new Pen tool inspired by Adobe Illustrator, pasting illustrations from Illustrator CS3 into Flash CS3, etc.
- Extensible architecture makes the Flash APIs develop extensions that add custom functionality easily.
- Convert timeline animations into ActionScript 3.0 code that can be edited, reused, and leveraged by developers.
- Create and test interactive applications and interfaces viewable with Flash Lite software.
The main features of current Adobe Flash Player are as follows: [4]
- Includes the ActionScript Virtual Machine (AVM) known as AVM2, which is designed to work with ActionScript and deliver the performance and features to support the needs of rich Internet application developers.
- Includes H.264 video and High Efficiency AAC (HE-AAC) audio codec support that opens up a broad ecosystem and selection of standards-based video that developers can leverage in their applications.
- The Flash Player cache enables common components, such as the Flex Framework, to be cached locally and then used by any SWF from any domain.
- Enforces security sandboxes for applications, content, data, and URLs to safeguard sensitive data and help ensure safe browsing for end users.
- Displays API and supports integration with HTML, DHTML, and Ajax applications through the External API.
- Based on an asynchronous client-server communication model, enabling rapid client interactivity without web page refresh.
- Supports expanded integration with Input Method Editors (IMEs) for Asian-language Flash applications.
- Provides lightweight footprint and accessibility support.
Examples
How to make a simple animation using Flash
An animation consists of a series of frames. Each frame represents a single static image. When they are shown in sequence, it looks like the object in the picture is moving. Here is an example of how a simple animation can be made:
First, create a new FLA file and make two layers containing the following pictures.
Second, set the 10th frame as the keyframe for the first layer and the 20th frame as the keyframe for the second layer.
Finally, export, save as a SWF file, and display the animation.
How to include Flash on a web page
For maximum compatibility with different web browsers, the following XHTML code can be used to embed Flash on a web page:
<object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1"/> <param name="allowFullScreen" value="true"/> <embed src="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"/> </object>
Alternatively, for full compliance with the W3C's XHTML standard, the following code can be used:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" width="400" height="300"> <param name="movie" value="http://www.youtube.com/v/hE1K0ZeTtAw&hl=en&fs=1" /> </object>
Market
Where Flash is Used
Flash technology can be used on CD-ROMs and TV, but its main usage is on websites. Due to the Flash Player's wide distribution and its availability for many operating systems and web browsers, Flash is increasingly used as a way to display advertisements, animations, and video clips on websites. Flash is used as the basis for many popular video sites such as YouTube, Google Video, and Hulu.
The Flash Player is available for many platforms and devices, such as Windows, Mac OS, Linux (only 32-bit x86), Solaris, HP-UX, Pocket PC, OS/2, QNX, Symbian, Palm OS, BeOS, and IRIX.
According to a survey by Adobe, "Adobe Flash Player is used by over 2 million professionals and reaching 99.0% of Internet-enabled desktops in mature markets as well as a wide range of devices."[5]
Product name | Percentage of web users(%) |
---|---|
Adobe Flash Player | 99.0 |
Java | 85.1 |
Microsoft Windows Media Player | 79.3 |
Apple QuickTime Player | 65.5 |
Adobe Shockwave Player | 59.2 |
RealOne Player | 46.2 |
SVG | 7.9 |
Worldwide distribution of Flash Player — June 2008
Flash Player 7 | Flash Player 8 | Flash Player 9 | Flash Player 9.0.115 | |
---|---|---|---|---|
Mature Markets | 99.0% | 98.7% | 97.7% | 81.7% |
US/Canada | 99.1% | 98.9% | 97.8% | 83.3% |
Europe | 98.5% | 97.9% | 96.5% | 78.6% |
Japan | 99.3% | 99.3% | 98.8% | 81.3% |
Emerging Markets | 97.3% | 97.1% | 96.2% | 82.4% |
Worldwide distribution of Adobe Flash Player by Version — June 2008
Allies and Competitors
The relationship of Flash to other applications
Flash has wide interaction with other software, such as Empressr, which is an Ajax/Flash-based web application for creating, sharing and storing presentations online, and Goowy, which offers Flash email service for instant messaging and chatting.
Flash can communicate with JavaScript and VBScript, which enables a HTML page to send and receive data from a Flash movie.
Extending ActionScript3 with C within Flash enables the translation from C/C++ code to ActionScript code by the process of C/C++ -->AS3 -->SWF -->Flash, which makes a contribution to the game development.
Also, Flash animations can be imported into VB6, C++, C# .NET by using the Flash player as a component in the project. The Flash Remoting MX provides the connection between Flash and the web application server to create Rich Internet Applications. Users can integrate rich Flash content with applications built using ColdFusion MX, Microsoft .NET, Java, and SOAP-based web services. Flash Remoting MX can parse and translate ActionScript XML objects on the server into an org.w3c.xml DOM, making any remote service (such as CFCs, pagers, EJBs, Java classes, and Microsoft .NET DLLs) that accepts or returns XML documents seamlessly accessible to Flash. Developers who use SOAP for custom XML documents can expose them to Flash clients in a simple model, eliminating the development of server-side parsing previously required when passing an XML stream from Flash. [6]
Competitors
With the fast development of internet, there are many alternative technologies competing with Flash to enrich the web page, such as Sun Microsystems Applet, Microsoft Silverlight and Sun Microsystems javaFX.
Java applets can be executed by browsers for many platforms, and will cache in most web browsers. However, it requires the Java plug-in, which isn't available by default on all web browsers. Also, Java applet may cost large amounts of startup time when first time it is used.
JavaFX is a client technology for creating rich Internet applications (RIAs) with immersive media and content to enable consistent user experiences on desktop, mobile, TV, and other consumer platforms. But JavaFX is still in development, so there are not that much components available yet.
Microsoft Silverlight is viewed as the biggest competitor to Flash, some people even claim that Flash is dead and Silverlight is the next generation. But since Silverlight is a relative new technology (born in 2007), it may take a period of time to rule the market.
Future Developments
Adobe AIR is a cross-operating system runtime being developed by Adobe since November 2007 that allows developers to leverage their existing web development skills (Flash, Flex, HTML, JavaScript, Ajax) to build and deploy rich Internet applications (RIAs) to the desktop.[7]
As of February 2008, Adobe Systems is working on a research project to make programs written in various languages easier to run on Adobe's ubiquitous Flash Player client runtime. This technology would allow for cross-compiling existing code from C, C++, Java, Python, and Ruby to ActionScript. So these languages can cross-compile to the virtual machine inside Flash and AIR (Adobe Integrated Runtime). For example, an alternative PDF renderer providing a lighter version of PDF could be cross-compiled, and the Flash Player could read it and display PDFs.[8]
Another project is called Open Screen Project, which is dedicated to driving rich Internet experiences and creating a consistent application interface across all devices like personal computers, mobile devices or consumer electronics. This project includes abolishing licensing fees for Adobe Flash Player and Adobe Integrated Runtime, removing restrictions on the use of the Shockwave Flash (SWF) and Flash Video (FLV) file formats, publishing Application Programming Interfaces for porting Flash to new devices, and publishing Flash Cast protocol and Action Message Format (AMF) to let Flash applications receive information from remote databases.[9]
The next version of Flash will have two additional components designed for large scale implementation. Adobe is adding in the option to require an advertisement to be played in full before the main video piece is played, and gives companies the option to link an advertisement with content and make sure that both are played and that they not be changed, which would bring advantages to large scale video sites.[10]
Reference
- ↑ Gay, Jonathan. "The History of Flash"
- ↑ "HTML 5 Draft Recommendation — 2 August 2008"
- ↑ "ADOBE FLASH CS3 PROFESSIONAL, CREATE AND DELIVER RICH, INTERACTIVE CONTENT"
- ↑ "Adobe Flash Player: Features"
- ↑ "Flash Player Penetration"
- ↑ "About Flash Remoting MX (2-CPU)"
- ↑ "AIR:Developer FAQ"
- ↑ Krill, Paul, 02.26.2008, "Adobe extending Flash platform"
- ↑ "Open Screen Project"
- ↑ "Adobe unveils Flash video control"