I just uploaded version 0.8.2 of Cocoon P2P which adds support for
using Cocoon P2P in pure AS3 (non-Flex) projects.
Starting with this version there are now 2 different SWC files
(CocoonP2P-0.8.2.swc and CocoonP2P-0.8.2-as3.swc). The swc with the -
as3 extension is the version which has no Flex dependencies so it can
be used in pure AS3 projects, the other one is the "normal" build
which works fine in Flex.
I also uploaded an example ZIP file which shows how to use it plus a
Wiki post:
http://code.google.com/p/cocoon-p2p/wiki/PureAS3
Cheers,
Dirk.