Skip to main content
May 8, 2013
Question

Text not showing on iPhone in AIR app.

  • May 8, 2013
  • 1 reply
  • 1173 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.

Nabren
Inspiring
May 8, 2013

Ya, you shouldn't need to export it for ActionScript - however, it couldn't hurt to export it even if you don't use it since it's being published with the FLA anyway.

Another thing to make sure of is that you are not using a style (italic, underline, bold, etc...) that the font does not support.