2A.
Actually, if I did this test correctly , it didn't compile.
This file:
.flash name="variablezh1x.swf" version=6
.action:
this.controls.frameRate = 15;
this.Controls.titled = "DB2 \xe2\xb6\x8d\xe6\xa5\xb2\xee\xb9\xbb\xd9\x92\xe9\x81\xa7"
.end
.end
gave Error messages:
this.Controls.titled = "DB2 \xe2\xb6\x8d\xe6\xa5\xb2\xee\xb9\xbb\xd9\x9
\xe9\x81\xa7"
^
warning:
^
Line 0005: Reason: 'unsupported escape sequence'
warning:
Line 0005: Reason: 'unsupported escape sequence'
error:
Line 7: Reason: 'Unexpected EOF found while looking for input.'
"
variablezh1x.sc", line 2 column 12: error- Couldn't compile ActionScript
2B.
the original unicode escaped file gives warning messages, I assume this was due to the font issues
but seems to compile. Is the data there? It seems to be via a swfdump but maybe I misunderstand.
i.e.
.flash name="variablezh1.swf" version=6
.action:
this.controls.frameRate = 15;
this.Controls.titled = "DB2 \uE8B4\uADE7\u89A9\uE7AF\uAEE5\u8886\uE69E\u90";
.end
.end
gives warning.
warning:
this.Controls.titled = "DB2 \uE8B4\uADE7\u89A9\uE7AF\uAEE5\u8886\u
90"
^
warning:
^
Line 0005: Reason: 'unsupported escape sequence'
warning:
Line 0005: Reason: 'unsupported escape sequence'
"
variablezh1.sc
", line 6 column 1: warning- Empty bounding box for movie
seems to compile with warnings.
I'll send the files but I resolved this issue (I think).
fontoutline1.sc gave the above error messages. This was caused by my unicode encoding the
UTF-8 not the result unicode strings.
the wrong file is:
fontlutline1.sc :
.flash filename="
fontoutline1.sc" version=6
.font SimSun "SimSun.swf"
.textshape helloworld font=SimSun size=200% text="DB2 \uE8B4\uADE7\u89A9\uE7AF\uAEE5\u8886\uE69E\u90"
.filled filled_helloworld outline=helloworld fill=blue line=3 color=green
.put filled_helloworld
.end
fontoutlinezh2.sc works. It is:
.flash filename="
fontoutlinezh2.sc" version=6
.font SimSun "SimSun.swf"
.textshape helloworld font=SimSun size=200% text="Hello \u8D2D\u7269\u7BEE\u5206\u6790"
.filled filled_helloworld outline=helloworld fill=blue line=3 color=green
.put filled_helloworld
.end