Skip to main content
Participant
March 3, 2013
Question

air 3.6 and the fl package

  • March 3, 2013
  • 1 reply
  • 2198 views

I just switched over to air 3.6 in Flash Professional. I'm compiling with air 3.6.0.5990 which I believe is the latest version. When I start a new Actionscript 3 file, and include a TLFTextField, and then compile for Air for IOS the app won't run. The initial loading screen (e.g. default.png) comes up, and then I simply get a blank screen and nothing happens. If I take out the TLFTextField, then it works (for example, if I draw a simple circle on the stage just to test if it is rendering). My main application I develop will not run as well. I get the same issue - simply a blank screen. It's a frustrating problem as there isn't really a way to debug - if an incorrect element (like TLFTextField) is included it simply doesn't run. I took all of the TLFTextField elements out of my app and it still just has a blank screen on IOS. Things work fine with Air 3.4.

I've noticed that all the fl package elements have been removed from the actionscript documentation. I use many controls from the fl.controls. package, for example. Has the entire fl package been deprecated? (it's frustrating it's simply gone from the documentation as well - I haven't been able to find any indication anywhere why it has been removed or even that is has been removed. It's just gone. It feel a little twilight zone'ish - feels like I was the only person using it lol, even though Flash CS6 has an actual UI to pull those elements in).

Does the entire fl package not work any more?

Any suggestions on how to debug this type of situation and find other items like TLFTextField that no longer work, so that I can remove them and get my apps working on IOS?

Any suggestions on what I can use to replace all the fl.controls elements I am currently using?

thanks

Tom

This topic has been closed for replies.

1 reply

Participant
March 5, 2013

update - I was able to use fl.controls objects with air 3.6. That wasn't the issue. The problem was with a movieclip object in the library that had a TLFTextField object in it. Air 3.6 for iOS won't run at all if there are any TLFTextField objects instantiated.

It would still be nice to hear from someone at Adobe why fl.controls objects were removed from the actionscript reference

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html

Participating Frequently
May 1, 2013

I am having the same problem. My program runs perfectly on iOS. If I import fl.motion.MatrixTransformer, and run the program, it still runs perfectly. As soon as I access MatrixTransformer in code (in any way at all), I get the following error:

DescriptionType
Access of possibly undefined property MatrixTransformer.Flex Problem

I have experimented with other fl packages and arrive at the same issue. Any word on this? Does the fl package not work on iOS?

Participating Frequently
May 1, 2013

Solved my problem. For Flash CS6, copy this swc:

/Applications/Adobe Flash CS6/Common/Configuration/ActionScript 3.0/libs/flash.swc

Into my Flash Builder project using these steps:

http://interactivesection.files.wordpress.com/2009/06/include_fl_packages_in_flex_builder-1.jpg

Everything works properly now.