<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Flash Blog</title>
	<atom:link href="http://theflashblog.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://theflashblog.com</link>
	<description>Flash blog with tutorials and more.</description>
	<lastBuildDate>Fri, 05 Feb 2010 03:59:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web development will become much more complicated</title>
		<link>http://theflashblog.com/?p=1743</link>
		<comments>http://theflashblog.com/?p=1743#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:05:20 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1743</guid>
		<description><![CDATA[Now many of you are expecting this post to be about the lack of Flash on the iPad or about the future of HTML 5. While those issues are important, there are actually much larger issues facing the web development community. These issues are not necessarily negative, but they will change the way we all [...]]]></description>
			<content:encoded><![CDATA[<p>Now many of you are expecting this post to be about the lack of Flash on the iPad or about the future of HTML 5. While those issues are important, there are actually much larger issues facing the web development community. These issues are not necessarily negative, but they will change the way we all work.</p>
<p>My first <em>real</em> job in this industry was doing DHTML at AOL/Netscape. Now this was during the peak of browser-compatibility headaches. There was IE 5, Netscape 4.7 along with the new Netscape 6 (yes they skipped version 5 to catch up with IE) and Mozilla browsers. Adding to the madness was the AOL client application, which contained a modified version of IE 4. I credit this job for getting me interested in Flash. I was fed up of dealing with browsers and just wanted to create a single experience that would work everywhere. Well those days are quickly coming to an end, regardless of whether you use Flash or do HTML development. Below are some of reasons why things are shifting.</p>
<p><strong>Mobile Flash is different than desktop Flash</strong><br />
You often hear people talking about the idea of developing once and deploying to every device. That sounds nice but it isn&#8217;t realistic. The real story is that you can create 80% of your application once, and then spend the remaining 20% of your time creating UIs that work well on the various devices. For instance, mobile devices obviously do not have as much horsepower as your quad-core tower. So once you get Flash Player 10.1 on your phone, don&#8217;t go to the FWA and expect those sites to run like they do on your desktop. Because of that you will need to do a lot of optimizations that you wouldn&#8217;t ordinarily worry about with desktop Flash. The UI of your application will also have to be optimized for smaller screens and will have to be touch-friendly, meaning not relying on things like roll over. Luckily Flash now has full support for multi-touch and gestures so you will be able to create some really innovative experiences. Adobe will also be disseminating some great resources about how you can best optimize content for mobile devices.</p>
<p><strong>The app revolution</strong><br />
I always talk about how revolutionary I think the iPhone has been, but not necessarily because of the technology. After all, multi-touch has been around for a long time. But the concept of having apps for everything you do versus doing them in the browser is something that has caused a real shift in the way we interact with the web. Personally I love this approach for the iPhone, but I&#8217;m much less excited about that approach for the iPad. I buy apps for my iPhone like it&#8217;s a bodily function. I have never been convinced that having Flash on the iPhone would really cut into the app store business, although I think Apple strongly believes this. Browsing websites on a phone is never really a great experience unless sites have created mobile-optimized versions. But even then, they are usually a lackluster version of the full site with a subset of the content available. Android is also a very app-centric environment. So what does this mean for web developers? It means that in addition to your full website, you may be asked to create an iPhone application, an Android application, and a version for mobile browsers. This will be made slightly easier as tools like Flash CS5 will have the ability to export a single application for multiple devices.</p>
<p><strong>Cutting edge browser plug-ins are here to stay</strong><br />
Over the past week I&#8217;m sure you&#8217;ve heard a lot of ridiculous statements about Flash being dead or that it will be replaced with HTML 5. That is pure nonsense to put it mildly. If those people actually read some of my earlier posts they would understand that I believe HTML 5 will eventually be able to fulfill certain roles on the web that Flash has traditionally been used for. But during the time it takes for that happen, Flash will continue innovating and pushing the envelope of what is possible on the web. Flash has always been the environment of choice for developers who want to create the experiences that will become the standards of the future. Open web standards are a great thing but they move at a very slow pace. The advantage of plug-ins is that they can rapidly add new features and innovate without the need for waiting for the browser manufacturers to get their act together. This is not just true for Flash, but also for other plug-ins like Unity3D and Silverlight. So there will always be a huge demand from companies for cutting-edge content as they attempt to differentiate themselves from their competitors. Just look at all the companies creating augmented reality applications now. This will create the need for some developers to create a cutting-edge experience site using Flash, a standards-based website using HTML 5 for devices like the iPad (assuming Apple doesn&#8217;t come to their senses), and standalone applications for devices like the iPhone and Android.</p>
<p><strong>The explosion of web-connected devices</strong><br />
For me, the iPhone has literally transformed the way that I interact with the online world. I pay my bills, moderate my blog comments, track my workouts, and interact with social media from my phone now, rather than my laptop. Now of course I still need my laptop as well for countless things that aren&#8217;t appropriate for a mobile device. But in addition to that there will be a whole slew of other devices that will be coming like tablets, internet-connected TVs, set-top boxes, and gaming consoles. All of these devices will consume web content and may require using a host of different programming languages and graphics technologies.</p>
<p>If I had to give advice to young people who are thinking about getting into this field, I would warn them upfront that they will need to spend countless hours keeping up with all of the new technologies that will sprout up, seemingly overnight. To put it mildly, this is not a field for lazy people. The positive side of all of these changes is that none of us should have a problem finding jobs in the future, regardless of what technology you specialize in. Unless of course you do stupid things like posting screenshots of porn on your blog <img src='http://theflashblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . As the internet permeates itself onto every surface imaginable, there will be an increasing need for developers who understand this certifiably insane industry in which we all work. So no matter what role you play in building the internet, things are about to get more and more challenging.</p>
<p>Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1743</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>New video of iPhone apps built with Flash CS5</title>
		<link>http://theflashblog.com/?p=1737</link>
		<comments>http://theflashblog.com/?p=1737#comments</comments>
		<pubDate>Tue, 02 Feb 2010 03:58:39 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[Flash CS5]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1737</guid>
		<description><![CDATA[Now that the Flash/iPad issue has been done to death on this blog, I can now get back to simply talking about Flash. Adrian Ludwig recently released a video showing some of the newer applications that have been created for the iPhone using Flash CS5. The performance is getting better and better. On this one, [...]]]></description>
			<content:encoded><![CDATA[<p>Now that the Flash/iPad issue has been done to death on this blog, I can now get back to simply talking about Flash. Adrian Ludwig recently <a href="http://tv.adobe.com/watch/flash-platform-in-action/iphone-apps-built-with-flash/">released a video</a> showing some of the newer applications that have been created for the iPhone using Flash CS5. The performance is getting better and better. On this one, Adobe, Apple, and developers all benefit. </p>
<p><object width="640" height="386"><param name="movie" value="http://tv.adobe.com/assets//swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=5039&#038;context=76&#038;embeded=true&#038;environment=production"></param><embed src="http://tv.adobe.com/assets//swf/player.swf" flashvars="fileID=5039&#038;context=76&#038;embeded=true&#038;environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="386"></embed></object></p>
<p>Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1737</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Buy some cool Flash stuff and help out Haiti</title>
		<link>http://theflashblog.com/?p=1723</link>
		<comments>http://theflashblog.com/?p=1723#comments</comments>
		<pubDate>Mon, 01 Feb 2010 01:30:08 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1723</guid>
		<description><![CDATA[Chuck Freedman has created a great auction on eBay where all of the proceeds go to charities that are helping people in Haiti. There are many cool Flash collectibles up there for you to grab and I have also donated a bunch of items for the cause. The items below won&#8217;t show up until Chuck [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chuckstar.com/blog/">Chuck Freedman</a> has created a <a href="http://www.flashcommunitycares.com">great auction on eBay</a> where all of the proceeds go to charities that are helping people in Haiti. There are many cool Flash collectibles up there for you to grab and I have also donated a bunch of items for the cause. The items below won&#8217;t show up until Chuck updates the auction page but you can at least see what I donated.</p>
<p><strong>Official Flash on the Beach Speaker Bag</strong><br />
This is an unused Timbuk2 messenger bag (sorry John). It even still has the tag on it. </p>
<p><img style="border:1px solid black;" src="images/item1.jpg" /></p>
<p><strong>Big Pile of Foreign Money</strong><br />
Collected over the last two years of evangelism travel. Includes money from Australia, Singapore, Mexico, Costa Rica, and more. Even includes some cool coins with holes in them. No idea of the total value and I&#8217;m too lazy to try to figure it out.</p>
<p><img style="border:1px solid black;" src="images/item2.jpg" /></p>
<p><strong>Raw DV Tapes from the OnAIR Tours</strong><br />
These tapes are filled with footage from the US and European OnAIR tours. Who knows what kind of material might be on these tapes. </p>
<p><img style="border:1px solid black;" src="images/item3.jpg" /></p>
<p><strong>Essa Porra! T-Shirt</strong><br />
It&#8217;s the phrase that is sweeping across Brasil. One of only two made by me on SpreadShirt. XL American Apparel shirt.</p>
<p><img style="border:1px solid black;" src="images/item4.jpg" /></p>
<p><strong>Two Official Dead Drop Coins</strong><br />
Too lazy to compete in an actual dead drop? Then this is the item for you. You get two coins. One to play with and the other to store for safe keeping.</p>
<p><img style="border:1px solid black;" src="images/item5.jpg" /></p>
<p><strong>My Old iPhone 3G</strong><br />
Used extensively during my first year on the evangelism job. I now use a 3GS.  I have used this one to view countless blue legos. Jail break this puppy and have fun!</p>
<p><img style="border:1px solid black;" src="images/item6.jpg" /></p>
<p><strong>Flash Speaker Badge Collection</strong><br />
A huge stack of official speaker badges from conferences like Flash on the Beach, FITC, MAX, FlashPitt, and many more. All have cool lanyards including the one from MAX with the built-in USB key.</p>
<p><img style="border:1px solid black;" src="images/item7.jpg" /></p>
<p><strong>Big Ass Sticker Pack (BASP)</strong><br />
Large collection of stickers (more than is shown here). Includes the original stickers from the OnAIR tour, Lynda.com, Flickr, Yahoo, Wordpress, and other must haves.</p>
<p><img style="border:1px solid black;" src="images/item8.jpg" /></p>
<p><a href="http://shop.ebay.com/chuckstar22/m.html?LH_Auction=1&#038;_ipg=25&#038;_trksid=p3911.c0.m301">Give generously</a> so we can do our part for Haiti,<br />
Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1723</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>We have our answer about the iPad</title>
		<link>http://theflashblog.com/?p=1719</link>
		<comments>http://theflashblog.com/?p=1719#comments</comments>
		<pubDate>Sun, 31 Jan 2010 09:58:11 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1719</guid>
		<description><![CDATA[As I&#8217;m sure you have already heard, Steve Jobs confirmed that Flash will not be coming to the iPad. He called out both Google and Adobe. He said that we are lazy and basically said that Flash will never come to Apple devices. Personally I find this really sad, as I really enjoy using Apple [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m sure you have already heard, Steve Jobs confirmed that Flash will not be coming to the iPad. <a href="http://www.wired.com/epicenter/2010/01/googles-dont-be-evil-mantra-is-bullshit-adobe-is-lazy-apples-steve-jobs/">He called out both Google and Adobe</a>. He said that we are lazy and basically said that Flash will never come to Apple devices. Personally I find this really sad, as I really enjoy using Apple products and I think Flash Player 10.1 would have been awesome on the iPad. Why not give people the option to have it is the question that I keep asking.</p>
<p>Even though I obviously disagree about Flash, I have to say that I actually admire Steve Jobs. He sticks to his guns and doesn&#8217;t waver. I respect that in a person, and that&#8217;s no joke.</p>
<p>At least now I can get back to some real work. Flash on!<br />
Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1719</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some questions about HTML 5 video</title>
		<link>http://theflashblog.com/?p=1710</link>
		<comments>http://theflashblog.com/?p=1710#comments</comments>
		<pubDate>Sat, 30 Jan 2010 17:34:55 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1710</guid>
		<description><![CDATA[Now before I even start this post let me make something clear. I am trying to do some research on HTML 5 video and have some questions that I&#8217;m hoping someone can help me with. I&#8217;m planning on doing some demos as I am genuinely interested in trying to build some players. Any comments that [...]]]></description>
			<content:encoded><![CDATA[<p>Now before I even start this post let me make something clear. I am trying to do some research on HTML 5 video and have some questions that I&#8217;m hoping someone can help me with. I&#8217;m planning on doing some demos as I am genuinely interested in trying to build some players. Any comments that try to rekindle the flame war from the last post will be deleted. Let&#8217;s keep this one about the technology, not whether HTML 5 video is better than Flash, etc. OK so here are my questions. Any help would be much appreciated.</p>
<ol>
<li>Is there a definitive reference for both the video tag and the JS API used to communicate with it?</li>
<li>My assumption is that each browser provides a default set of controls. Can these be modified or do you need to start from scratch?</li>
<li>How do you do true streaming with the video tag (i.e. not progressive download)?</li>
<li>Is it possible to provide some form of DRM protection for video in HTML 5?</li>
<li>Is there a tool that is optimal for encoding Ogg videos for Firefox?</li>
<li>I remember reading that you can seek to any part of a video even if it hasn&#8217;t been downloaded yet. Is that true and if so, how is that achieved?</li>
<li>Is there no hope for IE ever supporting the video tag?</li>
</ol>
<p>Thanks in advance for the respectful commenting <img src='http://theflashblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1710</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>The iPad provides the ultimate browsing experience?</title>
		<link>http://theflashblog.com/?p=1703</link>
		<comments>http://theflashblog.com/?p=1703#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:23:35 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1703</guid>
		<description><![CDATA[Update: I feel I need to set something straight to stop the rampant misrepresentation of this post. Firstly, this is not the official Flash blog of Adobe. I am one of hundreds of employees that blog. Secondly, regarding the screenshot of the adult website, that was added by me in an attempt to be humorous. [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update:</strong> I feel I need to set something straight to stop the rampant misrepresentation of this post. Firstly, this is not the <strong>official</strong> Flash blog of Adobe. I am one of hundreds of employees that blog. Secondly, regarding the screenshot of the adult website, that was added by me in an attempt to be humorous. Not surprisingly Adobe did not find this humorous at all and that is why I removed it. So there is no official Adobe movement to &#8220;play the porn card&#8221; like some <a href="http://www.wired.com/gadgetlab/2010/01/adobe-porn-flash/">&#8220;news&#8221; outlets</a> are reporting. It is only an individual employee who overlooked the fact that some people are offended by the idea of adult content on the web. As for the main idea of this post, Adobe believes that something that ignores a huge part of the web cannot be the ultimate browsing experience. Personally I love Apple products, especially my iPhone, and that is why I&#8217;m so passionate about all this.</em></p>
<div align=center><img src="images/ipud.jpg" width=680 height=1497 /></div>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1703</wfw:commentRss>
		<slash:comments>543</slash:comments>
		</item>
		<item>
		<title>HTML 5 and Flash video</title>
		<link>http://theflashblog.com/?p=1698</link>
		<comments>http://theflashblog.com/?p=1698#comments</comments>
		<pubDate>Wed, 27 Jan 2010 00:00:53 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1698</guid>
		<description><![CDATA[Update: I mistakenly said that Firefox does not support HTML 5. They do through the Ogg codec.
There seems to be a lot of talk going on lately about this so I wanted to give my thoughts. This topic is actually quite a confusing one to think about. Let me first address the iPhone side of [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update:</strong> I mistakenly said that Firefox does not support HTML 5. They do through the Ogg codec.</em></p>
<p>There seems to be a lot of talk going on lately about this so I wanted to give my thoughts. This topic is actually quite a confusing one to think about. Let me first address the iPhone side of this so we can get to the real meat of the issue.</p>
<p>The iPhone does not support Flash video, or any other type of Flash for that matter, so you obviously need an alternative. In my last post I showed one approach for providing alternative videos for iPhone users. But this really doesn&#8217;t relate to HTML 5 at all. The iPhone plays video in its standalone player so you will not be able to view video embedded in the page. So for the iPhone, unless something changes, you need to provide an iPhone-compatible video file for your users to watch.</p>
<p>Now with the iPhone out of the way, we can now look at the real issue. YouTube released an <a href="http://www.youtube.com/html5">HTML 5 demo</a> of its player quite a while ago and are now testing this on their site. Vimeo, which is a lesser known video site, also launched a <a href="http://vimeo.com/blog:268">beta HTML 5 player</a> as well. This should not come as a surprise to anyone as it is in their best interest to get ahead of the curve with HTML 5. If you are in a supported browser, HTML 5 video playback can be very smooth and less CPU-intensive than Flash. For basic video playback, I see HTML 5 as a great option down the road. Of course, the issue for me always comes down to browser compatibility. </p>
<p>The video tag works in Safari and Google Chrome. You can get it to work in IE if users install Chrome Frame. This is fine for developers, but the masses more than likely won&#8217;t be willing to do that just yet. So in reality, <del datetime="2010-02-01T01:25:39+00:00">Firefox</del> and IE both do not support HTML 5 video. Firefox seems to be doing its own thing, requiring you to use the Ogg video format, while Safari and Chrome support H.264. Go over an read this <a href="http://diveintohtml5.org/video.html">great write-up</a> on HTML 5 video to see the splintering of the various video formats and browser support. If you want to deliver video to every browser without having to encode multiple video formats and creating alternative markup, then Flash is the way to go. </p>
<p>Now this is not to say that in the future, maybe they will all agree on an implementation. If that happens and it performs better than Flash, then that is how I will be delivering my videos as well. But another thing to point out is that Flash video is used for a lot of things beyond basic playback. Flash supports embedded cue points and alpha channels and is often used in ways beyond the traditional YouTube playback scenario. So while HTML 5 video looks promising, it is clearly way too early for people to be writing an eulogy for Flash video. Remember also that while the browsers get their acts together, Flash video will continue to evolve as well.</p>
<p>Lastly, I would like to dispel the notion that Adobe is somehow against HTML 5. On the contrary, we see it as an exciting development for the web and have our own plans for tooling surrounding it as well. I have always preached to people that they should only use Flash for things that are appropriate. Sites that overuse Flash and provide poor experiences are worse for us than sites that don&#8217;t use it at all. Of course there are plenty of JavaScript nightmare sites out there as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1698</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Providing alternative videos for iPhone</title>
		<link>http://theflashblog.com/?p=1686</link>
		<comments>http://theflashblog.com/?p=1686#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:42:59 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[Video]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1686</guid>
		<description><![CDATA[Let me state up front that this post is not meant to try to start a debate of the topic of Flash video, HTML 5, and the iPhone. I will post my thoughts on HTML 5 video in another post. The objective of this post is simply to show how easily you can provide an [...]]]></description>
			<content:encoded><![CDATA[<p>Let me state up front that this post is not meant to try to start a debate of the topic of Flash video, HTML 5, and the iPhone. I will post my thoughts on HTML 5 video in another post. The objective of this post is simply to show how easily you can provide an iPhone alternative to your Flash video content.</p>
<p>After getting back from Brasil, I started a new personal blog called <a href="http://www.essaporra.com">Essa Porra</a>. In one of the posts I <a href="http://essaporra.com/2010/01/jiu-jitsu-at-flash-camp-brasil/">showed a video</a> of some of the beach jiu-jitsu that broke out down there. I used <a href="http://www.vimeo.com">Vimeo</a> to host the video. Now they recently announced a beta HTML 5 player but it doesn&#8217;t work for embedded videos so I decided to provide my own iPhone alternative. The actual steps are quite simple.</p>
<p>First you will most likely need to encode a version that will play nice on the iPhone. I used <a href="http://handbrake.fr/">Handbrake</a> to create it by choosing the iPhone/iPod preset. Now you also have to check off the <em>Web optimized</em> option if you want it to progressively stream. The next step is to get a photo from the video to show if the user is coming from the iPhone. It should have some type of icon showing that it is playable. I chose a simple white triangle. You can see the final result on the iPhone below.</p>
<div align=center style="margin-bottom:25px;"><img style="border:1px solid black;" src="images/jjiphone.jpg" /></div>
<p>Now you need to provide a little bit of JavaScript logic to check for the iPhone browser and change the content of the page. I took the Vimeo embed code and wrapped it in a div with an id of <em>jj</em>. In the JS code I remove the embed code if the user is coming from an iPhone and replace it with the image. The image is hyperlinked directly to the video file I encoded using Handbrake. This will make the video play in the standalone video player on the iPhone.</p>
<div class="codecolorer-container javascript vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;!--</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/iPhone/i</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <br />
&nbsp; &nbsp;<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/iPod/i</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp;document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;jj&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>VIDEO_URL<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/images/jj.jpg<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #339933;">--&gt;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<div style="margin:15px 0 20px 0;padding-top:10px;">That&#8217;s all there is to it. Kind of a pain but it is nice to provide this experience if you think a lot of your visitors will be coming from the iPhone. <a href="http://essaporra.com/2010/01/jiu-jitsu-at-flash-camp-brasil/">Check out the post</a> from an iPhone to see it in action.</div>
<p>Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1686</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Submit your questions for Just Ask Us 3</title>
		<link>http://theflashblog.com/?p=1683</link>
		<comments>http://theflashblog.com/?p=1683#comments</comments>
		<pubDate>Thu, 21 Jan 2010 07:17:34 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1683</guid>
		<description><![CDATA[
It&#8217;s that time again. Leave your questions for Adobe in the comments in this post and I will make sure that they get answered. Starting with the last episode, these will now be answered live on UStream so stay tuned for the date and time. No question is out of line or off limits. 
Lee [...]]]></description>
			<content:encoded><![CDATA[<p><img src="images/justAskUs.gif" /></p>
<p>It&#8217;s that time again. Leave your questions for Adobe in the comments in this post and I will make sure that they get answered. Starting with the <a href="http://theflashblog.com/?p=1571">last episode</a>, these will now be answered <a href="http://theflashblog.com/?p=1571">live on UStream</a> so stay tuned for the date and time. No question is out of line or off limits. </p>
<p>Lee </p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1683</wfw:commentRss>
		<slash:comments>152</slash:comments>
		</item>
		<item>
		<title>Flash Player 10.1 multi-touch FAQ</title>
		<link>http://theflashblog.com/?p=1678</link>
		<comments>http://theflashblog.com/?p=1678#comments</comments>
		<pubDate>Thu, 14 Jan 2010 00:59:51 +0000</pubDate>
		<dc:creator>lee</dc:creator>
				<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Multi-Touch]]></category>

		<guid isPermaLink="false">http://theflashblog.com/?p=1678</guid>
		<description><![CDATA[As you can tell I have been having tons of fun lately playing with the new multi-touch and gesture APIs in Flash Player 10.1 and AIR 2.0. Based on my videos and examples there have been a ton of questions that have come up, many of which I didn&#8217;t know the answers to. There are [...]]]></description>
			<content:encoded><![CDATA[<p>As you can tell I have been having tons of fun lately playing with the new multi-touch and gesture APIs in Flash Player 10.1 and AIR 2.0. Based on my videos and examples there have been a ton of questions that have come up, many of which I didn&#8217;t know the answers to. There are still many things to test and I will pick <a href="http://www.danieldura.com">Danny Dura&#8217;s</a> brain while we are sunning ourselves this week in Brasil. Danny has done a lot of work with these APIs and will be doing a session on them at <a href="http://www.flashcampbrasil.com.br">Flash Camp Brasil</a>. Below are some answers to the most asked questions that have come up.</p>
<p><strong>How many touch points can the Flash Player respond to?</strong><br />
There is no limit to the number of touch points you can have. You are only limited by the number of touch points the device you are using has. The HP TouchSmart has a maximum of two touch points and the iPhone has five. All depends on the device you are touching.</p>
<p><strong>The gestures are nice but what about the raw touch data?</strong><br />
The examples I showed used the built-in gestures that we provide. These will be good for most applications. But there is also a raw multi-touch API as well that lets you track the raw point data.</p>
<p><strong>Can I create my own custom gestures?</strong><br />
Absolutely you can. You would listen for the raw touch events rather than the high level gestures. You can track this raw data until you determine the custom gesture has happened and then fire your own event.</p>
<p><strong>Does every device support all of the gestures in Flash Player 10.1?</strong><br />
Nope. Again you are at the mercy of whatever device you are using. We do have an API that allows you to find out which are supported on the device at runtime so you can do something else. <a href="http://blogs.adobe.com/cantrell/">Christian Cantrell</a> has a <a href="http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html">great article</a> on the developer center that lists which devices support what. This article also has some nice code snippets too.</p>
<p><strong>Does the multi-touch stuff work in the browser too?</strong><br />
All of the multi-touch and gesture APIs work in the browser on Windows but do not work in the browser on the Mac. I don&#8217;t have any idea about Linux but I will try to find that out.</p>
<p><strong>Why don&#8217;t they work in the browser on the Mac?</strong><br />
I anticipated this one of course. Jakub Plichta, who is the Flash Player engineer responsible for multi-touch, sent me the following detailed information about what we need from Apple to make it happen. <em>Both Firefox and Safari use the same API to interface with the plugin. What we need is for Apple to add gesture and raw touch data to the NPCocoaEvent class defined in npapi.h in the webkit framework.</em> There is nothing we can do until this happens. Big thanks to Jakub for giving us the nitty gritty details.</p>
<p><strong>Wait but WebKit is open source. Can&#8217;t you do this yourself?</strong><br />
You really won&#8217;t leave this alone will you? WebKit is open source but the plugin interfaces for Safari and Firefox are written by Apple.</p>
<p><strong>Will multi-touch work in the HTML component in an Adobe AIR 2.0 application?</strong><br />
In this case we have control over the WebKit implementation but because of time constraints we won&#8217;t be able to include that in the initial launch of AIR 2.0. But since it works perfectly with Flash-based AIR content I don&#8217;t think it will cause too many issues.</p>
<p><strong>Do these APIs work on the iPhone when publishing from Flash CS5?</strong><br />
I&#8217;m assuming you saw my last post with the video but just in case, I thought I would put the question here. Yes they work on the iPhone too.</p>
<p><strong>I have Windows 7 but no touch monitor. Can I use a Wacom Bamboo to do the multi-touch stuff?</strong><br />
Unfortunately not. Wacom has there own driver which doesn&#8217;t generate true native gestures. If you bought one I hope you saved your receipt <img src='http://theflashblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The general rule is: if the device generates raw, native multi-touch events then they will work in Flash.</p>
<p>Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://theflashblog.com/?feed=rss2&amp;p=1678</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
