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