[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Class definition with swfc
From: |
P.Y. Rollo |
Subject: |
[Swftools-common] Class definition with swfc |
Date: |
Fri, 09 Oct 2009 19:21:59 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Hello,
First, thanks a lot for swftools! I've just discovered that swftools
makes flash development possible under Linux.
There is something I can't figure out how to do :
How to define and use custom classes when using a .sc file and swfc
compiler?
When using the class keyword in a .action section of an .sc file, I
always obtain a "syntax error". The same code in a .as file works well
using mtasc compiler. I'm trying that with flash=7 version.
I read, in the Adobe reference documentation, that there should be one
class per file, so I should have one .as file per class and one .sc file
including/importing/using them.
I tried to compile .as files into .swf files and then swfcombine them,
or even .swf them in my .sc files but I could not use my classes in the
.action sections.
Does anyone have a idea of how to do that ?
Thanks,
P.Y. Rollo
- [Swftools-common] Class definition with swfc,
P.Y. Rollo <=