Apollo : It's Real First Class Feature
It seems like people are starting to get what Apollo is all about, but I'll bet the majority of people are still missing the most important thing/feature of all. I missed it totally until it was fully explained to me.
Before I tell you what it is, I want to say that I missed it because I am a person that has been working in Flash for a very long time, and have done alot of Flash Desktop applications (mostly in SWFStudio(which rocks BTW)). I was under the assumption that certain things were not possible based on the way things have been done in the past, but ladies and gentlemen:
The impossible is now possible!
"Ok, Tone, cut the BS, what is this first class feature you are talking about?"
Here we go,
Apollo renders HTML/JS and PDF in Flash Player Displaylists!!!!!
***Edit, thanks to Marco Casario***
-->See for yourself
Here is what it looks like in AS3:
private var html:HTMLControl = new flash.html.HTMLControl();
html.width = 100;
html.height = 100;
html.loadFromURLRequest(new flash.net.URLRequest("http://casario.blogs.com");
//perhaps the next line would be(not sure though):
addChild(html);
***end edit***
Some at MAX already know this, and some may have deduced this from the FAQ's for Apollo, but I am willing to bet that not many people out there know this.
What does this mean?
It means I can load an HTML document with CSS, JS, etc functioning and
1/ control it with AS.
2/ I can mask it.
3/ I can apply filters and blend modes
and anything else you can do to a Display Object!
The HTML support is not being done by overlaying browser controls, it is actually being rendered by WebKit and then viualized in the Flash Display list.
To prove this is possible, download Adobe Digital Editions
When you run it and open a PDF, you will see that the PDF is tweened, alpha'd, etc..... When you think about it, Digital Editions looks more to me like a proof of concept app for PDF Display List rendering than it does an actual production release app.
So when I finally realized this power, I started to have other thoughts, like:
1/ What if it could render Windows Media Player on the displaylist?!
2/ What about Quicktime!!!!?
Oh my god Trabeck, this is one of the biggest things ever to happen to Flash, and that my friends is why Apollo is such a big deal!