Marcio, are your elements of XML type?

2013/3/16 Marcio Fermino <prologicasiste...@gmail.com>

> o que esta errado ? em meu código
> Eu preciso mostrar imagens
> Elas estão dentro da aplicação com uma pasta chamada "../caminho/myimage,"
>
>
> Mas não ficam visiveis
> o que devo colocar aqui
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <!--
> http://blog.flexexamples.com/2008/03/08/creating-a-simple-image-gallery-with-the-flex-tilelist-control/-->
> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml";
>                  horizontalAlign="center"
>                  verticalAlign="middle">
>
>         <mx:Image source="{data.@caminho}" />
>
>         <mx:Label text="{data.@caminho}" />
> </mx:VBox>
>
>
>
> Code complete:
>
> ============
>
>         public function mostraDados_Imagem(event:ResultEvent) : void {
>
>                                 arraylist_imagem = event.result as
> ArrayCollection;
>
>
>
>                         }
>
>
>                 ]]>
>         </fx:Script>
>
>
>         <mx:TileList id="tileList" x="39" y="36" width="635" height="346"
> columnCount="4"
>                                  columnWidth="125"
> dataProvider="{arraylist_imagem}"
>                                  itemClick="tileList_itemClick(event);"
> itemRenderer="CustomItemRenderer"
>                                  rowCount="2" rowHeight="100"
> verticalScrollPolicy="on"/>
>
>
>
> ================
>
>
> Custom
>
>
>         <mx:TileList id="tileList" x="39" y="36" width="635" height="346"
> columnCount="4"
>                                  columnWidth="125"
> dataProvider="{arraylist_imagem}"
>                                  itemClick="tileList_itemClick(event);"
> itemRenderer="CustomItemRenderer"
>                                  rowCount="2" rowHeight="100"
> verticalScrollPolicy="on"/>
>
>
>
> Thank you.
>
>


-- 

João Fernandes

Reply via email to