Ever try to add a DisplayObject to a Flex Component? If you have, you know the run-time engine will complain about a type conversion (Adobe casts DisplayObjects to IUIComponents). Well, there is a hidden $addChild for UIComponents. To utilize simply add use namespace mx_internal; to the beginning of your script. Now you can use $addChild.
For more information, check out http://www.boostworthy.com/
Fixing Common Pitfalls of Codemods
-
So far the codemods that *Juntao Qiu* has described are fascinating, but
rather straightforward. Real codebases offer more challenges. In this
installmen...
2 days ago
0 comments:
Post a Comment