compile error

Monkey Targets Forums/Flash/compile error

mangoo(Posted 2011) [#1]
Hi,

i am getting a compiler error on a specific line, mentioning an invalid character. The strange thing is, it works on another windows pc but not on this one :-(

I already tried to rewrite the line, didnt help. Any idea?


Compile Error:\n\nInvalid character in flash filename


Line:

Index = Clamp ( Index, 1, xInput._InputNum ) - 1


mangoo(Posted 2011) [#2]
ah i forgot to mention, for other targets it is also working here :-)


skid(Posted 2011) [#3]
MonkeyPro32 uses embedding for Flash images and audio, and as stated in versions.txt:


Flash data embedded! Will eventually be selectable. Note: flash file names must be valid identifiers for now.



This means file names in your app.data folder should not contain spaces, minus signs etc. which could be your problem?


okee(Posted 2011) [#4]
I get the following when running firepaint demo in flash in version 3.2


VerifyError: Error #1053: Illegal override of z in mx.core.BitmapAsset.

ReferenceError: Error #1065: Variable Assets__9mojo_font is not defined.

ReferenceError: Error #1065: Variable Assets__8bluspark is not defined.

ReferenceError: Error #1065: Variable MonkeyGame is not defined.



Also with the bouncyaliens demo


skid(Posted 2011) [#5]
okee: I would guess you need to remove those demo's .build folders or start with a clean install rather than copying version32 over the top of an older install.


okee(Posted 2011) [#6]
Managed to sort it, .swf files were associated with Flash 9 for some reason
Only spotted that the error box had Flash 9 in the title after a lot of messing about, Changed the associated application to chrome and all is well now