336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
private function copyTag():void{
var tag:String = '<object width="1024" height="821" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" id="FLV"><param name="movie" value="http://it.cctoday.co.kr/2008/lecture/lecture.swf" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="FlashVars" value="varXML=http://it.cctoday.co.kr/2008/lecture/lecture.xml" /><embed src="http://it.cctoday.co.kr/2008/lecture/lecture.swf" width="1024" height="821" name="FLV" FlashVars="varXML=http://it.cctoday.co.kr/2008/lecture/lecture.xml" allowScriptAccess="always" allowFullScreen="true" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>';
System.setClipboard(tag);
Alert.show("Ctrl + V 로 html이 허용된 곳에 붙여넣기를 하면 됩니다.","퍼가기");
}
var tag:String = '<object width="1024" height="821" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" id="FLV"><param name="movie" value="http://it.cctoday.co.kr/2008/lecture/lecture.swf" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="FlashVars" value="varXML=http://it.cctoday.co.kr/2008/lecture/lecture.xml" /><embed src="http://it.cctoday.co.kr/2008/lecture/lecture.swf" width="1024" height="821" name="FLV" FlashVars="varXML=http://it.cctoday.co.kr/2008/lecture/lecture.xml" allowScriptAccess="always" allowFullScreen="true" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>';
System.setClipboard(tag);
Alert.show("Ctrl + V 로 html이 허용된 곳에 붙여넣기를 하면 됩니다.","퍼가기");
}
'컴터 > Flash & Flex' 카테고리의 다른 글
이미지의 exif 중 타이틀과 캡션뺴오기.. (0) | 2008.08.29 |
---|---|
이미지 exif 정보 읽어오기 (0) | 2008.08.20 |
url 얻어오기 (0) | 2008.08.19 |
itemRenderer 안에서 함수 호출 (0) | 2008.08.18 |