flex3 のダウンロード・インストール

  ダウンロード ( SDK )



http://java.sun.com/javase/ja/6/download.html より、java をインストールする必要があります

2008/08/15 より、Latest Milestone Release Builds で ( 3.1.0.2710 ) をダウンロードして下さい
AIR 対応版は、以下のリンクの Stable Builds の 3.0.2.2113 以降をダウンロードします




以下は、参考です。( 一般用ダウンロード )
まず Flex SDK へ行って、 Free Adobe Flex SDK (Download) という部分を見つけて、
Download をクリックして下さい

ページの下のほうに、

I have read the Adobe Flex 3.0 SDK License, and by downloading the software listed below I agree to the terms of the agreement.

とありますので、チェックするとその下のダウンロードリンクが使えるようになります。
( flex_sdk_3.zip というファイルです )


Adobe Flex Builder 3 Professional(60日間体験版) を Adobe でサインアップしてインストールすると
SDK もインストールされます( サンプルソースの日本語版が付いてきます )が、430M もあるので Flex Builder3
を使わないのであれば、これを使う必要は特にありません。

しかし、以下のような無償ライセンス提供 があるので、そちらと並行して準備すると良いでしょう

>無償ライセンス提供対象者
>Adobe Flex Builder 3 Professionalは、「Flex アカデミー」参加校またはCLPに加入している
>高等教育機関(大学機関、専門学校、高等専門学校)、所属する教員および学生に対し、
>無償でライセンスを提供いたします

要するに、学生か教育関係者ならば、申請すると OK なようです。




  インストール



↓flex2 を参考にして下さい。但し、flex3 では、fcsh は sdk に含まれています
http://winofsql.jp/VA003334/flex2080104203116.htm

また、以下のようなスクリプトを作成すれば、PATH 環境変数を設定する必要は特にありません

  
<JOB>
<RESOURCE id="commandList">
<![CDATA[
mode con: cols=120
set PATH=C:\flex3\bin;%PATH%
prompt flex3$G
fcsh
]]>
</RESOURCE>

<OBJECT id="WshShell" progid="WScript.Shell" />
<OBJECT id="Fso" progid="Scripting.FileSystemObject" />

<SCRIPT language=VBScript>
' ***********************************************************
' 処理開始
' ***********************************************************

strPath = WScript.ScriptFullName
Set obj = Fso.GetFile( strPath )
Set obj = obj.ParentFolder
WshShell.CurrentDirectory = obj.Path

aData = Split( GetInline( "commandList" ), vbCrLf )
strCommand = "cmd.exe /k " & aData(0)
For I = 1 to Ubound( aData )
	strCommand = strCommand & "&" & aData(I)
Next
Call WshShell.Run( strCommand, 3 )

' ***********************************************************
' 関数
' ***********************************************************
Function GetInline( strName )

	GetInline = RegTrim( getResource( strName ) ) & vbCrLf

End Function
Function RegTrim( strValue )

	Dim regEx, str

	Set regEx = New RegExp
	regEx.IgnoreCase = True
	regEx.Pattern = "^[ \s]+"
	str = regEx.Replace( strValue, "" )
	regEx.Pattern = "[ \s]+$"
	RegTrim = regEx.Replace( str, "" )

End Function
</SCRIPT>
</JOB>
  


以下、実行サンプル
  
Adobe Flex Compiler SHell (fcsh)
Version 3.0.0 build 477
Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

(fcsh) mxmlc Draw.mxml
fcsh: コンパイルのターゲット ID として 1 が割り当てられました
Loading configuration file C:\flex3\frameworks\flex-config.xml
C:\Documents and Settings\lightbox\My Documents\_test\flex2_draw\Draw.swf (256829 bytes)
(fcsh) compile 1
Loading configuration file C:\flex3\frameworks\flex-config.xml
Recompile: C:\Documents and Settings\lightbox\My Documents\_test\flex2_draw\Draw.mxml
Reason: The source file or one of the included files has been updated.
Files changed: 1 Files affected: 0
C:\Documents and Settings\lightbox\My Documents\_test\flex2_draw\Draw.mxml(31):
  Error: 未定義のプロパティ fm へのアクセスです。

                fm.formatString = "YYYY/MM/DD HH:NN:SS";

  










  infoboard   管理者用   
このエントリーをはてなブックマークに追加





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ