I have used the LocalContentUpdater script in order to add network support to my new swf.
LocalContentUpdater -c Financial.swf
Operating on 1 file.
Has network privileges: Financial.swf
I then removed the header code from my ant build and the SWF is getting updated.
After I run the ant build process I click on the swf in the build directory. It no longer gives me a security error but I am still not getting anything in the logger.
Ideas?
I REALLY APPRECIATE YOUR HELP!
Wade
Class File:
class Financial{
public static function main():Void {
trace("OSFLASH MAILING LIST RULES", Log.INFO);
}
}
Ant Build:
<x-tad-bigger>Buildfile: </x-tad-bigger><x-tad-bigger>/Users/warnold/Documents/AS2_Classes_Eclipse/financial/build.xml</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger>:</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger> [</x-tad-bigger><x-tad-bigger>] Compiling 1 source file.</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger> [</x-tad-bigger><x-tad-bigger>] mtasc -swf /Users/warnold/Documents/AS2_Classes_Eclipse/financial/build/Financial.swf -trace Log.addMessage -cp /Users/warnold/Documents/AS2_Classes_Eclipse/financial/src -cp /Applications/eclipse/plugins/org.asdt.logger_0.0.8.build5/lib/flash_classes -main -cp /Users/warnold/Documents/AS2_Classes_Eclipse/financial/src Financial.as</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger>BUILD SUCCESSFUL</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger>Total time: 2 seconds
ANT Build file:
</x-tad-bigger><x-tad-bigger><project name="Financial" default="compile" basedir=".">
<!-- Declares references to needed directories. -->
<property name="src.dir" location="src"/>
<property name="build.dir" location="build"/>
<property name="logger.dir" location="/Applications/eclipse/plugins/org.asdt.logger_0.0.8.build5/lib/flash_classes"/>
<!-- Properties for the output movie -->
<property name="width" value="500"/>
<property name="height" value="500"/>
<property name="framerate" value="31"/>
<property name="bgcolor" value="FFFFFF"/>
<!-- Define the MTASC ant task -->
<taskdef name="mtasc" classname="org.as2lib.ant.Mtasc" classpath="/Applications/eclipse/swf_ant_tasks/src"/>
<!-- Target that uses the MTASC Ant Task. -->
<target name="compile" description="builds sample swf">
<mtasc srcdir="${src.dir}" classpath="${src.dir}:${logger.dir}" swf="${build.dir}/${ant.project.name}.swf" main="true" trace="Log.addMessage"/>
</target>
</project></x-tad-bigger><x-tad-bigger> </x-tad-bigger>
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
