PDA

View Full Version : place videodisplay children as a viewstack


pradeepptp
08-12-2009, 11:23 AM
Hi Guys,

This is pradeep,i m new for Flex3 please let me know the how we ca place videodisplay component inside a view stack.i got the problem like this

TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::VideoDisplay@88f20b1 to mx.core.Container.
at mx.containers::ViewStack/get selectedChild()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\containers\ViewStack.as:548]
at mx.containers::ViewStack/instantiateSelectedChild()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\containers\ViewStack.as:1131]
at mx.containers::ViewStack/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\containers\ViewStack.as:664]
at mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\core\UIComponent.as:5807]
at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\managers\LayoutManager.as:539]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\managers\LayoutManager.as:659]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\core\UIComponent.as:8628]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\core\UIComponent.as:8568]


Regards,
Pradeep.