Jump to content


  • Posts

  • Joined

  • Last visited


0 Newbie
  1. Of course it is Thanks.
  2. I'm using Flash CS5 "new" font embedding to create a font swf and than I'm trying to get access to the shared font in the loaded swf. Using Adobe Loader class I just access the: evt.currentTarget.applicationDomain.getDefinition("FontName") and all is fine. But I can't do it with the SWFLoader. When I'm using evt.currentTarget.applicationDomain.getDefinition("FontName") I get Property applicationDomain not found on com.greensock.loading.LoaderMax And when I'm using : LoaderMax.getContent("FontName") I get Parameter must be non-null. so my wrong code is: ... queue.append( new SWFLoader("fontFile.swf", {estimatedBytes:15000, container:this}) ); queue.load(); ... private function onFontLoaded (evt:LoaderEvent):void { var FontLib:Class = LoaderMax.getContent("FontName") as Class; ... } * fontFIle.swf contains a font with a linkage name of "FontName". What am I doing wrong ?