TextArea Clipping in Air 3.9 on iOS7

I hope someone can help here as this is driving me crazy
I am using the TextArea mobile component for Flex (yes, I know that it is Apache now, but someone on here hopefully can help!) and using it in the most vanilla way, but whatever I do I get clipped text at the start (see attached image)
  <s:TextArea id="text" width="100%" height="260" />
I have tried standard system fonts, declaring the skins specifically such as
  <s:TextArea id="text" width="100%" height="260" skinClass="spark.skins.mobile.StageTextAreaSkin"  />
  <s:TextArea id="text" width="100%" height="260" skinClass="spark.skins.mobile.TextAreaSkin"  />
But it all has the same effect - the far left of the text is clipped. Now, I am sure it is something in the skin but I cannot track it down, and it does not happen in the TextInput skin, but TextArea is far more complex due to scrolling etc. I have actually also tried using the StageText object directly in ActionScript but it has the same issue, so I have started to think that it is perhaps something in Air. I am using the latest Air 3.9 beta and Flex 4.10 on iOS7, although it is on iOS 6 too.
Can anyone shed some light on this? It is driving me nuts!
Thanks

I have used the actionscript code without using any flex components.
You can try the following code snippet:
    import flash.display.Sprite;
    import flash.geom.Rectangle;
    import flash.text.StageText;
    import flash.text.StageTextInitOptions;
    import flash.text.TextFormatAlign;
    public class StageText_align extends Sprite
        private var nativeText:StageText;
        public function StageText_align() {
            nativeText = new StageText(new StageTextInitOptions(true));
            nativeText.stage = this.stage;
            nativeText.viewPort = new Rectangle(30, 37, 200, 106);
            nativeText.textAlign = TextFormatAlign.RIGHT;
            nativeText.text = "Stage text right aligned";
-Pranali

Similar Messages

  • Textarea clipping

    Since I updated to latest AIR 3.9 beta the leftmost part of the text in spark TextAreas get clipped on iOS7 (Android is OK). Just a couple of pixels but bad enough. It looked fine in 3.8.
    The skin I've used are both the mobile.TextAreaSkin and the StageTextAreaSkin (same problem). Anyone else has this problem?
    Could it be worked around in a custom skin?
    Unfortunately this seems to still be the case with the AIR 3.9 release version.

    As the other bug was closed as a duplicate, here is the link to the current one in case anybody else wants to vote:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3648239
    And, yes, it sucks that something like that could even have made it through testing, let alone into release. This is _FAR_ from being a minor cosmetic issue... It needs to be resolved.

  • Is there a way to update Flash Professional CS5 / Air to publish for iOS7?

    Hi all,
    I'm fairly un-knownledgeable about AIR but here's my issue:
    I've been developing and prototyping an app in AS3 for some time- publishing to iOS from the iPhone OS Settings in Flash Professional CS5, and testing on my iPhone 4. However, ever since the iOS7 update, when my app runs on my iPhone it simply turns white. Too old a version of AIR, incompatible with iOS7? CS5 has AIR 2.0, and I've gone through steps to try and replace and update it with 3.9, though I can't find any tutorials or info on how to do anything earlier than CS5.5.
    Having swapped some files around to get Flash to recognize AIR 3.9, the best I was able to get happen was for Flash to run the app in debug mode but instantly close it.
    Any way I can update CS5 to support iOS7 Publishing?
    thanks

    I've got my .bat file fully written out, but now the error the command-window brings up is:
    'java' is not recognized as an internal or external command, operable program, or batch file.
    The entire contents of the adt file in the AIR 3.9 compiler package is:
    @java -jar "%~dp0\..\lib\adt.jar" %*
    I have little idea what this means, though I do have the latest version of java. The compiler package I'm using is the one found here: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html -the Adobe AIR 3.9.1030 SDK & Compiler Windows (218.2 MB).
    Further ideas? Thanks so far

  • AIR 3.9 and iOS7 Build Release .ipa File Cannot Start

    I build a release build .ipa file and installed on iPad running on iOS 7.0.3. But weird because my app stuck on start screen with my logo.
    Debug .ipa file is running correctly, just problem with the release build .ipa.
    I build using Flash Builder 4.7. If I build using IntelliJ IDEA the app icon grayed and cannot be opened.
    Any idea what's going on with my build file?

    You're right, I didn't realize if there's an error on the top of my debug console:
    MATE Error: Method not found, turn on the debugger for more information
    EventType:config event. Error was found in a EventHandlers list in file ApplicationEventMap
    I'll try to fix this. But on my recent build, the file cannot be installed successfully on iOS7. The icon turned gray and when I press the icon, it will shows "installing" forever.
    ---UPDATE
    No error anymore on debug mode. But still the same problem
    And the "installing" forever problem was because I use wrong provisioning key.
    Once the application start, it stucks on splash screen just showing my logo. I've wait for a couple mins but nothing happened.

  • Why are the games in my new ipad air are so slow ios7.0.4

    The games are slow in my new ipad air can any one answer the solution of this the games such as asaphalt and subway surfer are slow

    Most likely the tower near your area is over congested or is getting upgraded. Call ATAT and they should be able to tell you. I hope you get this issue fixed.
    Have a good day

  • HT4437 Can't find air play to connect my Bose sound link air can anyone help ios7 I think

    Hi can anybody help can't find air play icon so I can play music through a Bose  sound link air

    The speakers and your iPad must be active on the same WiFi network before the AirPlay icon will appear. Have you followed the directions from Bose to set up WiFi on the SoundLink?
    http://worldwide.bose.com/downloads/en/web/bose_soundlink_air_download/page.html

  • AirDrop not working properly between iPhone 5 and iPad Air. Both using ios7

    It's working very intermittently, the airdrop button inside Share is not responsive when touched

    Read this:
    http://help.apple.com/iphone/7/#/iph1849bcae

  • IOS7 Orientation/AspectRatio Bug AIR 3.9

    I have discovered a new bug in AIR 3.9 on iOS7. I am testing on iPAD2
    How to replicate:
    Create an app that auto-orient to any direction.
    Create 1 button at the very top left that when clicked runs the following code:       this.stage.setAspectRatio(StageAspectRatio.LANDSCAPE);
    Hold your device in portrait mode with the home button at the bottom.... and run the app.
    When the app boots up, click the button on the top left.
    The app begins to rotate from portrait to landscape (as expected) but there is a problem. The stage has somehow offset itself.
    The top left of your screen is no longer 0,0..... it is now 20,-20 (making your entire app look misaligned)
    Here are some screenshots for proof (I outlined them so you can see the stage size)
    Portrait mode before clicking the button:
    Landscape Mode After clicking the botton:
    I made my button with rounded corners so that you can see it being off the stage.
    I tried this on Android and it doesnt seem to happen.. I'm guessing maybe this has something to do with the iOS Taskbar change.... because the amount it is offset is 20, (the taskbar height in non-retina)... though I'm not sure why it's offseting the X
    Here is the project if you want to test it yourself:
    http://www.filedropper.com/forcelandscapeorientation
    Anyone else experienced this?

    Yup we are also getting the same problem
    (https://bugbase.adobe.com/index.cfm?event=bug&id=3658334)
    But for us it is 100% reproducable on Ipad, Just rotate the device when the splash screen is visible and it crashes , we even tried to disable rotation but does not help. this bug only happen in IOS7/AIR3.9

  • IPad Air, iOS7 - Random Hanging Issue

    I have this issue that seems to be happening more and more lately but is still random so I can't pinpoint it.  Has anyone experienced similar and perhaps know the underlying issue?
    Using an iPad Air (128Gb) with latest iOS7, I have noticed issues where it seems the system just freezes for like 20-30 seconds.  For example, on the home screen you press "Settings", you then get the white screen with the vertical divider but no icons.  It just sits with the white background for 20-30 seconds, then everything appears as normal.  I have had this happen numerous times when going into settings to connect to a bluetooth device.  I have also seen similar when pressing an icon on the main screen, it darkens (registering the touch) then just sits.  Again 20-30 seconds later the app opens as expected and works fine.  I have stopped all apps, and shutdown/restarted the iPad a few times but this still occurs.  The problem is, it is random so not everytime you open settings does it do this.  So I'm having trouble pinpointing where the issue is coming from.  Any ideas?  I don't really want to do a restore as it does work fine for the most part.  I'm hoping that it is just a bug in iOS7 and that the next  update may correct it.

    Realize this is old, but how many apps do you have installed?

  • 11/12/2013 - Release - AIR 3.9 Runtime and SDK

    Today we're pleased to announce that the next version of AIR is available for immediate download.  This update includes the following new features and improvements:
    New Features:
    Mobile Workers (concurrency) BETA - Android
    Our hugely popular desktop feature, AIR Workers, is now making its debut on mobile! We have added support on Android devices so that you will be able to execute code in the background without interrupting your application’s main code. Your UI will remain responsive, enhancing the user experience. We haven’t forgotten about iOS! Look for news on iOS workers in an upcoming release (NOTE: this feature will undergo an extended beta period.)
    AIR Mobile Support for Background Execution in “Direct” Render Mode
    AIR now supports background execution on iOS and Android when render mode is set to “direct”. This will allow your applications to perform tasks such as audio playback even when invisible to the user. Due to power and CPU considerations, we recommend reviewing our release notes for additional details and guidance.
    In the past AIR on iOS and Android did not support background execution when render mode direct was set.  Due to this restriction, Stage3D based apps were not able to execute background tasks like audio playback, location updates, network upload/download etc.  iOS does not allow OpenGLES/rendering calls in the background.  Applications which attempt to make OpenGL calls in the background are terminated by the iOS.  Android does not restrict applications from either making OpenGLES in the background or other background task(like audio playback).
    With this feature, we will now allow AIR mobile apps to execute in background when renderMode direct is set.  AIR iOS runtime will throw an error if OpenGLES calls are made in background.  However no error will be thrown on Android, as Android native apps are allowed to make OpenGLES calls in the background.  It's recommended to not make rendering calls while your app is executing in the background as its important to utilize the mobile resources judicially.  The following is a list of Stage APIs which may throw the error 3768 - The Stage3D API may not be used during background execution.  The swf version should be 22 and above.
    Context3D.clear
    Context3D.present
    Context3D.createVertexBuffer
    Context3D.createIndexBuffer
    Context3D.drawToBitmapData
    IndexBuffer3D.uploadFromVector
    IndexBuffer3D.uploadFromByteArray
    VertexBuffer3D.uploadFromFloat
    VectorVertexBuffer3D.uploadFromFloat4
    VectorVertexBuffer3D.uploadFromByteArray
    Program3D.upload
    Texture.uploadCompressedTextureFromByteArray
    Texture.uploadFromBitmapData
    Texture.uploadFromByteArray
    CubeTexture.uploadFromBitmapData
    CubeTexture.uploadFromByteArray
    CubeTexture.uploadCompressedTextureFromByteArray
    RectangleTexture.uploadFromBitmapData
    RectangleTexture.uploadFromByteArray
    AIR Support for iOS7
    iOS7 has launched and we are making sure that AIR is compatible and performs as expected.
    AIR Mac OS 10.9 Support
    We have tested against the latest developer releases of OS X 10.9 and are making sure that your applications support the latest technologies such as “App Nap”.
    AIR XXHDPI (144 x 144) Icon Support for Android
    With this feature we have added support for beautiful, high resolution icons on devices such as the Nexus 10.
    Notable bug fixes:
    [3650590] [OSX] - App Updater Crashes on MacOS with Air 3.9
    [3648442] [iOS7] - Leftmost part of the text in spark TextArea and stageText get clipped when mulitline property is true.
    [3640207] [Android] [Captive Application] - orientationChange event handler fetches wrong stage.orientation values.
    Known Issues:
    [3616981] [iOS] - Sound gets stop on clicking Power button even when UIBackground tag value set to Audio in application.xml
    For further information please see our release notes.
    Download Locations:
    AIR 3.9.0.1210 runtime for Windows: 3.9 Runtime Download
    AIR 3.9.0.1210 runtime for Macintosh: 3.9 Runtime Download
    AIR 3.9.0.1210 SDK & Compiler for Windows: 3.9 SDK & Compiler Download
    AIR 3.9.0.1210 SDK & Compiler for Macintosh: 3.9 SDK & Compiler Download
    Note: To provide all the all the necessary tools for our developers in one place and avoid having to download multiple components, we are packaging Adobe AIR 3.9 SDK and ActionScript Compiler 2.0 in a single SDK called “Adobe AIR 3.9 SDK & Compiler”.
    AIR SDK 3.9.0.1210 (Compatible with Flex) for Windows: 3.9 SDK Windows Download
    AIR SDK 3.9.0.1210 (Compatible with Flex) for Macintosh: 3.9 SDK Macintosh Download
    Previous versions of the AIR runtime and SDK can be found on the Archived AIR SDK and Runtimes page

  • I just upgraded my iPad to iOS8.  I use VPN for work, when I start Safari up with the VPN on, Safari crashes the VPN.  VPN stays up when I use Chrome or Opera, but not Safari.  I had no problem with iOS7.

    I use my iPad for work when I'm out of the office.  I have to use VPN to access my company's applications and servers.  I just upgraded my iPad (an iPad Air) to iOS8 from iOS7.  Now, every time I start Safari up, it crashes VPN.  If I use either Chrome or Opera, the VPN stays up.  It also works fine with Mail, etc.  Only Safari crashes the VPN.  Anyone else experiencing this?  It always worked fine with iOS7.

    More info, it's not simply when I start up Safari, it's when I open multiple tabs and go from one tab to the next in Safari.  Doing this sporadically caused the VPN to turn off.   It happens whether I'm on a work web page, or I simply open up several public sites like CNN, MSN, etc.  I've had to go to using Chrome all the time when using the VPN so that the VPN will stay up (it stayed up all day yesterday while I was on Chrome, while using work web sites, and public web sites).  I tried getting back into Safari at the end of the day, opened a couple of tabs, went back and forth to the opened tabs and VPN immediately shut off.

  • IPad air syncing problem of video

    When sync the photo and video from PC to iPad air, the video only shows just a photo in the iPad air, can't play. But iPad 2 is no problem.
    iPad air was sync under ios7.0.4, the iPad 2 was sync under ios6.

    Since these same songs will sync to your other Apple devices, that would rule out the songs being in the wrong format, or any other issues with the way that they were ripped.
    Your iPad charges from the power socket normally and connects to iTunes OK, so that rules out the cable. The USB ports on some computers do not supply enough power to efficiently charge the iPad and while the iPad may in fact be charging, you will see the "not charging" message.
    Check is in the Summary. Pane of iTunes when the iPad is connected to see if you have Manually Manage Songs and Videos selected. If you have it selected, unselect it and sync again.

  • I cannot watch a rental video nor take a video clip on my ipad 2 since downloading iOS 7.

    I cannot watch a rental video nor take a video clip on my ipad2 since downloading ios7. Help

    Any error message?
    Can movie be download to iPad?

  • Which case to pick for 5G 30gb (and I have the Altec IM7 specker dock)?

    I have the Altec IM7 speaker dock (which is GREAT!) but this means I need to remove any case before docking my ipod. I can't decide between the following cases (all of which I have read great reviews on, but I need to know which are the easiest the take off, as I will be doing that frequently...)
    I plan to keep the ipod in the case (for scratch & shock protection) when I take it out of the IM7 dock.
    Iskin's Evo3 .... which looks the best, but is it hard to remove/put on? I really like the clip and air holes in back.
    Speck Products' SkinTight ... easy on/off? will frequent on/off cause problems with the screen protector part (maybe dislodging it, then causing scratches?)
    Speck Product's See-Thru ... these look sexy, keeping the shiney look of the ipod, but they are also so new, no reviews around, has anyone got ones? how easy for on/off? will heat build up under the hard cases if on for long periods?
    Agent 18's Hard Case ... nice clear look, but how easy for on/off? Heat build up issues?
    Thanks in advance for your comments!
    - A new Happy Ipod Owner

    5G 30GB and 60GB iPods in iSkin's evo3 case fit in Apple's Universal Dock, with no insert.
    Easy on; haven't removed it, but it should come off easily.
    One quibble: The Hold Switch cover on the case. It takes a certain techniqe with a fingernail on either end of the cover to move the underlying Hold Switch. iSkin doesn't say anything about this in the instructions. Once learned, it's easy to put the iPod on hold.
    Recommend.
    Bucky

  • Can i transfer pages, numbers, keynote from my ipad to my mac

    i recently bought an ipad and was wondering if i could be able to transfer  these 3apps, : pages,keynote,numbers frm my ipad to my mac book air through icloud. these 3 apps r required to be bought on apps store on macbook air, but free on iOS7 ipad, so that's d prob.

    You can transfer them to your iTunes library (by connecting your iPad to your computer, opening iTunes and going to File>Devices>Transfer Purchases) and then sync them to your other iOS device.  However, the iOS version of the apps will not run on your Mac, if that's what you're trying to do.  The Mac versions are different and must be purchased separately from the Mac App Store.

Maybe you are looking for

  • How do I add pics from my PC to my phone in several folders?

    I would like to find a simple tutorial for this function but all the tutorials deal with music and I have ZERO interest in putting music on my phone. I would like to put pictures from my PC on my phone. I have managed to transfer entire folders sever

  • Flash Player 9 works on Firefox 2 and Netscape Navigator 9, but NOT on Safari 3

    After hours of uninstalls/reinstalls of the most recent release of Flash Player, repairing of disk permissions, and a number of other moves to fix Safari ... so Flash content would play, I stumbled onto a semi-obvious fix. Safari's "Preferences..." m

  • 2 tier and 3 tier

    what is 2tier archiyecture and 3 tier and difference between them? please give me solution for this ..

  • GLib error with uninitialized memory

    Hi, Maybe I have stupid problem but I have problem with call MC (Midnight Commander) application. I'm login as root in SSH console and after login to other user account, ex. su USER I have error during call MC application: (mc:5397): GLib-WARNING **:

  • How to write array list to file ?

    Hi everyone, I got a arraylist binaryEncodedData and I want to write to file. how do I make it into a HexString ? I had tried to convert it this way and it doesn't work. I try to print out the temp value but there was nothing . Please help, thanks by