Hi,
I've been trying to compile a actionscript within a swfc script, but I keep
getting syntax error. I've tried both Windows and Linux versions but the
results are the same.
I cut the code as most as possible in order to identify if something else was
affecting it, and it ended up like this:
--------code begin----------
.flash fps=50 filename="test.swf" compress bbox=720x570
.action:
onClipEvent (enterFrame) {
x = 0;
}
.end
.end
--------code end----------
I get this error every time I try to compile it:
---------------output begin-------------
C:\Bin\swftools>swfc test.sc
error:
onClipEvent (enterFrame) {
^
Line 31: Reason: 'syntax error'
"test.sc", line 7 column 10: error- Couldn't compile ActionScript
C:\Bin\swftools>
---------------output end-------------
Can anybody help me?
Thanks in advance!
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007