git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AIR] Font of loaded swf is lost


Is this a desktop app or mobile app?

Is the shell written in Flex?  Is the loaded SWF?

For desktop, there should be code in the framework that should get this right most of the time.  The rule is that the SWF that contains the embedded font must be used to generate the TextField or TextLine that displays the font.  As soon as you have more than one SWF running, you can run into problems because the way ApplicationDomains work cause your code to want to always instantiate TextFields and TextLines in the first SWF loaded.

For Mobile, I'm less clear on the rules since the SWFs are no longer SWFs in IOS, IIRC

HTH,
-Alex

On 4/24/18, 1:35 AM, "Olaf Krueger" <mail@xxxxxxxxxxxxxxx> wrote:

    I also just noticed that the FontAwesome fonts which are part of the SDK also
    doesn't work within the swf which was loaded dynamically at runtime.
    
    Thanks,
    Olaf
    
    
    
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C08c9f1cbbe71455126c308d5a9be5ccc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601557530327738&sdata=txvY391u1BtFIFFXpo9ETNKP8RS8ML3N2UMDD4P6zbM%3D&reserved=0
    



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flex-development/msg02493.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0020364568{main}( ).../msg02493.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flex-development/msg02493.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0020364568{main}( ).../msg02493.html:0