On Thu, 2006-08-17 at 18:39 +0300, Sergey Kovalyov wrote:
> Hi All!

> The exception is thrown while running this application. Sure, it is
> due to _selectedIndex default value that equals 0, but _dataProvider
> is still empty. But how to avoid this problem?
> 
> Regards, Sergey.

Use creationComplete event and check whether dataProvider size is
greater than 0. That is, do not use MXML tag property but set it from
AS.
-- 
Michael 'Antares' Klishin

novemberain.com | osflash.org/red5 | rubyonrails.ru | flex.org



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to