hey everybody.
does anybody has experienced troubles with asdt:Logging on linux? i did
every step from martin on the osflash site but my AS Logger panel doesnt
show anything (yes, i pushed the green play button in its panel)!
i dont know, if my build is fucked up, but i dont get any errors from it
and i checked by drawing random colors to the screen.
anybody has any advise for me on this may be?
thanx a lot!
\n
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
build.xml
---------
<project name="mondrian" default="compile" basedir=".">
<description>
AS2 build file using swfmill/mtasc.
</description>
<!-- buildnumber tag generates a file with an
autoincremental number(build.number) -->
<buildnumber/>
<property name="build.version" value="1.0"/>
<tstamp>
<format property="build.time"
pattern="dd-MM-yyyy" unit="day"/>
</tstamp>
<echo message="${ant.project.name}
version: ${build.version}.
Build number: ${build.number}.
Build Time:${build.time}" />
<property name="app.properties.file"
value="conf/app.properties"/>
<echo>
load properties..
</echo>
<property file="${app.properties.file}"/>
<target name="init" description="SWFMILL compile">
<echo>
create swf...
</echo>
<delete file="${swf.in}"/>
<swfmill
src="${swf.lib}"
dest="${swf.in}">
</swfmill>
</target>
<target name="compile" depends="init" description="MTASC compile">
<echo>
inject source code into swf...
</echo>
<delete file="${swf.out}"/>
<mtasc
mtasc="${mtasc}"
src="${mtasc.bootstrap}"
srcdir="${src.dir}"
swf="${swf.in}"
out="${swf.out}"
classpath="${mtasc.classpath}:${mtasc.debug}"
trace="${mtasc.trace}"
mx="yes"
version="${swf.version}"
main="yes"
header="${swf.width}:${swf.height}:${swf.fps}:${swf.bgcolor}"/>
<delete file="${swf.in}"/>
</target>
</project>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
app.properties:
---------------
as2ant.home=/home/kzimir/bin/as2ant.jar
project.home=/home/kzimir/workspace/mondrian
src.dir=./src
mtasc.home=/usr/bin/mtasc
mtasc=${mtasc.home}/mtasc
mtasc.classes=${mtasc.home}/Classes
mtasc.classpath=${src.dir}:${mtasc.classes}
mtasc.bootstrap=./main/Main.as
mtasc.trace=Log.addMessage
mtasc.debug=/home/kzimir/.eclipse/org.eclipse.sdk.ide/updates/eclipse/plugins/org.asdt.logger_0.0.8.build5/lib/flash_classes/
swf.version=8
swf.in=bin/input.swf
swf.out=./bin/output.swf
swf.lib=./conf/lib.swfml
swf.fps=30
swf.width=300
swf.height=300
swf.bgcolor=ffffff
swf.resources=./resources
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Main.as
-------
class Main{
public static function main(){
var ehm:String = "hihi";
trace(ehm, Log.INFO);
_root.beginFill(0xffffff*Math.random(),100);
_root.lineTo(100,0);
_root.lineTo(100,100);
_root.lineTo(0,100);
}
}
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org