package { import flash.display.*; import flash.text.*; import flash.external.ExternalInterface; public class AppVTitleSetter extends Sprite { private var greeting:TextField = new TextField(); public function AppVTitleSetter() { greeting.text = "Application Virtualization is super cool!"; greeting.width = 600; greeting.x = 100; greeting.y = 100; addChild(greeting); ExternalInterface.call("setTestValue"); } } }