--- In [email protected], "Deepa Subramaniam" <[EMAIL PROTECTED]> wrote: > > If your DataGrid is consuming e4x XML as its dataProvider, then the > selectedItem value will be an e4x XML node. Is 'imagen' an attribute of > the selected node or a child? If its an attribute then you'll need to > do: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> in your Image tag. If > imagen is a child node, you probably need to dot down correctly to it. > Trace out selectedItem and you'll see the structure of the XML and then > formulate an expression accordingly. > > > > -deepa > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of tonyx_788 > Sent: Thursday, July 06, 2006 9:33 AM > To: [email protected] > Subject: [flexcoders] datagrid.selectedItem.image (don't work) > > > > i'm using e4x > 2questions > everything else works great but the images won't show when using > e4x,if i use http it'll display the image ok > anyone knows why? > > and the datatip willshow everything on the xml, when hover the > datagrid why? > > ............... > <mx:DataGrid dataProvider="{xlc}" height="419" > editable="false" width="150" id="datagrid" scroll="true" > change="xlc,cargarDatos.refresh()" x="0" y="0"> > <mx:columns><mx:Array> > <mx:DataGridColumn columnName="name" showDataTips="true" > dataTipField="name"/></mx:Array> > </mx:columns> > </mx:DataGrid> > .................. > > <mx:Image x="369" y="298" id="image1" width="169" height="178" > visible="true" scaleContent="true" > source="{datagrid.selectedItem.imagen}" horizontalAlign="center"/> > .................... >
i tried with [EMAIL PROTECTED] and nothing please a little help my xml looks something like this <catalog> <books> <name>any name</name> <desc>any description</desc> </books> </catalog> ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/

