티스토리 뷰
<html>
< head>
< body>
< object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%">
<param name="movie" value="soultec_menu.swf">
<param name="play" value="true">
<param name="loop" value="false">
<param name="wmode" value="Transparent">
<param name="quality" value="high">
<param name="flashvars" value="startPoint=4"> <--- 플래쉬로 값 넘기기
<param name="allowScriptAccess" value="always" />
<embed src="soultec_menu.swf" play="true" loop="true" wmode="Transparent" allowScriptAccess="always" quality="high" flashvars="startPoint=4" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" width="100%" height="100%"></embed>
< /object>
< /body>
< /html>
======================================================
참고
플래쉬 소스 추가
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
2.tx_userName.text = paramObj.userName;
3.tx_gender.text = paramObj.gender
------------------------------------------------------
< script type="text/javascript" src="./swfobject.js"></script>
< script type="text/javascript">
var flashvars = false;
var params = {
FlashVars : "userName=gyuha&gender=male",
};
var attributes = {
};
swfobject.embedSWF("./sample.swf", "flash", "320", "240", "9.0.0", "./expressInstall.swf", flashvars, params, attributes);
< /script>
< div id="flash">
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
< /div>
'Language > Flash' 카테고리의 다른 글
flash를 벗어날 때 이벤트 체크 (0) | 2015.11.29 |
---|---|
HTML -> 플래쉬로 값 전달 하기 (0) | 2015.11.29 |
Image Slider (0) | 2015.11.29 |
플래쉬 배경 투명으로 사용하기 (0) | 2015.11.29 |
Button URL 연결 (0) | 2015.11.29 |