Thank you for your reply :) Bolow I put mtasc output of various ways of
compilation (Windows XP):
C:\Home\Yana\FlashLite\nardik>mtasc -v -swf nardik_ide.swf -out
nardik_mtasc.swf -main -header 320:240:12 Nardik.as
Classpath : D:\Distr\Mtasc\mtasc-1.13/std/;D:\Distr\Mtasc\mtasc-1.13/;;/
Parsed D:\Distr\Mtasc\mtasc-1.13/std/StdPresent.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Object.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Boolean.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/String.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Number.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Array.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Function.as
Parsed Nardik.as
Typing Nardik.Nardik
Typing Nardik.MovieInit
Parsed D:\Distr\Mtasc\mtasc-1.13/std/MovieClip.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/ContextMenu.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/TextSnapshot.as
Typing Nardik.main
Time spent : 0.
C:\Home\Yana\FlashLite\nardik>mtasc -v -version 8 -swf nardik_ide.swf
-out nardik_mtasc.swf -main -header 320:240:12 Nardik.as
Classpath :
D:\Distr\Mtasc\mtasc-1.13/std8/;D:\Distr\Mtasc\mtasc-1.13/std/;D:\Distr\Mtasc\mtasc-1.13/;;/
Parsed D:\Distr\Mtasc\mtasc-1.13/std/StdPresent.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Object.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Boolean.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/String.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Number.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Array.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/Function.as
Parsed Nardik.as
Typing Nardik.Nardik
Typing Nardik.MovieInit
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/MovieClip.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/ContextMenu.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/TextField.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/TextField/StyleSheet.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/TextFormat.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std/TextSnapshot.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/geom/Transform.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/geom/Matrix.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/geom/Point.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/geom/ColorTransform.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/geom/Rectangle.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/display/BitmapData.as
Parsed D:\Distr\Mtasc\mtasc-1.13/std8/flash/filters/BitmapFilter.as
Typing Nardik.main
Time spent : 0.046
In both cases all graphics presented in nardik_ide.swf (that was created
previously by Flash CS3) is missing in nardik_mtasc.swf created by mtasc.
-----Original Message-----
From: "jean-michel fan_de_teamspeak" <
jean.michel.78@...>
To: "Яна" <
yana_flash@...>, "MotionTwin ActionScript2 Compiler List" <
mtasc@...>
Date: Wed, 23 Apr 2008 16:14:23 +0200
Subject: Re: [mtasc] How to build?
> try to use no version or version 8
> give the complete output of mtasc thanks
>
> 2008/4/23, Яна <
yana_flash@...>:
> >
> > I try to use MTASC as command line compiler to build my Flash and
> > FlashLite projects under WindowsXP and
> > Linux (Fedora 7). I use version 1.13 under WindowsXP and 1.12 under
> > Fedora 7. I have the following problems
> > with both - Flash and FlashLite compilation.
> >
> > 1) My Flash project contains the following files:
> > - nardik.fla source contains all game movieclips and the command
> > "app=new Nardik();" in the first and the only frame;
> > - Nardik.as with the program code of Nardik class
> > - nardik.swf compiled from said files by Adobe Flash CS3.
> > As it is written in MTASC docs, MTASC compiles .as file and replace part
> > of program code into the .swf file.
> > But when I call (under Windows XP, PATH environment variable is
> > appropriately corrected):
> >
> > C:\> mtasc -swf nardik.swf -main -header 320:240:12 nardik.as
> >
> > the result nardik.swf contains properly working Nardik class code - but
> > no movieclips at all! All graphics that was
> > in the first clip of swf is disappeared.
> >
> > 2) I try to build FlashLite project (no predefined graphics or
> > movieclips - pure ActionScript only). I build the project under
> > Linux (Fedora 7) using the following command:
> > $ /opt/mtasc/mtasc -v -version 7 -cp /opt/mtasc/-swf nardik.swf -main
> > -header 320:240:12 Nardik.as
> > When I try to run rebuilded swf on my Nokia E61 using FlashLite 2.1
> > Player, I have error: "Problem with content: 3". I try
> > to use -version 6, but the error remains the same.
> >
> > Could you please give me advice - how to build swf keeping movieclips in
> > it? which options do I need to use to compile
> > FlashLite 2.1 content?
> >
> >
> >
> > --
> > MTASC : no more coffee break while compiling
> >
>
>
>
> --
>
http://jeanmichel.gens.free.fr>
--
MTASC : no more coffee break while compiling