<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Shaykh Al-Flash Amir Memon on the Flash Platform</title>
      <link>http://blogs.adobe.com/shaykhalflash/</link>
      <description>This blog is primarily a collection of how-to&apos;s for complicated and often non-orthodox uses of the flash platform, with an emphasis on communication with various server-side technologies. The primary focus will be on Flash content created with the traditional Flash authoring tool and Flex Builder.</description>
      <language>en</language>
      <copyright>Copyright 2009</copyright>
      <lastBuildDate>Thu, 19 Feb 2009 09:42:36 -0800</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.38</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>AMP: Adobe&apos;s Desktop FLV player</title>
         <description><![CDATA[<p>If you google "FLV Player" you get several different FLV players that the community has made. A friend of mine recently asked me if there are any that I have had a good experience with, and I was surprised that he was even asking me this given that there is the Adobe Media Player (AMP). </p>

<p><strong>But yeah, I just wanted to point out to people out there that AMP (Adobe Media Player) can play FLVs!!! </strong></p>

<p>I've tried it on only Windows so far, but I'd think it can play FLVs on all three major platforms (win/mac/lnx) since there is an AMP available on each. </p>

<p>1. Install Adobe Media Player from here: <a href="http://get.adobe.com/amp/ ">http://get.adobe.com/amp/ </a>(click at the bottom of that flash box)</p>

<p><strong>2. On Windows, right-click an FLV file, hover over "Open With.." then select Adobe Media Player. </strong></p>

<p>3. And bada bing, you've got your FLV playing. </p>

<p>I can't remember, but there was a specific reason (having to do with CS4 compatibility or something) that they didn't register .FLV's default player to be AMP, but I'd imagine you can do that manually if you don't want to do the right-click->open with... thing. </p>

<p><br />
Developers: If you don't like the idea that you have to install AMP (which serves many purposes other than just playing FLVs), you can probably make your own lean FLV player using AIR. If you do, it'd be super cool if you open sourced it, and shared bins. Just a thought. </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2009/02/amp_adobes_desktop_flv_player.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2009/02/amp_adobes_desktop_flv_player.html</guid>
         <category>General</category>
         <pubDate>Thu, 19 Feb 2009 09:42:36 -0800</pubDate>
      </item>
            <item>
         <title>Keyboard usage while in full screen mode with Flash</title>
         <description><![CDATA[<p><a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre">http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre See "Limited Fullscreen Keyboard Access"</a> </p>

<p>I've been wanting this feature in for the longest time... and now it's in the flash player (currently in beta). </p>

<p>Basically now you can create Flash games that go in full screen mode and be able to use certain keys that are often used by games. We had initially prevented keyboard access altogether for security reasons... like phishing... but i guess you can't really phish too much out of arrow keys, space bar, enter, etc.... but you can make some great games this way. </p>

<p>Hope you guys like this new feature :-) <br />
</p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2008/07/keyboard_usage_while_in_full_s.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2008/07/keyboard_usage_while_in_full_s.html</guid>
         <category></category>
         <pubDate>Wed, 02 Jul 2008 16:03:42 -0800</pubDate>
      </item>
            <item>
         <title>Tech&apos;s all-time top 25 flops, by InfoWorld</title>
         <description><![CDATA[<p><a href="http://www.infoworld.com/archives/emailPrint.jsp?R=printThis&A=/article/08/01/21/03FE-25-tech-failures_1.html">http://www.infoworld.com/archives/emailPrint.jsp?R=printThis&A=/article/08/01/21/03FE-25-tech-failures_1.html</a> </p>

<p>Interesting list. Ipod imitators, vista, 64-bit PCs, Netscape 6, and DRM are all on there. </p>

<p>I don't agree with all of it though, for example, the concept of a paperless environment. At Adobe (and at old school macromedia for that matter), we REALLY do have a paperless environment. I mean of course we have a standard laser printer / fax machine like any other office environ, but the vast majority of our communication is paperless. We use wikis heavily and (of course) pdfs. In college i remember reading about "The Paper Paradox" which basically said that computers and networking are supposed to reduce paper, but because of the ease of printing, paper consumption has actually increased. To that I say that it takes not just the technology needed to go paperless, but also a generation that grew up paperlessly. If students were to turn in their essays via PDF and/or Word docs, they'll grow up doing the same. And besides, look at what craigslist has done to the newspaper industry. But yeah, it's still debatable. </p>

<p>Also, I use vista at work, and it works fairly well if you disable UAC. My computer is freakin' fast though (at the time of this writing). Vista does make HW installation smoother (even though the article says the opposite), and trouble shooting works pretty well too. I used to use google desktop, now i use vista's native searching, which i like a little better since its native. The task bar is a little less buggy. I don't like the new start menu (even though a good friend of mine worked on the usability research for it)... too much clicking. But yeah, i could have lived with XP. I can't wait until like Ubuntu or some other Linux becomes a lot more user friendly (and <a href="http://labs.adobe.com/technologies/air/">Adobe AIR</a> could be the answer to this when we release a Linux version by the way). </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2008/01/techs_alltime_top_25_flops_by.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2008/01/techs_alltime_top_25_flops_by.html</guid>
         <category></category>
         <pubDate>Tue, 22 Jan 2008 09:57:37 -0800</pubDate>
      </item>
            <item>
         <title>Earthmine, the next generation map built on Papervision 3D and Flash</title>
         <description><![CDATA[<p>This is some crazy awesome stuff, it's a Google Street View on steroids. They turn the world into a virtual reality 3D game, and make it possible to collect all kinds of data in the map... this is truely next-gen stuff. And guess what, it's made in flash and Papervision 3D. Papervision 3D is a set of 3D libraries for flash written in AS3. </p>

<p>Check out the video: </p>

<p><embed src="http://services.brightcove.com/services/viewer/federated_f8/980795693" bgcolor="#FFFFFF" flashVars="videoId=1205096365&playerId=980795693&viewerSecureGatewayURL=https://services.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove.com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=false&" base="http://admin.brightcove.com" name="flashObj" width="486" height="412" seamlesstabbing="false" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/10/earthmine_the_next_generation.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/10/earthmine_the_next_generation.html</guid>
         <category></category>
         <pubDate>Mon, 01 Oct 2007 09:17:50 -0800</pubDate>
      </item>
            <item>
         <title>Line Rider : share your track with your friends</title>
         <description><![CDATA[<p><a href="http://www.linerider.com">http://www.linerider.com</a></p>

<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/9p4C7RzSU5U"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/9p4C7RzSU5U" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>

<p>Ever make a really awesome Line Rider track, and wanted to share it with your friend so that they could not only view it, but can also work on it themselves? </p>

<p>well you can, it's really easy, and here's how... </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/09/linerider_share_your_map_with.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/09/linerider_share_your_map_with.html</guid>
         <category></category>
         <pubDate>Thu, 06 Sep 2007 10:04:17 -0800</pubDate>
      </item>
            <item>
         <title>Image Resizing by Seam Carving</title>
         <description><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/6NcIJXTlugc"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/6NcIJXTlugc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>

<p>that's some crazy stuff. And we hired one of the researchers, Shai Avidan,  to be part of our special research group: </p>

<p><a href="http://news.com.com/8301-13580_3-9768707-39.html">http://news.com.com/8301-13580_3-9768707-39.html </a></p>

<p>And I guess somebody implemented the algorithm in flash as well: <br />
<a href="http://www.quasimondo.com/archives/000651.php">http://www.quasimondo.com/archives/000651.php</a> </p>

<p>good stuff. </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/09/image_resizing_by_seam_carving.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/09/image_resizing_by_seam_carving.html</guid>
         <category></category>
         <pubDate>Tue, 04 Sep 2007 12:23:26 -0800</pubDate>
      </item>
            <item>
         <title>Adding an Intermediate Cert to FMS</title>
         <description><![CDATA[<p>Ever try adding an Intermediate CA Cert to FMS ( Flash Media Server )?</p>

<p>well i did, and it was a real pain to figure this out, but in reality is pretty easy. Here's how (starting from the beginning): </p>

<p>1. you generate a private key, lets call it privkey.pem ... you'll probably do this with OpenSSL like i did</p>

<p>2. from that with OpenSSL you generate a request, CSR or whatever</p>

<p>3. submit that to "the authorities" whoever that may be in your case, if intranet, maybe your "IS" or "IT" dept... if public, then maybe somebody like godaddy.com</p>

<p>4. they give you "the cert"</p>

<p>5. now you're like, "yipeee!!! i got a cert, but what do i do with it? how do i install it?"</p>

<p>6. go here: (your FMS installation directory)\conf\_defaultRoot_\Adaptor.xml </p>

<p>7. Scroll down or Ctrl+F "SSL" and you should see a SSLCertificateFile tag, this is where you specify the full path of the cert file like this: </p>

<p><textarea cols="65"><SSLCertificateFile>C:\myCerts\theCert.cer</SSLCertificateFile></textarea></p>

<p>8. You also need to point to the .pem file, for that, specify the SSLCertificateKeyFile like this: </p>

<p><textarea cols="65"><SSLCertificateKeyFile type="PEM">C:\myCerts\privkey.pem</SSLCertificateKeyFile></textarea></p>

<p>Simple as that, now restart FMS and you should be set. </p>

<p>BUT WAIT!! what about the intermediate cert... all you do is open up your .cer file in a text editor, and paste the intermediate cert below the actual cert. If u dont know where to get the intermediate cert, ask the admins that issued you the cert in the first place. </p>

<p>hope that helps. </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/08/adding_an_intermediate_cert_to.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/08/adding_an_intermediate_cert_to.html</guid>
         <category>General</category>
         <pubDate>Thu, 09 Aug 2007 15:27:37 -0800</pubDate>
      </item>
            <item>
         <title>How to use Flashvars with AS3</title>
         <description><![CDATA[<p>remember flashvars from AS2? its still there in AS3 but you access it differently. </p>

<p>in the HTML ActiveContent Javascript code add the flashvars parameter: </p>

<p><code><br />
AC_FL_RunContent(<br />
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',<br />
			'width', '490',<br />
			'height', '490',<br />
			'src', 'ColorGen',<br />
			'quality', 'high',<br />
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',<br />
			'align', 'middle',<br />
			'play', 'true',<br />
			'loop', 'true',<br />
			'scale', 'showall',<br />
			'wmode', 'window',<br />
			'devicefont', 'false',<br />
			'id', 'ColorGen',<br />
			'bgcolor', '#ffffff',<br />
			'name', 'ColorGen',<br />
			'menu', 'true',<br />
			'allowFullScreen', 'false',<br />
			'allowScriptAccess','sameDomain',<br />
			'movie', 'ColorGen',<br />
			'salign', '', <br />
			'flashvars', 'boxColor=0x0000FF'<br />
			); //end AC code<br />
</code><br />
(see the second last line)</p>

<p>And you should throw the same flashvars parameter in the object tag in the noscript for those who have JS disabled like this: </p>

<p><textarea cols="60"><param name="flashvars" value="boxColor=0x0000FF"/></textarea></p>

<p>... now when you want to access it, instead of doing a _level0.boxColor like in AS2, you simply do a: <br />
<code><br />
loaderInfo.parameters.boxColor<br />
</code></p>

<p>and bada-bing.</p>

<p>And of course you could add more flashvars name-value pairs separated by &'s... kinda like URL parameters</p>

<p>why a whole blog post on this? cuz i didn't see it in AS3 LR on livedocs, and i could imagine wasting a lot of time on this if i didn't work at adobe and didn't have access to our massive testing library. </p>

<p>thought i'd share. </p>

<p>And by the way, here's some more information from livedocs: </p>

<p><a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001005.html#166514">http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001005.html#166514</a></p>

<p><a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001585.html#171273 ">http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001585.html#171273 </a></p>

<p>And here's an URL if you want to use flashvars with Flex: <br />
<a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001004.html">http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001004.html</a> <br />
</p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/08/how_to_use_flashvars_with_as3.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/08/how_to_use_flashvars_with_as3.html</guid>
         <category>General</category>
         <pubDate>Wed, 01 Aug 2007 11:04:37 -0800</pubDate>
      </item>
            <item>
         <title>A higher quality youtube</title>
         <description><![CDATA[<p>My main purpose of posting this is to show a higher quality youtube. So here's how youtube works: you upload video, and behind the scenes they "encode" it to a special video format called "flv", and they purposely set the quality setting to like really low in order to save space and bandwidth for their servers.</p>

<p>That's all fine and dandy, but the side effect is that Adobe's reputation of "flash video" suffers -- people start thinking that the video quality of flash is just inherently low, which is wrong.</p>

<p>revver.com doesn't seem to have high quality flash video, but its still much better than youtube. And their integration all around is just better, notice if you are using internet explorer how you didn't have to "click" on the flash video (it's called "Active Content," or "How Microsoft screwed Adobe by giving in to the EOLAS law suite")... well anyway, this lack of a need to click on that horribly annoying transparent box is because they generate a script tag for you (as opposed to the old fashion object tag).</p>

<p>And my favorite feature, they actually use the "full screen" capability -- my God! it's about time people started using it, we threw it in since like 9r28 in around January. All you do in ActionScript is check the version, if its >= 9r28, modify the context menu to have the "Go Fullscreen" option by calling like stage.DisplayState = "fullscreen" or something. You also have to add an "allowFullscreen=true" to your object/script tag in HTML, but adding it in for an older version of flash player shouldn't hurt.</p>

<p>but yeah, good stuff revver.com, keep it up!</p>

<p><strong>CORRECTION: </strong><br />
Youtube does go full screen... they threw it in in May i think. I was looking in the context menu for some reason, but there's this little button they added in the bottom right corner that i guess i never noticed. </p>

<p>I guess its a Youtube program management decision, but IMO it would be a good idea to throw that full screen option in the context menu... the flash player API lets you do that fairly easily. </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/06/a_higher_quality_youtube_1.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/06/a_higher_quality_youtube_1.html</guid>
         <category></category>
         <pubDate>Wed, 27 Jun 2007 14:43:31 -0800</pubDate>
      </item>
            <item>
         <title>Flash Player QE Socket Server</title>
         <description><![CDATA[<p>I took the java "AquaServer" that was originally written by somebody in the flash community (can't remember who, i know it was a flash superstar, a couple names come to mind but i'm not sure). Well anyway, it's almost completely rewritten. </p>

<p>So, what benefit is it to you? The Flash Player's security model can often be very complicated because of its unique place and function in a user's computing experience. Providing this socket server will serve as a fully functional example of how to interact with the Flash Player's Socket class ( flash.net.Socket ) with respect to using low-level bytes, its security model ( socket policy files, etc ). In fact this is the server side software that the flash player team (my team) uses at Adobe to test the functionality in the first place. </p>

<p>Since we have no reason to crunch any data on the server-side, we simply accept data from the client, and echo it back. In the real world, i could imagine that there would be some server-side crunching going on, so in my code look for where i'm doing the echo'ing (in an "else" clause in the AquaClientThread's run() method) and start from there. </p>

<p>Oh, and also, for the record: This does not count as official Adobe software, its just something i made that we use internally that I thought others can benefit from, don't be surprised if you find significant bugs. Also, for all we know, the Socket security model (or something) could change which would cause this server to break -- so if you use it, be prepared to have to make changes to it if necessary. </p>

<p>I've copy/pasted our internal documentation below: </p>]]></description>
         <link>http://blogs.adobe.com/shaykhalflash/2007/05/flash_player_qe_socket_server_1.html</link>
         <guid>http://blogs.adobe.com/shaykhalflash/2007/05/flash_player_qe_socket_server_1.html</guid>
         <category>General</category>
         <pubDate>Wed, 30 May 2007 14:31:35 -0800</pubDate>
      </item>
      
   </channel>
</rss>
