~ubuntu-branches/ubuntu/jaunty/swfdec0.8/jaunty

« back to all changes in this revision

Viewing changes to test/trace/string-non-ascii.as

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2008-10-10 19:15:24 UTC
  • Revision ID: package-import@ubuntu.com-20081010191524-5z85qiky1d4bvgfa
Tags: upstream-0.8.0
Import upstream version 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// makeswf -v 7 -r 15 -o string-non-ascii-7.swf string-non-ascii.as
 
2
 
 
3
var s = "ölö äägh";
 
4
 
 
5
trace (s.toUpperCase ());
 
6
trace (s.toLowerCase ());
 
7
trace (s.charAt (5));
 
8
trace (s.charCodeAt (5));
 
9
trace (s.concat ("å ", "åå", " å!"));
 
10
trace (s.indexOf ("ä"));
 
11
trace (s.lastIndexOf ("ö"));
 
12
trace (s.slice (3, 5));
 
13
trace (s.substring (3, 5));
 
14
trace (s.split ("ä"));
 
15
trace (s.substr (3, 5));
 
16
 
 
17
getURL ("FSCommand:quit", "");