you must specify the directory where the swfmill and mtasc executables
reside in your global path variable (if you are using Windows, I don't
know how to handle this with Linux or OSX).
Right Click on My Computer -> Properties -> Advanced Tab ->
Environment Variables
If there is already an entry for the variable PATH append it, if not
create a new one. Its value may look something like this:
E:\Programming\Flash\mtasc;E:\Programming\Flash\swfmill
This enables you to execute the executables in the mtasc and swmill
folder from anywhere you like in the commandline.
On osx or linux :
Either put your bin in :
/usr/bin
better : /usr/local/bin
/opt/local/bin
You could mention your path on each build process, add in a myScript.sh
:
PATH="/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/
usr/X11R6/bin:/opt/local/bin"
export PATH
Or simpler, edit .profile with pico (in ~ or /etc) :
$ cd ~
$ ls -alh
$ pico .profile
In the new buffer : put the PATH=… line below :
Ctrl-X
Y
On linux, one could use vi :
vi ~/.profile
To quit and save make a ":w" if I remeber correctly.
That's it.
HTH
-----------
erixtekila
http://blog.v-i-a.net/
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org