Kr.co.mdsl.MosVideo.as
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init();">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import kr.co.mdsl.flash.MosVideo;
private function init():void
{
var mosVideo:MosVideo = new MosVideo(null,"http://www.helpexamples.com/flash/video/cuepoints.flv");
mos.addChild(mosVideo);
}
]]>
</fx:Script>
<s:VideoDisplay id="mos" />
</s:WindowedApplication>
사용방법은 위 와 같다…
'Adobe Air & Flex > Air개발' 카테고리의 다른 글
Air Signed native installer(exe) 업데이트 방법 (0) | 2013.01.29 |
---|---|
Window창 상태바 없애기.. (0) | 2012.12.05 |
Air에서 동영상 메타데이터와 큐포인트 체크 (0) | 2010.04.17 |