How to build?

View: New views
1 Messages — Rating Filter:   Alert me  

How to build?

by Яна-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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