This is an easy way to install flex for a single user, without having many parts in many places.
download flex_sdk_4.1
flex_sdk_4.1
if you do not have java installed, install it now.
If you do not already have a bin directory in your home Directory create one
mkdir ~/bin
put the zip file in the directory you just created and extract the files in the same directory.
make the files in the ~/bin/flex_sdk_4.1/bin executable
chmod -R +rx ~/bin/java_sdk_4.1/bin
after the files are extracted open the file ~/bin/java_sdk_4.1/bin/mxmlc and below the comments add this line
FLEX_HOME=`dirname "$0"`/flex_sdk_4.1
open a terminal in the ~/bin dirextory and type in
ln -s ~/bin/java_sdk_4.1/bin/mxmlc
to create a symbolic link.
now with the terminal open type
mxmlc --help
And it should work. If not leave a comment I’ll help you out. I tend to help people for free, like a fool.