package hosts { import flash.html.*; import mx.core.Application; /* *** | CustomHost extends HTMLHost in order to detect the new title *** | of each page */ public class CustomHost extends HTMLHost { public var title : String; public function CustomHost() { super(true); } override public function updateTitle(winTitle:String):void { Application.application.title = " "+ winTitle.substr(0,40) + " - SmartFox"; this.title = winTitle; } } }