Home » NEWS» IT


A programmer named Chris Smoak, recently launched a Flash function using JavaScript/HTML5 implementation of open source projects, Smokescreen, Flash animations can be converted to pure HTML5 + JavaScript, so from the Flash plug-in directly in the browser to implement Flash-style animation. There are some very nice presentation.



On this technology, a programmer named Simon Willison, in his blog, do a good analysis:


SmokeScreen entirely in the browser to run, read the SWF binary file, unzip (decompress and use a local JavaScript!), And extract embedded images and audio, to convert them to Base64 encoded data, then, will be one of the vector SVG graphics into animation. Open in Chrome Web Inspector, to conduct them in the presentation, you will see the real-time SVG. SmokeScreen even design your own ActionScript interpreter.

Smoak said he would soon open SmokeScreen-based open-source protocol source code, at present, he has made several very nice demo, although still not perfect, but it has been able to see the Flash-based HTML5-style animation is what . The code does not support Flash video, however, HTML5 already have their own video programs. Smoak said that his mind is in a class of iPhone and iPad device, on the Flash animation style of advertising, the technology most likely used in advertising.

After optimization, the technology can also be used for games, Willison said, infographics news site is a good use, also can be used to render cartoon style animation, such as presentation of Strongbad series.



But there are concerns, SmokeScreen can be well applied to those who speed and capacity are very limited power of mobile devices, and we look forward to after the open source code can be optimized. At present, only the latest browser that can use the technology, including Firefox 3.6, Chrome 5, Safari 4, and mobile Safari. Opera 10.5 Series is close to support, but not IE8, but Smoak said, IE9 promising.

This international sources: webmonkey.com Smokescreen Project Promises Flash Without the Plug-in (original author: Michael Calore)

Chinese compilation Source: Sharp Business Enterprise CMS Web Content Management System website

6

Total 1 1/1 Page