Flash video n' related stuff
What if you could create a dynamic Flash website without compiling, and without writing a lick of ActionScript?
And what if I told you that this site was fully standards-compliant, readable and indexable by search engines?
And what if this magic SWF-creator was completely open-source and available now?
Well, believe it my friends — Wrapper is here!
My friend and fellow FlashCodersNY member, Tyler Larson, has finally released his baby into the world, and has graciously decided to make it open-source. He presented to FCNY last night, explaining both the implementation and some of the inner workings, and showing some amazing examples.
An ActionScript 3 HTML/CSS rendering engine, Wrapper makes it simple to create attractive, functional, full-Flash websites using just standard HTML/CSS markup. Now, this may be hard to ‘wrap’ your head around at first, as it was for me, but once you see it in action, you begin to understand the power it gives you, and why Tyler’s been tirelessly working on it for lo these many months.
To see it in action, go to Tyler’s site: http://www.motionandcolor.com/
This site is constructed using Wrapper. Looks like a normal, slick site, right? Remarkably, the whole thing is a SWF, which was constructed using HTML/CSS (view the source).
Very basically, this is how it works: When this page is loaded into the browser, a javascript file, wrapper.js, is loaded. This file “eats” your HTML/CSS and renders all of your content into a SWF, which (using the standard SWFObject method) replaces the HTML and fills the browser window. All this happens instantaneously, as Wrapper is nicely optimized at a lean, mean 22k.
Some of the major benefits of Wrapper include:
So, if you’re interested in streamlining the development of Flash-based websites and want to produce Flash sites that are fully indexable and standards-compliant, check out Wrapper at Google Code:
http://code.google.com/p/htmlwrapper/
or at OSFlash
http://osflash.org/projects/wrapper
p.s. There’s even a simple WordPress Theme example. Amazing stuff, Tyler, you rock!


3 Responses for "“Wrapper is Open”"
[...] [Read the full post on my blog... Big thanks to Tyler Larson for the great presentation last night, and for sharing this project. I'm going to mess around with the WordPress theme and see if I can get something just slightly less psychedelic for my blog.
] [...]
This looks very clever, but wouldnt u just use the HTML control in Flex?
There are a few other things that are similar. In the AIR api you can use webkit to render html, but this is only in AIR. If you are making a website this doesn’t help you. If you are using Flex in a browser there is a component someone wrote to use iframes to load html on top of a flex app. This is a hack and doesn’t work in all browsers, it also only has the capabilities of the browser that you are on. Wrapper can be used anywhere and will render consistently in any browser. The main point of Wrapper is to bring all the great things about Flash and HTML into one package without needing to compile and not forming any new standards.
Leave a reply