めも帖

「めも帖」代わりにダラダラと書いていったり、めもしたりしているだけです。

Mac OS X にFlex SDKを入れてみた

とりあえず、ふと思ったので

ファイルをダウンロードする

下のリンクで

Adobe IDが必要

ダウンロードファイルを移動する

flex_sdk_2.zipがダウンロードできたので、

/Developer/SDKs/flex

というディレクトリを用意し、先ほどのファイルを解凍し、移動する

パスを通す

ターミナルを起動して、パスを通す

vi .bashrc

3行目を加える。加えるには、viの操作が必要

PASH=/usr/local/bin/:$PATH
export PATH
export PATH="$PATH":/Developer/SDKs/flex/bin

加えたら、保存する

試してみる

mxmls -helpというコマンドを入力する

mxmlc -help
Adobe Flex Compiler (mxmlc)
Version 2.0.1 build 159086
Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved.

-help [keyword] [...]
    For information on command line syntax and descriptions of
    configuration variables, specify a search string, or one of the
    following special keywords:
       syntax   - describe the general syntax of the command line
       list     - show a list of all basic configuration variables
       advanced - also match advanced configuration variables
       aliases  - sort using the short alias for the variable
       details  - always display the full details for each item
    Any other help keyword provided is used to match a full or partial
    configuration variable, alias, or text to search for in the
    description of the configuration variable.
    
    For example, '-help advanced aliases foo' would show all
    configuration options (both basic and advanced) containing the text
    'foo', sorted by alias name.
    
    In the description of individual configuration variables, required
    values are marked with angle brackets, and optional values are marked
    with square brackets.  The notation [...] is used to indicate that
    the values are a list of arbitrary length.

でした。