Try this out. Working Code Is being sent.
Main Application File <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var arr:ArrayCollection=new ArrayCollection ([{Artist:'Pavement', Vdo:'myVideo.flv'}]); ]]> </mx:Script> <mx:DataGrid x="222" y="51" height="399" width="436" dataProvider="{arr}" > <mx:columns> <mx:DataGridColumn headerText="Column 1" dataField="Vdo" itemRenderer="video" > </mx:DataGridColumn> <mx:DataGridColumn headerText="Column 2" dataField="Artist"/> </mx:columns> </mx:DataGrid> </mx:Application> Component file video <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="332" height="252"> <mx:VideoDisplay x="36.5" y="10" width="259" height="234" source="{data.Vdo}"/> </mx:Canvas> On May 12, 8:12 pm, Nicholas <[email protected]> wrote: > look up how to do item renderers > > On May 12, 4:46 am, ganesh kumar <[email protected]> wrote: > > > hi friends, > > can you give some idea about,how to add video in datagrid its so useful for > > me.. > > thank you > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" 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_india?hl=en -~----------~----~----~----~------~----~------~--~---

