embedding fonts in AIR 2.7 for iOS

Hello

It may take several times, but which is the correct / best way to use the custom in an iOS app fonts?

It seems that using a large number of textfields, the app is smooth anymore.

Is there a magical way that will restore performance? And still be able to use custom fonts?

Kind regards!

The "magic tour" would be to create bitmaps of the textfields and add them to the display list, rather than the textfields.

container is a sprite that has a textfield added to it.

var bmp:BitmapData = new BitmapData (container.width, container.height);

BMP. Draw (container);

var snapshot: Bitmap = new Bitmap (bmp);

Snapshot.Smoothing = true;

snapshot.cacheAsBitmap = true;

addChild (snapshot);

Hope that helps.

Tags: Adobe AIR

Similar Questions

  • With Air 3.4 for IOS, how iPhone 5 are they treated?

    I've developed an application with Air 3.4 for IOS and it seems that the iPhone 5 automatically centers the application using the settings of the iPhone 4 960 x 640, rather than 1136 x 640. Is this correct? I have full-screen enabled in the settings of my 3.4 Air.

    If you include the splash [email protected] image, which would be a 640 x 1136 (your boot of landscape image rotates 90 degrees), it is enough for the iPhone 5 knowledge to fill the entire screen.

    However, if you have downloaded the app to iTunesConnect then, it would probably fail. This is because the standard AIR 3.4 ADT.jar file does not use iOS SDK 6.0. You can move using AIR 3.5 (http://www.adobe.com/devnet/air/air-sdk-download.html), or by getting the patched the ADT.jar file version (see this thread: http://forums.adobe.com/thread/1073656, in particular the "correct" answer upward).

    Once you have built with either 3.5 air, or used the ADT.jar of AIR 3.4 patched version, and you have the picture of [email protected] included, everything should be good.

  • StageScaleMode.EXACT_FIT not taken in charge in air 2.7 for ios?

    stage.scaleMode = StageScaleMode.EXACT_FIT;

    Malfunctioning air 2.7 for ios. It is all messed up.

    That's what my schedule looks like air 2.6 for ios:

    http://literacysoft.com/uploads/2.6.PNG

    That's what it looks like when compiled with air 2.7:

    http://literacysoft.com/uploads/2.7.PNG

    Can I do to solve this problem?

    -Scott

    I think you hit the bug in fullscreen GPU developed 2.7 air (http://forums.adobe.com/message/3747867). He suspects that this is unrelated to the scale mode that you set. To confirm, you can set the renderMode cpu in your xml application. You should not be able to reproduce the bug.

    -Samia

  • Non - embedding fonts using AIR in Flash Professional 3.0 (for iOS Development)

    Hey there,

    We develop Plains AS3 projects (to compile) using Flash Professional and Flash Builder.

    Everything works well with the new 3.0 version of the AIR and performance is better than with AIR 2.6

    I followed this tutorial and similar use AIR instead of AIR 2.6 3.0:

    http://kb2.Adobe.com/CPS/908/cpsid_90810.html

    Unfortunately, today, we have seen a new show with embedding fonts. Using Flash Professional, himself or the Embed tag in the code itself works. We also see that the SWF size does not change when you add more than one font.

    Anyone has an idea where this problem may be caused? I think that how the fonts are embedded changed air 3.0 and it does not work with the 'replace AIR 2.6 with AIR X.Y thing'.

    Any help welcome.

    Best,

    Cedric

    Try the instructions at http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-5b45bb17124b3295cc8-7ffd.html.

  • AIR SDK v23 embedded fonts does not not on Android

    Bug #4182571 - TextField with no embedded fonts does not display international characters on Android

    This means emoji or any language using non-ASCII characters cannot be displayed. Is this a known issue?

    Hi Peter,.

    Yes, this problem occurs with unicode characters and it is known to us.

    We are currently looking into it.

    Thank you

    Adobe AIR Team

  • How to drag a particular area only in the Air for IOS

    Dear friends,

    IAM, creating an app for iOS using Air and AS3. I have a band below my screen I put buttons to click and go to private lessons. IAM creating striking swipe for these buttons. I have this code below:

    Multitouch.inputMode = MultitouchInputMode.GESTURE;

    stage.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    function fl_SwipeHandler(event:TransformGestureEvent):void

    {

    Switch (Event.OffsetX)

    {

    slipped right

    case 1:

    {

    sw_area. Buttons.x += 20;

    break;

    }

    slid left

    box - 1:

    {

    sw_area. Buttons.x-= 20;

    break;

    }

    }

    }

    The code above makes the buttons inside the box to slide to move while sliding on the stage... I want the user to swipe Strip area available instantly drag and drop buttons. If the user swipes on the stage should not move. How can I do? pls help me friends.

    I changed as

    sw_area.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    It does not work. pls help me solve this problem.

    Thanks in advance,

    Syed Abdul Rahim

    Hi friends,

    I've solved, can be usful to others... I used stageY to the control.

    Multitouch.inputMode = MultitouchInputMode.GESTURE;

    stage.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    function fl_SwipeHandler(event:TransformGestureEvent):void

    {

    Switch (Event.OffsetX)

    {

    slipped right

    case 1:

    {

    If {(event.stageY > 650)

    sw_area. Buttons.x += 20;

    }

    break;

    }

    slid left

    box - 1:

    {

    If {(event.stageY > 650)

    sw_area. Buttons.x-= 20;

    }

    break;

    }

    }

    }

  • Animate CC 2015 Air for iOS full screen problem

    Hello team Adobe,

    I made many applications for iOS and Android. And I am facing 1st time a problem only in the Air for iOS. Air for Android works perfectly well. What I'm dealing with that

    even after using this code:

    internship. Align = StageAlign.TOP_LEFT;

    stage.scaleMode = StageScaleMode.EXACT_FIT;

    I see black bands top & bottom of my application. Then I downloaded the new SDK is Air SDK 21.0 but same problem :/ Please tell me as soon as POSSIBLE, why is that happening?

    Thank you

    Saad

    Hi Saad Aftab,

    I tried with the attached draft you shared.

    If this problem could be solved if you add images to your project.

    Please try the application after giving the images of the launch of the publication. The application will launch in full-screen and there will be no black bands if you have already configured the 'true' parameter in app.xml.

    Please let me know if you face any problem.

    Thank you

    Adobe AIR Team

  • the .xml file will not hold the new version I am writing on the 'AIR for iOS settings' window on Flash cc 2015

    Hello

    I need to download a new version of my app on iOS, but the .xml file will not hold the new version I am writing on the 'AIR for iOS settings' window on Flash cc 2015. It keeps appearing as:

    <? XML version = "1.0".

    also when I try to download the new .ipa on iTunes Connect with the Application Loader, I get this message:

    "" "ERROR-ITMS-4238:"redundant binary Upload. " «"" "" There is already a binary download with release ' 1.0.0' train ' 1.0.0 ' "at SoftwareAssets/PreReleaseSoftwareAsset»»»

    The problem is not of Application Loader or iTunes Connect as when I open again the .fla and check the window 'AIR for iOS parameters' he continues to display the 1.0 version over and over again. If Flash isn't that save the .xml file.

    And it happens with all my other apps Android or iOS, old and new versions, all appear as <? XML version is "1.0" on the .xml file.

    Is anyone know how can I solve this problem?

    Thank you.

    There are two different values, the build number and version number. If you use a test flight, you can submit an update without obtaining a review by increasing the build number. If you are submitting an update to an application in iTunesConnect, you must increment the version number.

  • Flash cc could not play video when I change target air 17 for IOS.

    The video works very well when it is in flash player 10 or higher, but when I played in a SWF with air 17 for IOS this is happening. When I wanted to publish this on the iPad device, and when I open the app, it was totally white without even the green bar that you can see in the screenshot.

    Screen Shot 2015-11-05 at 5.30.04 pm.png

    I think it is because you are using a component FLVPlayback stripped, which involves an external file that has code, and which is not allowed in the iOS. Either your H.264 video, which works in Flash player, but not in the iOS.

    If you play FLV, try to adjust the skin of the component to zero, see if the video will be displayed.

  • Is there a way to 'batch' record as very? We have a customer who regularly sends files without all the embedded fonts. To clean the files for digital printing, save us as Postscript and pass them through Distller. "Save as Postscript is most of time consu

    Is there a way to 'batch' record as very? We have a customer who regularly sends files without all the embedded fonts. To clean the files for digital printing, save us as Postscript and pass them through Distller. "Save as Postscript is the longest part of the process, then I would be able to automate it.  Any ideas?

    This is the worst absolute way to embed fonts for PostScript through deletes dynamic transparency, color management, bookmarks, hyperlinks, etc. Yucck!  You are in many ways to ruin the files, do not clean them.

    Acrobat Preflight has a correction for embedding fonts. Takes only a few seconds per file PDF. And if you have a bunch of these files, you can create an action to do this.

    -Dov

  • How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader?

    How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader? I got an error that the version number needs to be updated. I created a new record in iTunes Connect with version 1.1 and I took ownership of my current app 1.1 in air for iOS section in Flash.

    Check your descriptor file to make sure that it shows the updated version, too.

  • File.upload ActionScript does not work on Air SDK for iOS devices

    I try to use the ActionScript File.upload to transfer a file on Air SDK for iOS environment, but the File.upload does not work properly. No event on the file upload handler is executed after File.upload is called, and no exception is caught. When I check the side network traffic server, I found no application http even didn't hit the server after execution of File.upload. The code is below.

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "xmlns:s ="library://ns.adobe.com/flex/spark"title ="HomeView"> "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    private var file:File;

    private var dir:File;

    This method is executed to create a file and download it when you press the download button.

    protected void OnUploadButtonPressed(event: MouseEvent): void {}

    trace ("upload button clicked");

    var urlReq:URLRequest = new URLRequest ("http://10.60.99.31/MyPath/fileUploadTest.do");

    urlReq.method = URLRequestMethod.POST;

    var str:String = "this is test";

    var imageBytes:ByteArray = new ByteArray();

    for (var i: int = 0; i < str.length; i ++) {}

    imageBytes.writeByte (str.charCodeAt (i));

    }

    trace ("size =" + imageBytes.length);

    try {}

    dir = File.applicationStorageDirectory

    I also tested in several different directories

    dir = File.createTempDirectory ();

    dir = File.documentsDirectory;

    var today: Date = new Date();

    var filename:String = 'IMG' + now.fullYear + now.month + now.day + now.hours + now.minutes + now.seconds + now.milliseconds + ".txt";

    file = dir.resolvePath (filename);

    var stream: FileStream = new FileStream();

    Stream.Open (file, FileMode.WRITE);

    stream.writeBytes (imageBytes);

    Stream.Close ();

    Review the content of the file to check if the file is written successfully.

    var readStream:FileStream = new FileStream();

    readStream.open (file, FileMode.READ);

    var: string result = readStream.readUTFBytes (readStream.bytesAvailable);

    trace ("rear read result =" + result); The result is shown here as planned.

    file.addEventListener (Event.COMPLETE, uploadComplete);

    file.addEventListener (IOErrorEvent.IO_ERROR, ioError);

    file.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityError);

    file.addEventListener (ErrorEvent.ERROR, someError);

    file.addEventListener (ProgressEvent.PROGRESS, onProgress);

    file.upload (urlReq); This line does not work. No handler is executed. No http request struck the coast server.

    trace ("after file upload test");

    } catch (error) {}

    trace (e);

    }

    }

    Complete Manager

    private function uploadComplete (event: Event): void

    {

    trace ("Upload successful.");

    }

    IOError handler

    private void ioError (error: IOErrorEvent): void

    {

    trace ("Upload failed:"+ error.text ");

    }

    Manager SecurityError

    private void securityError(error:SecurityErrorEvent):void {}

    trace ("security error:" + error.text);

    }

    Another Manager

    private void someError(error:ErrorEvent):void {}

    trace ("an error" + error.text);

    }

    Progress Manager

    private void onProgress(event:ProgressEvent):void {}

    trace ("progressHandler");

    }

    This method is executed to call the URLLoader.load when the delicate touch.

    protected void OnTrickyButtonPressed(event: MouseEvent): void {}

    var urlReq:URLRequest = new URLRequest ("http://200.60.99.31/"); This points to a server not - exist

    urlReq.method = URLRequestMethod.POST;

    urlReq.data = new ByteArray();

    var loader: URLLoader = new URLLoader();

    try {}

    Loader.Load (urlReq); This line is very important in iOS7. He decides if the latter file.upload may work.

    But in iOS8, file.upload does not work even if that line is executed.

    trace ("after urlloader load");

    } catch (error) {}

    trace (e);

    }

    }

    []] >

    < / fx:Script >

    < s:Button = "200" x = "200" width = "400" height = "200" label = "Upload" click = "OnUploadButtonPressed (event)" / > "

    < s:Button = "200" x = "500" width = "400" height = "200" label = "Tricky" click = "OnTrickyButtonPressed (event)" / > "

    < / s:View >

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------


    When it is run on the simulator of the Air, it works very well as expectedand the file is successfully downloaded to the server. But when run on iOS devices (in my case, iPad), as I explained at the beginning, no event on the file upload handler is executed and not the http request has even hit the server. So I think that the problem may come from the client side.

    During my attempt to solve the problem, I found something complicated about this problem on iOS7. In other words, if you call the URLLoader.load method (although the URLLoader.load points to an address non-existed) before calling the File.upload method, the File.upload will work as expected on iOS7. Specifically, when the above OnTrickyButtonPressed method is run before the OnUploadButtonPressedmethod, File.upload will succeed on iOS7. But this only happens on iOS7. On iOS8, File.upload still refuses to work, regardless of knowing if the URLLoader.load is executed before.

    I think in my case, the problem is not the problem of sandbox or a session of Firefox problem described in the two links below, because not even a http request hit the side server. It seems that the Air SDK for iOS comes to fail send the http reason request any.

    http://StackOverflow.com/questions/5967382/Flex-4-FileReference-issues-with-Firefox

    http://StackOverflow.com/questions/351258/how-do-i-make-Flex-file-upload-work-on-Firefox-a nd-safari

    To make my problem clear, I list my environment below:

    • Development environment: Windows7 (64-bit) / Mac os 10.9.4 (tested on both OS platforms.)
    • IDE: Flash Builder 4.7
    • Air SDK: 3.8 / 16.0.0 (after that I have updated to the latest Air SDK 16.0.0, problem persists.)
    • Application server: Tomcat7 + spring

    Finally, I want to mention that download the file using URLLoader.load isn't an option in my case because I want to download large files in the future, which cannot be addressed with the URLLoader.load.

    I struggled with this for days. If I really appreciate it if anyone has an idea about this.

    Thanks in advance.

    Hi KA RYU.

    We have reproduced the issue successfully, our team would work on it.

    -Tushar

  • 17 ADT of AIR package for iOS fails when you use both "-Yes hideAneLibSymbols ' and '-useLegacyAOT not.

    Hello

    I have a strange problem, and could ' thin t the answer yet on any forum.

    AIR version: 17.0.0.99

    The command-line ADT package for iOS fails when I add the two '-Yes hideAneLibSymbols ' and '-useLegacyAOT no ' and if it also contains the native extensions of .ane, which have been updated to support iOS arm64. "If I take the -" hideAneLibSymbols Yes "part of the command line, it works fine, but I need to use it as well, since I use several native extensions, and otherwise I get the error of duplicate symbol. So, it seems to me that hideAneLibSymbols is also there, then the useLegacyAOT is not taken into consideration.


    That's how I tried to package it:

    ADT-package - target ipa-test - hideAneLibSymbols no useLegacyAOT yes - no - keystore... / Certificates/ASD. P12 - stores pkcs12 - storepass asdasd-putting into service-profile... /Certificates/ASD.mobileprovision asd.ipa asd - app.xml asd.swf assets icons extdir - anes


    How could I solve this problem? I used to .ipa files using Flash Pro CC 2014 compiled, but now I can't, since I can add there Yes hideAneLibSymbols .

    Thank you

    Lehel

    Please try with the latest beta "Adobe AIR Beta 17 |" -development of applications Adobe Labs'and let us know if you still see problems.

  • Download of AIR for IOS via the Application Loader I get the following error - the package does not contain a file Info.plist.

    I publish a .fla in the AIR for IOS.

    I'm in 2014 CC, so first I need to know what AIR I should publish in?

    more recent is AIR 14.0.0.178 for IOS

    IOS deployment type is App Store

    published with no error.

    I see that the following files included app.xml and .swf

    I converted the .ipa to a zip file

    Download through the Application Loader, I get the following error

    The package does not contain a file Info.plist.

    Here is the infoplist for that and convert the .ipa and the info in a zip file?

    I converted the .ipa in a zip file and the intoplist file is NOT THERE how to generate this?

    Any help here?

    the most recent is 16 +, Download Adobe AIR SDK

  • Loading of local swf files with actionscript on air for iOS

    I apologize if this seems like it has already been asked, but I'm not sure that having understood the answer, not on the Adobe site, or elsehwere.

    I am developing an app for iOS, targeting the last 3.9 SDK

    I have a main swf file that loads the local swf files. These local swf files have code actionscript in them. I use Flash Professional CS6.

    I publish the application successfully and everything's fine. When I start the app on the iPad, is the main swf and all is well. When I click on the button that loads the local SWF files, nothing happens. They are not loaded.

    It seems that this has been answered, but I'm losing my mind. I don't know what the problem is. I know that, in version 3.9 Air, it is now possible to load local SWF files are actionscript.

    Air for the Android version works perfectly with these local files loaded and unloaded like a charm.

    Any help would be greatly appreciated

    from the air, 3.6, you can load swf with actionscript and that run actionscript.  before 3.6 air that was not allowed (without additional work).

    but your charger must provide a loadercontext object that uses the current applicationdomain:

    var lc:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain,null);

    yourloader. Load (yourexternalswf.swf, LC);

Maybe you are looking for

  • iCloud storage family sharing

    I upgraded my iCloud to 50 GB storage but my family cannot access family sharing? Can't share us storage iCloud?

  • Security report not visible on the tab in the new version

    Our report used to appear in gray on the edge of the tab, and when you want to enable security, you click it and it goes green. It shows that it works. Now, no report symbol is present so that you can't see if web site like BANK! is protected!

  • Qosmio F10 with mainboard replaced: where can I find the right drivers?

    Hello guys,.Toshiba service replaced it by a new one, including a geforce 6600 gpu on my F10. So, now I formatted the laptop and I want to once again return to work. But I see that there are a few different devices, such as the 6600go gpu. Where can

  • OfficeJet Pro 8600 cannot receive fax

    I just got a Comcast phone line and I can send faxes but not receive.  Do I need a digital analog converter box?  How can I fix it?

  • LabWindows and Vista

    We are about to upgrade to VIsta using LabWindows, and I'm sure that a lot of people out there have experience with this. Y ' All could let me know or give links to: -What need whatch out for -Learn about the issues -Availiblity pilot -No problem wit