Error migrating Flex 3 to Flex 4

☆樱花仙子☆ 提交于 2019-11-29 11:24:38
FlexyBoz

Here is the answer.

The problem was actually occuring when trying to load modules in flex. So basically I included the namespaces

xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx"

and also replaced <mx:Component>, <mx:Style> by their corresponding <fx:....>

And this solved the issue.

Someone having the same problem found out his FLEX_HOME environment Variable was still pointing to the flex 3 sdk.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!