SWF Scout |
How to force use of UNICODE symbols for replaced text in flash (SWF) template (C# language) Download source code of this example (Visual C#): swfscout_forcing_unicode_for_text_replacements.zip (200KB) Source code: ' IMPORTANT: in this C# example UNICODE text
is used in .AddTemplateRule_Text parameter private void Form1_Load(object sender, System.EventArgs e) Movie.BeginMovieFromTemplate("template.swf", true); // template.swf Movie.AddTemplateRule_Text("setmyname", "UNICODE://degistiriyor", true); // UNICODE string. UNICODE:// will be removed automatically as indiciates UNICODE symbols even if non-UNICODE text was used in initial template Movie.ProcessTemplateRules(); Movie.EndMovie(); Movie.SaveToFile("final.swf"); Process MyProcess = new Process(); // Set the file to open Download source code of this example (Visual C#): swfscout_forcing_unicode_for_text_replacements.zip (200KB) |
|
|
||