Skip to main content
May 8, 2013
Question

Text not showing on iPhone in AIR app.

  • May 8, 2013
  • 1 reply
  • 1170 views

Hi

I'm guessing this is a fundamental misunderstanding on my part about iOS and Android development.

I've created a movieclip in Flash Pro, which is made up of some bitmaps and text fields (dynamic, input and static). The bitmaps I imported and dragged onto the stage, and the text fields I created in the IDE using the text tool.

I've embeded the font by clicking EMBED next to the syle drop down, and checking uppercase, lowercase, punctuation, and numerals.

Publish and load the ipa onto my iPhone.

The images and layout look fine, however not text is displayed.

Am I supposed to somehow export the font when I publish the fla?

Any tuts out there for creating iOS and Android apps using the IDE as well as code? The tuts and book I have are really good at showing you how to set up your iPhone dev account, set up provisioning profile etc, but when it comes to creating the app focus mainly on importing all your assets and creating text fields using code. I usually build my views in the IDE, and export them as a class - especially if they involve a fair whack of graphical layout.

Thanks for your guidance.

This topic has been closed for replies.

1 reply

Nabren
Inspiring
May 8, 2013

For some reason even though I check the right boxes in the Font Embedding window I have found in some cases I still have to explicity define the characters I want in the "Also include these characters" box. Try explicity defining them there and see if it fixes your issue.

May 8, 2013

Thanks Nabren, but no go.

Should I be ticking the export for actionscript for the font? I figured I only need to do that if I am referencing the font in code.

May 8, 2013

Exporting it made no diff.

It's Arial regular.

I noticed that the sample apps from the book Professional Flash Mobile Development: Creating Android and iPhone Applications aren't showing their text when I install their ipa's either.

So you can make text appear in your apps when creating a textfiled in the IDE? What font are you using?


OK - I can get a hello world working in a new test fla, so I'll work backwards on my other project to see where I'm going wrong.