Short disclaimer... new to Flex and new to Flex Mojos.

I have a project that builds fine, but when I run it in the browser I
get an error with the DropDownList control.  Let me know what
information I can provide to help anyone troubleshoot this.

Again the project builds fine.  For versions I'm using 3.7.1 for Flex
Mojos and 4.1.0.16076 for the Flex Framework.

The error I get comes up when you select an item in the drop down
list:


ReferenceError: Error #1069: Property -1 not found on
__AS3__.vec.Vector.<flash.display::DisplayObject> and there is no
default value.
        at spark.components::Label/truncateText()[E:\dev\4.x\frameworks
\projects\spark\src\spark\components\Label.as:1246]
        at spark.components::Label/http://www.adobe.com/2006/flex/mx/
internal::composeTextLines()[E:\dev\4.x\frameworks\projects\spark\src
\spark\components\Label.as:485]
        at spark.components.supportClasses::TextBase/measure()[E:\dev\4.x
\frameworks\projects\spark\src\spark\components\supportClasses
\TextBase.as:533]
        at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects
\framework\src\mx\core\UIComponent.as:8216]
        at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects
\framework\src\mx\core\UIComponent.as:8140]
        at mx.managers::LayoutManager/validateSize()[E:\dev\4.x\frameworks
\projects\framework\src\mx\managers\LayoutManager.as:617]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x
\frameworks\projects\framework\src\mx\managers\LayoutManager.as:733]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev
\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:
1072]

This message only comes up when you select an item.

Any thoughts at all?  I'm clueless.  The code had worked before when I
used IntelliJ to build/compile.  I was using the Flex SDK I had
downloaded; version 4.0.0.14159

I tried Flex Mojos with the same version, 4.0.0.14159, and got the
same results...

thanks for any help anyone can provide.

John

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to