|
Using Unicode text in flash movies generated by SWF Scout
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
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 |
|
|
Copyright © ByteScout, 2003-2010. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks. |
|