Home

SWF Scout

SWF Scout screenshot (click to enlarge)



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


Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement