{"id":1084,"date":"2012-08-10T14:18:39","date_gmt":"2012-08-10T05:18:39","guid":{"rendered":"http:\/\/www.digifie.jp\/blog\/?p=1084"},"modified":"2012-08-11T09:13:15","modified_gmt":"2012-08-11T00:13:15","slug":"air-for-ios-%e3%81%a7%e3%81%ae%e3%83%93%e3%83%87%e3%82%aa%e5%86%8d%e7%94%9f%e3%81%a7%e3%81%a1%e3%82%87%e3%81%a3%e3%81%a8%e3%83%8f%e3%83%9e%e3%81%a3%e3%81%9f%e3%81%ae%e3%81%a7%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/www.digifie.jp\/blog\/archives\/1084","title":{"rendered":"AIR for iOS \u3067\u306e\u30d3\u30c7\u30aa\u518d\u751f\u3067\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2"},"content":{"rendered":"<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=https%3A%2F%2Fwww.digifie.jp%2Fblog%2Farchives%2F1084&t=AIR%20for%20iOS%20%E3%81%A7%E3%81%AE%E3%83%93%E3%83%87%E3%82%AA%E5%86%8D%E7%94%9F%E3%81%A7%E3%81%A1%E3%82%87%E3%81%A3%E3%81%A8%E3%83%8F%E3%83%9E%E3%81%A3%E3%81%9F%E3%81%AE%E3%81%A7%E3%83%A1%E3%83%A2' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/www.digifie.jp\/blog\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.digifie.jp\/blog\/archives\/1084\" data-text=\"AIR for iOS \u3067\u306e\u30d3\u30c7\u30aa\u518d\u751f\u3067\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\" data-via=\"LLC DigiFie\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n<p>AIR for iOS \u3067\u306e\u30d3\u30c7\u30aa\u3092\u518d\u751f\u3059\u308b\u30a2\u30d7\u30ea\u3067\u3001\u30d3\u30c7\u30aa\u6620\u50cf\u304c\u518d\u751f\u3067\u304d\u306a\u3044\u30b1\u30fc\u30b9\u304c\u767a\u751f\u3057\u3066\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<p>AIR for iOS \u3067 flash.media.Video \u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066 H.264 \u30d3\u30c7\u30aa\u3092\u518d\u751f\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001FlashBuilder \u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u3067\u306f\u518d\u751f\u3067\u304d\u308b\u3051\u3069\u5b9f\u6a5f\u3067\u306f\u518d\u751f\u3067\u304d\u305a\u3001H.264 \u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u308d\u3044\u308d\u5909\u3048\u3066\u8a66\u3057\u3066\u306f\u307f\u305f\u306e\u3067\u3059\u304c\u3084\u3063\u3071\u308a\u30c0\u30e1\u3067\u3057\u305f\u2026<\/p>\n<p>flash.media.Video \u3092 flash.media.StageVideo \u306b\u5909\u66f4\u3059\u308c\u3070\u554f\u984c\u306a\u304f\u518d\u751f\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u4ed6\u306e DisplayObject \u306e\u4e0a\u306b Sprite \u5185\u306b\u914d\u7f6e\u3057\u305f\u30d3\u30c7\u30aa\u3092\u8868\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u30d3\u30c7\u30aa\u3092 FLV\uff08On2 VP6\uff09 \u306b\u5909\u3048\u3066\u307f\u305f\u3089\u306a\u3093\u3068\u304b\u518d\u751f\u3067\u304d\u305f\u306e\u3067\u3059\u304c\u3001FLV \u3060\u3068\u753b\u8cea\u7684\u306b\u306f\u3061\u3087\u3063\u3068\u30a2\u30ec\u3067\u2026\u3053\u308c\u3058\u3083\u3041\u5730\u5473\u306b\u4e0d\u4fbf\u306a\u306e\u3067\u3001\u306f\u3084\u304f\u6539\u5584\u3055\u308c\u308c\u3070\u3044\u3044\u306a\u30fc\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u304f\u306f Video \u3067 H.264 \u3092\u518d\u751f\u3067\u304d\u308b\u65b9\u6cd5\u3092\u3054\u5b58\u3058\u306e\u65b9\u306f\u304a\u6559\u3048\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u2026<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u4eca\u56de\u306e\u691c\u8a3c\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\npackage\r\n{\r\n\timport flash.display.Sprite;\r\n\timport flash.events.Event;\r\n\timport flash.events.StageVideoAvailabilityEvent;\r\n\timport flash.geom.Rectangle;\r\n\timport flash.media.StageVideo;\r\n\timport flash.media.StageVideoAvailability;\r\n\timport flash.media.Video;\r\n\timport flash.net.NetConnection;\r\n\timport flash.net.NetStream;\r\n\t\r\n\t[SWF( width = '1024', height = '768', frameRate = '30', backgroundColor = '0' )]\r\n\t\r\n\tpublic class VideoTest extends Sprite\r\n\t{\r\n\t\t\r\n\t\tprivate var _stageVideos:Vector.&lt;StageVideo&gt; = stage.stageVideos;\r\n\t\t\r\n\t\tpublic function VideoTest()\r\n\t\t{\r\n\t\t\tsuper();\r\n\t\t\t\r\n\t\t\t\/\/\r\n\t\t\tvar nc:NetConnection = new NetConnection;\r\n\t\t\tnc.connect( null );\r\n\t\t\tvar ns:NetStream = new NetStream( nc );\r\n\t\t\tvar client:Object = {};\r\n\t\t\tclient.onMetaData = onMetaData;\r\n\t\t\tns.client = client;\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\/\/ -------------- Video \u3060\u3068 H.264 \u306f\u518d\u751f\u3067\u304d\u306a\u3044 ------------------\/\r\n\t\t\t\r\n\t\t\t\/*\r\n\t\t\t\r\n\t\t\tvar video:Video = new Video( 1024, 768 );\r\n\t\t\taddChild( video );\r\n\t\t\tvideo.attachNetStream( ns );\r\n\t\t\tns.play( &quot;video\/test.mp4&quot; ); \/\/ \u518d\u751f\u3067\u304d\u306a\u3044\r\n\t\t\tns.play( &quot;video\/test.flv&quot; ); \/\/ \u518d\u751f\u3067\u304d\u308b\r\n\t\t\t\r\n\t\t\t*\/\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\/\/ -------------- StageVideo \u3060\u3068 H.264 \u3067\u3082\u518d\u751f\u3067\u304d\u308b ------------------\/\r\n\t\t\t\r\n\t\t\tstage.addEventListener( StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onAvalilabtily );\r\n\t\t\t\r\n\t\t\tfunction onAvalilabtily( e:StageVideoAvailabilityEvent ):void\r\n\t\t\t{\r\n\t\t\t\tvar avalilable:Boolean = e.availability == StageVideoAvailability.AVAILABLE;\r\n\t\t\t\t\r\n\t\t\t\tif(avalilable)\r\n\t\t\t\t{\r\n\t\t\t\t\tvar stageVideo:StageVideo = _stageVideos[ 0 ];\r\n\t\t\t\t\tstageVideo.attachNetStream( ns );\r\n\t\t\t\t\tstageVideo.viewPort = new Rectangle( 0, 0, 1024, 768 );\r\n\t\t\t\t\t\r\n\t\t\t\t\tns.play( &quot;video\/test.mp4&quot; );\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\ttrace( e.availability );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfunction onMetaData():void {}\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n}\r\n<\/pre>\n<p>\u3042\u3063\u3001\u3084\u3063\u3071\u308a<a href=\"http:\/\/help.adobe.com\/ja_JP\/as3\/dev\/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d46.html \" target=\"_blank\">\u3053\u3053<\/a>\u306b\u3082\u4f7f\u3048\u306a\u3044\u3063\u3066\u66f8\u3044\u3066\u3042\u308b\u3057\u2026<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=https%3A%2F%2Fwww.digifie.jp%2Fblog%2Farchives%2F1084&t=AIR%20for%20iOS%20%E3%81%A7%E3%81%AE%E3%83%93%E3%83%87%E3%82%AA%E5%86%8D%E7%94%9F%E3%81%A7%E3%81%A1%E3%82%87%E3%81%A3%E3%81%A8%E3%83%8F%E3%83%9E%E3%81%A3%E3%81%9F%E3%81%AE%E3%81%A7%E3%83%A1%E3%83%A2' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/www.digifie.jp\/blog\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.digifie.jp\/blog\/archives\/1084\" data-text=\"AIR for iOS \u3067\u306e\u30d3\u30c7\u30aa\u518d\u751f\u3067\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\" data-via=\"LLC DigiFie\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>AIR for iOS \u3067\u306e\u30d3\u30c7\u30aa\u3092\u518d\u751f\u3059\u308b\u30a2\u30d7\u30ea\u3067\u3001\u30d3\u30c7\u30aa\u6620\u50cf\u304c\u518d\u751f\u3067\u304d\u306a\u3044\u30b1\u30fc\u30b9\u304c\u767a\u751f\u3057\u3066\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 AIR for iOS \u3067 flash.media.Video \u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066 H.264 \u30d3\u30c7\u30aa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,30],"tags":[],"_links":{"self":[{"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/posts\/1084"}],"collection":[{"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/comments?post=1084"}],"version-history":[{"count":6,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/posts\/1084\/revisions"}],"predecessor-version":[{"id":1091,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/posts\/1084\/revisions\/1091"}],"wp:attachment":[{"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/media?parent=1084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/categories?post=1084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digifie.jp\/blog\/wp-json\/wp\/v2\/tags?post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}