git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed space char detection bug
[swftools.git]
/
lib
/
as3
/
ok
/
cdata.as
1
package {
2
import flash.display.MovieClip
3
4
public class Main extends flash.display.MovieClip {
5
6
function test()
7
{
8
return (<![CDATA[[0][]]<]>]]].]].]>.]]]>).toString();
9
}
10
11
function Main() {
12
if(this.test() == "[0][]]<]>]]].]].]>.]")
13
trace("ok");
14
else
15
trace("error");
16
trace("[exit]");
17
}
18
}
19
}