What about something like this:
<fileset id="sources" dir="${src.dir}">
<include name="**/*.as"/>
</fileset>
<pathconvert property="sourceClasses" refid="sources" pathsep=" ">
<filtermapper>
<replacestring from="${src.dir}/" to=""/> <!-- Strip off
directory -->
</filtermapper>
</pathconvert>
I stole this from the ANTLR build script for actionscript target. It does
have
a couple other replacestring elements, but this is the one you would be
interested in "removing" high level directory structure.
Wayne Hassman