Add Video in DataGrid already uploaded 1 this is another way.


<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”; layout=”absolute”>
import mx.collections.ArrayCollection;
public var arr:ArrayCollection=new ArrayCollection([{Artist:’Pavement’, Vdo:’Sample1.FLV’}]);
<mx:DataGrid x=”222″ y=”51″ height=”399″ width=”436″  dataProvider=”{arr}” >
<mx:DataGridColumn headerText=”Column 1″ dataField=”Vdo”  itemRenderer=”video”/>
<mx:DataGridColumn headerText=”Column 2″ dataField=”Artist”/>


<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Canvas xmlns:mx=”; width=”332″ height=”252″>
<mx:VideoDisplay x=”36.5″ y=”10″ width=”259″ height=”234″ source=”{data.Vdo}”/>

~ by mjcprasad2000 on May 19, 2009.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: