Home
We need your feedback!

SWF Scout

SWF Scout screenshot (click to enlarge)


Subscribe to Our Bi-Monthly Newsletter (tips, new releases, specials):
 Subscribe in a reader
 PRODUCTS  |  DOWNLOAD  |  PURCHASE  |  SUPPORT  |  TESTIMONIALS   |  NEWS  | 

SWF Scout ActiveX/NET library

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
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.

  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



HOME  |  CONTACT US

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.