|
( 1. Download the fcsh ZIP file and view the license agreement の fcsh ZIP をクリック )
|
C:\user\lightbox\php\flex2\mxml>fcsh
Adobe Flex Compiler SHell (fcsh)
Version 2.0.1 build 159086
Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved.
(fcsh) mxmlc button.mxml
fcsh: Assigned 1 as the compile target id
Loading configuration file C:\flex2\frameworks\flex-config.xml
C:\user\lightbox\php\flex2\mxml\button.swf (231395 bytes)
(fcsh) compile 1
Loading configuration file C:\flex2\frameworks\flex-config.xml
Nothing has changed since the last compile. Skip...
C:\user\lightbox\php\flex2\mxml\button.swf (231395 bytes)
(fcsh)
| |
|
|
ダウンロード・利用サンプルコード ( SWFObject ) |
|
↓オリジナルダウンロードページ
http://blog.deconcept.com/swfobject/#download
↓キャッシュを考慮したコード
|
<SCRIPT
language="javascript"
type="text/javascript"
src="swfobject.js">
</SCRIPT>
<div id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject(
"App.swf?reload=" + (new Date()).getTime(),
"LboxApp", "800", "600", "9", "#FFFFFF");
so.write("flashcontent");
</script>
| |
|
↓FlashVars の指定
|
<SCRIPT
language="javascript"
type="text/javascript"
src="swfobject.js">
</SCRIPT>
<div id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject(
"App.swf?reload=" + (new Date()).getTime(),
"LboxApp", "800", "600", "9", "#FFFFFF");
so.addVariable( "url", "http%3A%2F%2Fwinofsql.jp%2Fdownload%2Fhanbaic.lzh" );
so.write("flashcontent");
</script>
| |
|
↓SWFObject をダウンロードして使うのが面倒な人用
|
<SCRIPT
language="javascript"
type="text/javascript"
src="http://homepage2.nifty.com/lightbox/swfobject.js">
</SCRIPT>
<div id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject(
"App.swf?reload=" + (new Date()).getTime(),
"LboxApp", "800", "600", "9", "#FFFFFF");
so.addVariable( "url", "http%3A%2F%2Fwinofsql.jp%2Fdownload%2Fhanbaic.lzh" );
so.write("flashcontent");
</script>
| |
|
|
|