Sample: Unicode.vbs - use Unicode text in flash movie generated by SWF Scout
This example demonstrates using Unicode text in flash movies generated by SWF Scout.
This example uses non-embedded font symbols. If you see corrupted symbols then it means that you don't have Arial Uniciode MS installed on your computer. In this case check UnicodeWithFontEmbedding example where the flash movie uses embedded Unicode symbols.
Generated flash movie with Unicode text (you can edit Unicode text inside this flash movie):
IMPORTANT NOTE: This sample requires Arial Unicode MS Unicode font installed on your computer.
VB Source Code:
W = 640 H = 480 Set Movie = CreateObject("SWFScout.FlashMovie") Movie.InitLibrary "demo","demo" ' Initialize and start movie generation Movie.BeginMovie 0,0,W,H,1,12,6 Movie.Compressed = true Movie.SetBackgroundColor 255,255,255 Font = Movie.AddFont( "Arial Unicode MS",10,true,false,false,false,0) Text= Movie.AddTextEdit ("EditText","init string",0,0,0,255,Font,0,0,W,H) Movie.TEXT_LoadFromFile "UnicodeInput.txt", true Movie.TEXT_WordWrap = true Movie.TEXT_Multiline = true Movie.PlaceText Text, Movie.CurrentMaxDepth Movie.ShowFrame 1 Movie.EndMovie Movie.SaveToFile "Unicode.swf"
Download source code: