Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Text not showing on iPhone in AIR app.

Guest
May 08, 2013 May 08, 2013

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.

TOPICS
ActionScript
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 08, 2013 May 08, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 08, 2013 May 08, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 08, 2013 May 08, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 08, 2013 May 08, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 08, 2013 May 08, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 10, 2013 May 10, 2013
LATEST

OK - in case anyone else has the same problem - I solved it by publishing using the latest SDK for iOS. So instead of 3.2.blah blah - using 3.7.blah blah

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines