Invalid character in flash filename

Monkey Forums/Monkey Programming/Invalid character in flash filename

mangoo(Posted 2011) [#1]
Did anyone else get this error yet when compiling for flash?


I cant give more details as there is no additional information given, just: "Invalid character in flash filename"

Are some characters forbidden?


"f_xgraphics.monkey"



I can compile for html5 and other targets, but when trying to compile it for flash i get this error.


skid(Posted 2011) [#2]
Yes, all file names in your .data folder now need to be valid monkey names, no spaces, no minus signs etc.


slenkar(Posted 2011) [#3]
it doesnt allow underscores, can this be changed?


skid(Posted 2011) [#4]
I'm using underscores without problems.


Gerry Quinn(Posted 2011) [#5]
Flash doesn't accept underscores in filenames, I think. It is a Flash thing, not a Monkey thing.