Skip to main content
Known Participant
August 20, 2015
Question

StageText not auto-completing

  • August 20, 2015
  • 1 reply
  • 454 views

Using FlashDevelop with AIR SDK 17, FD is not recognizing flash.text.StageText as far as code insight, code completion etc.

I'm guessing that I need to manually include one of the SWCs from the Flex SDK? Which is funny because Flash CC 2015 seems to recognize it just fine with the same AIR SDK (not Flex SDK).

What's up?

This topic has been closed for replies.

1 reply

natural_criticB837
Legend
August 23, 2015

Are you sure are working with an Air project template instead of a Flash project? StageText is only supported for Air.

Known Participant
August 25, 2015

You're totally right, but I already knew that, and my question was about which SWCs from the Flex/AIR SDK I need to include in order to get auto-completion. The StageText components are compiling OK with Flash: it's just code hinting /insight that's not working. Typically you have to manually include some of the SWCs inside the AIR/Flex SDK. I just don't know which ones they are. Hoping someone from the community knows and is willing to share that info!

Thanks!

natural_criticB837
Legend
August 26, 2015

Okay I cant test it right now, but in case the swcs are correctly included but just refuse to show up in autocompletion, this will help: Find the .swc file and rename it to zip. Extract all files from the zip to your file system. Then create a new zip file including all files that you extracted and rename it back to .swc. FlashDevelop does not understand all zip algorithms and therefore will fail to show autocomplete for some. Maybe it helps.