Where does it still make sense to use Flash? [closed]
It seems that Javascript, CSS3, and HTML5 are handling more and more of what Flash used to do. Plus, mobile devices have been slow to support Flash. Where does开发者_开发知识库 it still make sense to use Flash in web design & development?
For instance, in the projects I work on, we're still using Flash for video playback in Internet Explorer but using HTML5 in other browsers. I'm guessing audio is similar. Flash still has some advantages for complex animation and games. Where else?
I'm an absolute fan of javascript and a real Flash lover - but this argument is really starting to grate me.
Please by no means assume I'm slating you - and it is a valid question, but they both excel in their extremes.
There is a now a cross over between the two platforms. With the new onslaught of groovy HTML5 trickery and Javascript speed going through the roof - you can now perform tasks in JS of which you would used to only do in Flash.
Stem the argument slightly to what Flash can do:
- Augmented reality with 3D scenes using camera and sound.
- file and data manipulation of which will far exceed javascript current role.
- cross platform support on multiple browsers and devices
- extended Rich media
- Standardized video support
- For clients, Flash replacements for custom fonts is a must as copyright licensing on their fonts prohibits CSS3 fonts. No mentioning the need to have 4/5 versions of the same fonts in different formats.
- deploy applications quickly via desktop and web using the same platform/language/code
No to mention the recent advancements:
- GPU acceleration to the like of installed apps capability
- native massive networking support
With javascript - difference in implementation across browsers can be a halting process.
If I were to display video on my website in flash, its one SWF. To ensure I have the same visibility with the relatively new HTML5/Javascript/CSS3 application - I would need to distribute my video in many formats with multiple levels of CSS capabilities with JS fallbacks.
By no means am I stating Flash is the first and foremost - but its still the go to technology for many tasks I need to do day-to-day.
Additionally we really only questioned the way the web was going since apple didn't implement Flash on their platform. Its a decision I happily live with and don't miss - but with the allowance to build an app using Flash and then to Deploy it as a native iOS app - this argument is now subjective to fan bases and those without the wish to support a new workflow.
This is a site I help build in flash/AS3:
http://www.adobemuseum.com/index.php
Building the exact thing in javascript to work in IE6 would have made me quit my job.
If you don't agree, I'd love to hear your opinion and I'm totally willing to argue my point further or listen to a reason as to why I am wrong.
- Where you can't make certain aspects of a website stay the same across platforms.
- Where you cannot do what you want with anything else.
Flash can...
- access the web cam
- access the microphone
- access sockets in all browsers
flash has...
- a gui for creating complex vector animations
- an elegant system for managing and nesting visual assets
- built in filters like blur and convolution that run in real-time
- real-time bitmap manipulation with BitmapData and PixelBender (much faster than canvas)
- software rendered 3d engines like PV3D or Away3D
- real-time audio manipulation for generating audio and processing existing audio files
- the ability to read and write binary data, enabling the reading and writing of any filetype (like pdf or doc)
There's more but those are the main ones I can think of off the top of my head. I've been using lots of HTML5 lately and I think it's really excellent, but when it comes time to make games or do something related to the above list, I still find myself using flash.
Recently while developing games in flash I've been thinking to myself how I would go about doing the same thing using canvas and/or javascript and HTML5. In some cases it's possible, but in most cases it would be a good deal more work and code.
these spring to mind:
- Augmented reality applications
- P2P and other video applications; videochat
- Rich media banners (there are good solutions to this in HTML5 though) and mostly interactive online advertising
- Applications for Flash-Lite and Flash Player 10 enabled mobile devices (Set top boxes, XBox etc)
Rob
If you are making a website for an upscale restaurant, you must use flash.
Bonus points if it has a sweet looking loading screen that plays ambient music.
here is an example of a good flash UI:
http://www.rinconlimenorestaurant.com
精彩评论