[flexcoders] Issues Building Flex Project with Ant

Monday, December 12, 2011

 

Hi I'm trying to build an application with ant and I am setting static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries> I want everything to be compiled into one swf.

The issue is that when I run my application after setting this value to true I get the following error:

TypeError: Error #1006: createUID is not a function.
at mx.collections::ArrayList()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\collections\ArrayList.as:113]
at mx.collections::ArrayCollection/set source()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\collections\ArrayCollection.as:133]
at mx.collections::ArrayCollection()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\collections\ArrayCollection.as:92]
at DevTools()[/Users/vcutten/workrepos/farmville-main/Client/DevTools/src/DevTools.mxml:22]
at _DevTools_mx_managers_SystemManager/create()[_DevTools_mx_managers_SystemManager.as:52]
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3063]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2849]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment