--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> There is no "imagen" anywhere in that xml.  How do you expect to find
> it?
> 
>  
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of tonyx_788
> Sent: Friday, July 07, 2006 8:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: datagrid.selectedItem.image (don't work)
> 
>  
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Deepa Subramaniam" <dsubrama@>
> 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: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of tonyx_788
> > Sent: Thursday, July 06, 2006 9:33 AM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > 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>
>


jajajaja
i'm sorry, i forgot to put the imagen tag
but the problem is that flash won't show the image

<catalog>
<books>
<name>any name</name>
<desc>any description</desc>
<imagen>knowthereisone.jpg</imagen>
</books>
</catalog>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 



Reply via email to