Skip to main content
Inspiring
September 22, 2014
Answered

AIR 15 on iOS tlfText not rendering

  • September 22, 2014
  • 4 replies
  • 2293 views

I think I have a bug but I'm still not convinced that it's AIRs fault.

I have an AIR application publishing for iOS, Android, Windows and Mac.

I'm using Adobe Flash Professional CS6 version 12.0.2.529

I have a header positioned at 0,0 where I place two TLF textfields and some buttons. When I run on iOS 8 published as AIR version 15 I do not see my text, the buttons display just fine. When I run on Android, Windows or Mac published as AIR 15 the text is fine. I positioned my text below the header (thinking maybe it was black text on a black background - don't tell me you've never done that!) - The result proved the text was there (the 'body' is positioned under the header and was pushed down when I did this) - but I still couldn't see my text.

When I compiled my application with AIR 14, everything was fine, the text displayed just like on Android, Windows and Mac published with AIR 15.

The funny thing is I'm using tlfText exclusively throughout the application and ALL OTHER INSTANCES are fine, it's just these two text fields don't render on iOS.

On a side note, in all cases I set my tlf text using tlfMarkup (I mention that because it doesn't appear to be very popular as I can't find many articles or support about it, I'm starting to regret this choice)

Any suggestions are appreciated.

UPDATE:

I've tried compiling with AIR 15.0.0.249 and AIR 15.0.0.274 (BETA) but the issue still exists.

This topic has been closed for replies.
Correct answer aUniqueScreenName99493093

I was told adobe no longer supports the tlftextfield. I had to switch everything to text flow. After I got started it was an easy transition.

4 replies

Adobe Employee
October 16, 2014

Hi,

As a workaround use old AOT.

Package the swf and xml using the below command:

adt -package -target ipa-app-store -useLegacyAOT yes -provisioning-profile "AIR_iOS_Enterprise_Profile.mobileprovision" -storetype pkcs12 -keystore "Certificates.p12" -storepass <password> <.ipa> <.xml > <.swf>

Pouradam
Inspiring
October 16, 2014

Hi and thanks a lot for your reply,

I am a bit confused and new to this concept as I was always generating iOS files in Flash CS6 easy as pie!

Back to this workaround, I have some questions, sorry if they are obvious in your point of view:

1- is AOT the same as ADT?

2- when I copy a CMD file in the same location as my fla and other assets, and then copy and paste this code in it:

F:\sdk\bin\adt -package -target ipa-app-store -useLegacyAOT yes -provisioning-profile "Hajj.mobileprovision" -storetype pkcs12 -keystore "Hajj.p12" -storepass myPass Hajj.ipa Hajj-app.xml  Hajj.swf

I get some errors related to my Icon files like this:

.xml: error 303: Icon icon/icn_48.png is missing from package ... (also other icons)

While they are obviously located there in icon folder as mentioned in XML:

<image48x48>icon/icn_48.png</image48x48>

...

- Also I have no idea how can I include other files and folders using this cmd method??

Sorry I am not good in CMD, as I have been always counting on Adobe Flash CS6 for Packaging my iOS files with no such troubles!

Adobe Employee
October 17, 2014

Please find the answers to your queries below:

1. AOT is different from ADT.

2. You should include the resources in you command as:

F:\sdk\bin\adt -package -target ipa-app-store -useLegacyAOT yes -provisioning-profile "Hajj.mobileprovision" -storetype pkcs12 -keystore "Hajj.p12" -storepass myPass Hajj.ipa Hajj-app.xml  Hajj.swf <resource folder/>


Thanks.

Adobe Employee
October 8, 2014

Could you please share "tlfruntime.swc" file with us.

Location: C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0\libs\tlfruntime.swc

Thanks.

Inspiring
October 8, 2014

I don't see how to attach a file.

Pouradam
Inspiring
October 8, 2014

I suppose you should attach that in your Bug report page! I also did the same in here for the same issue:

Bug#3835226 - tlfText fields in Flash CS6 not being updated in Air 15 for iOS (something missed in the iOS packed file)!

Pouradam
Inspiring
October 4, 2014

I also have the same problem that makes me sure it is a BUG:


- all my tlfTexts does not render at all.

- I am using Air 15.0.0.302

- in Flash Professional CS6.

- render mode "CPU".

- I checked this on iPad 2 (iOS 7).


While if using Air 14, I have no problem at all so my code is correct (Also I have uploaded the same App to Google Play) But for iOS, if I target Air 14, I get the ERROR-ITMS-9000 while uploading to Apple, and if I target Air 15, I have this new issue!!


Any help please????

aUniqueScreenName99493093AuthorCorrect answer
Inspiring
October 4, 2014

I was told adobe no longer supports the tlftextfield. I had to switch everything to text flow. After I got started it was an easy transition.

Pouradam
Inspiring
October 5, 2014

Thanks a lot for your reply and suggesting "Text flow" to be replaced by "tlfText" fields if i am right? I have no idea what is "Text flow" and if it really can support RTL languages like Arabic/Persian and other controls I need on texts like tlfText?? Would you please offer me a link in this case so that I also start transition faster?? Have a nice week-end.

chris.campbell
Community Manager
Community Manager
September 22, 2014

Thank you for the heads up.  Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include some sample code or application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com). 

Once added, please post back or email me the bug number and I'll follow up internally.

Thanks,

Chris

Inspiring
September 22, 2014

Mr. Campbel,

Thank you for responding to my issue on the Adobe Forum. After I wrote that I did submit a bug report (https://bugbase.adobe.com/index.cfm?event=bug&id=3829668)

This application has maybe 36 text fields, all using TLF and all created in the exact same way but only these two are not displaying. At first I assumed it was something I'm doing wrong, but the more we look at this we think it's a bug in AIR (or iOS)

My employer will not allow us to post script online even in cases like this. I'm not really sure how to assist you. I will try to remove everything from my application leaving just this error but that will take me some time.  Can I email you when I have something?

Thank you for this and for YEARS of helping me.

chris.campbell
Community Manager
Community Manager
September 22, 2014

Thank you for the bug report.  Anything you can send me to help expedite the process with QE would be appreciated and held for internal use only.  Please feel free to reach out to me via email anytime.

Thanks,

Chris