Question
using the SDK trunk
Hi all,<br /><br />I was trying build a large project off of trunk, and I've run into a<br />few problems. I wanted to check out some of the compiler performance<br />improvements, but it's not critical that I run things off of trunk.<br />(I'll probably try to move a few to the Flex 3 branch instead.) But I<br />wanted to let you know about the issues I had, and see which ones of<br />them I should create bugs on.<br /><br />1. The first error I ran into when compiling was this:<br /><br /> [java] C:\perforce\trunk\ActionBar.mxml(109): Error: Access of<br />undefined property disabledIcon.<br /> [java]<br /> [java] disabledIcon="{itemRepeater.currentItem.disabledIcon}"<br /> [java]<br /> [java] C:\perforce\trunk\ActionBar.mxml(110): Error: Access of<br />undefined property overIcon.<br /> [java]<br /> [java] overIcon="{itemRepeater.currentItem.overIcon}"<br /> [java]<br /><br />I assume that currentItem was made non-dynamic, but I didn't look into<br />it. I just commented out the references to keep compiling.<br /><br />2. The second thing I ran into was the change of<br />"flex2.tools.Compiler" to "flex2.tools.Mxmlc". I can understand that<br />Mxmlc is clearer, but there's a lot of people who have the old name in<br />Ant files.<br /><br />3. The next compilation error:<br /><br /> [java] C:\perforce\trunk\LoginPanel.mxml(392): Error: Data<br />binding expressions not supported with attributes processed at compile<br />time.<br /> [java]<br /> [java] <mx:State name="{LOGIN_ERROR_STATE}"><br /> [java]<br /><br />We were using a const as a State name, which doesn't seem to be<br />allowed anymore. I put in the regular name, and everything compiled<br />fine at that point.<br /><br />4. When I then tried to compile in Flex Builder, I got the warnings<br />below. I assume this is because of a bad playglobal.swc reference?<br />Also, note that no line numbers are given. It drives me crazy when<br />Flex Builder does that. :)<br /><br />Description Resource Path Location Type<br />1046: Type was not found or was not a compile-time constant:<br />Matrix3D. mediamanager Unknown Flex Problem<br />1046: Type was not found or was not a compile-time constant:<br />PerspectiveProjection. mediamanager Unknown Flex Problem<br />1046: Type was not found or was not a compile-time constant:<br />PerspectiveProjection. mediamanager Unknown Flex Problem<br />1046: Type was not found or was not a compile-time constant:<br />PerspectiveProjection. mediamanager Unknown Flex Problem<br /><br />Thanks, Brian
