Hi Amy,
That's actually just a canned Exception. It's in the resource manager bundle
as a UIComponent since that is what is under ViewStack. The error says the
dataProvider must be of type;

- String
- ViewStack
- Array
- IList

That is not really a user friendly message for sure, doesn't even make sense
from where it is called.

# NavBar

errWrongType=ERROR: The dataProvider of '{0}' must be String, ViewStack,
Array, or IList.
errWrongContainer=ERROR: The dataProvider of '{0}' must not contain objects
of type flash.display.DisplayObject.


Mike

On Sun, Sep 21, 2008 at 3:44 PM, Amy <[EMAIL PROTECTED]> wrote:

>   I'm trying to expand on the concept here
> http://blog.tsclausing.com/post/20 and get a more sophisticated
> representation of the data. When I try to set my GroupingCollection
> as the DataProvider for a TabBar, I get this error:
>
> Error: ERROR: The dataProvider of 'monthSelector' must not contain
> objects of type flash.display.DisplayObject.
> at mx.controls::NavBar/set dataProvider()[E:\dev\3.1.0
> \frameworks\projects\framework\src\mx\controls\NavBar.as:378]
> at GroupingFunction/init()[C:\Documents and Settings\Amy\My
> Documents\Helpful\GroupingFunction\src\GroupingFunction.mxml:68]
> at
>


-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to