hi everyone
i've been for weeks trying to figure out how to do this, i hope somebody can help me

I have 2 datagrids,

first one is bind to an xml

<mx:DataGrid
id="datagrid"
dataProvider="{datos}"
x="2" y="71" width="150" height="507"
editable="false">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Lista" columnName="dato"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>

2nd datagrid is bind to the first one
<mx:datagrid x="600" y="468" width="157" height="40" dataProvider="{datagrid.selectedItem.video}"
id="vLista">
</mx:datagrid>
This one shows if there is a video on the xml

This is part of the xml
**datos.xml**
<datos>
<nombre dato="A orillas de una laguna.">
<desc>Libro de Edmundo Batres Ledón siajhdsifsdfirfd</desc>
<imagen>A orillas de una laguna.jpg</imagen>
<video>VIDEO/aOrillas.flv</video>
</nombre>
</datos>


and i have another MXML file whish is video.mxml

what i want to do is that if there is a video on datagrid 2 click on it and see the .flv on the video.mxml file


thanks


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to