Hello all.

I am using flasm on a mac, and am trying to put the code from a swf into a txt file by using the command -d.

However, Terminal says there is no command like that, and when i go to the name.txt, it is 0 KB and has no information in it.

Here is what terminal says:

Last login: Sat Dec 31 23:06:51 on ttys002
106371L:~ 16vineetk$ cd/Applications/Chipmunk\Basic/Documentation/man/flasm
106371L: flasm 16vineetk$ ./flasm

Flasm 1.63 build Sep 20 2011

(c) 2001 Opaque Industries (c) 2002-2009 Igor Kogan, (c) 2005 Wang Zhen
All rights reserved. See LICENSE.TXT for terms of use.

Usage: flasm [command] filename

Commands:
-d Disassemble SWF file to the console
-a Assemble Flasm project (FLM)
-u Update SWF file, replace Flasm macros
-b Assemble actions to _bytecode_ instruction or byte sequence
-z Compress SWF with zLib
-x Decompress SWF

Backups with $wf extension are created for altered SWF files.

To save disassembly or _bytecode_ to file, redirect it:
flasm -d foo.swf > foo.flm
flasm -b foo.txt > foo.as

Read flasm.html for more information.
106371L: flasm 16vineetk$ flasm-d complete.swf > complete.txt
-bash: flasm: command not found
106371L: flasm 16vineetk$flasm -b complete.txt > complete.as
-bash: flasm: command not found

Please help!
Thanks.