{"id":1353,"date":"2012-03-13T11:28:35","date_gmt":"2012-03-13T18:28:35","guid":{"rendered":"https:\/\/onebitpixel.com\/aml\/?p=1353"},"modified":"2012-03-13T11:28:35","modified_gmt":"2012-03-13T18:28:35","slug":"flash-as3-loop-video-flvplayback","status":"publish","type":"post","link":"https:\/\/onebitpixel.com\/aml\/?p=1353","title":{"rendered":"Flash AS3: loop video &#8211; FLVPlayback"},"content":{"rendered":"<p>import fl.video.VideoEvent;<br \/>\nmyVideo.addEventListener(<\/p>\n<div><wbr>VideoEvent.COMPLETE, completePlay);<br \/>\nfunction completePlay(e:VideoEvent):<wbr>void {<br \/>\nmyVideo.play();<br \/>\n}<br \/>\n<\/wbr><\/wbr><\/div>\n<div><\/div>\n<div>\nimport fl.video.VideoEvent;<br \/>\nfl_video.autoRewind = true; \/\/ fl_video being the name of the video component<br \/>\nfl_video.addEventListener(<wbr>VideoEvent.AUTO_REWOUND, doLoop);<\/p>\n<p>function doLoop(e:VideoEvent):void<br \/>\n{<br \/>\ne.target.play();<\/p>\n<div>\n<div id=\":19b\" data-tooltip=\"Hide expanded content\"><img decoding=\"async\" src=\"https:\/\/mail.google.com\/mail\/images\/cleardot.gif\" alt=\"\" \/><\/div>\n<\/div>\n<div>\n<div>}<\/div>\n<\/div>\n<p><\/wbr><\/div>\n","protected":false},"excerpt":{"rendered":"<p>import fl.video.VideoEvent; myVideo.addEventListener( VideoEvent.COMPLETE, completePlay); function completePlay(e:VideoEvent):void { myVideo.play(); } import fl.video.VideoEvent; fl_video.autoRewind = true; \/\/ fl_video being the name of the video component fl_video.addEventListener(VideoEvent.AUTO_REWOUND, doLoop); function doLoop(e:VideoEvent):void { e.target.play(); }<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[4,113,69],"class_list":["post-1353","post","type-post","status-publish","format-standard","hentry","category-tutorial","tag-actionscript","tag-flash","tag-video"],"_links":{"self":[{"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/posts\/1353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1353"}],"version-history":[{"count":1,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/posts\/1353\/revisions"}],"predecessor-version":[{"id":1354,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=\/wp\/v2\/posts\/1353\/revisions\/1354"}],"wp:attachment":[{"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onebitpixel.com\/aml\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}