1.- whats the regular _expression_ so when typing it don't matter if is a or á and if using tab it keeps matching words
2.-i can't see the pictures in mx:image, why?
3.- when i click on mx:list if there is a video i see an error
4.-datatips popup all the content of xml and sotimes it don't popup at all
and i know i saw a blog talking about a back button in flash without using any explorer something about hystory.js in the bin file
thanks for your time
***mxml***
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*"
creationComplete="srv.send()" viewSourceURL="srcview/index.html">
<mx:Style source="main.css"/>
<mx:Script>
<![CDATA[
import mx.charts.events.ChartMouseEvent;
private function filterProduct(item:Object):Boolean
{
1.- return item.name.match(new RegExp("^" + inputText.text, "i\*" + /abc|xyz/));
}
]]>
</mx:Script>
<mx:Style>
showDataTips
{font-famile:arial;
font-weight:bold;
font-size:12;
}
</mx:Style>
<mx:HTTPService id="srv" url=""
resultFormat="e4x" />
<mx:XMLListCollection id="xlc"
source="{srv.result.*}"
filterFunction="filterProduct" />
<mx:Panel width="568" height="569" layout="absolute" backgroundColor="#ff8000">
<mx:DataGrid dataProvider="{xlc}" height="419"
editable="false" width="150" id="datagrid" scroll="true" change="xlc.refresh()" x="0" y="0">
<mx:columns>
<mx:Array>
<mx:DataGridColumn columnName="name" showDataTips="true"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>
<mx:TextArea width="353" height="419" textAlign="justify" text="{datagrid.selectedItem.desc}"
wordWrap="true" y="0">
<mx:layoutConstraints>
<mx:Anchor right="30"/>
</mx:layoutConstraints>
</mx:TextArea>
<mx:ControlBar>
<mx:layoutConstraints>
<mx:Anchor bottom="0"/>
</mx:layoutConstraints>
<mx:TextInput id="inputText" width="139"
change="xlc.refresh()" text="Buscar" backgroundColor="#f0eff1"/>
</mx:ControlBar>
2.- <mx:Image source="{datagrid.selectedItem.imagen}"
id="image1" horizontalAlign="center" visible="true" height="150" width="150">
<mx:List dataProvider="{datagrid.selectedItem.video}" width="167" height="65" id=listV>
3.-<mx:VideoDisplay id="videos" x="25" y="178" width="319" height="246" volume=".8"
autoPlay="true" url=""#c00000">listV.selectedItem.video}">
</mx:VideoDisplay>
</mx:Panel>
</mx:Application>
this is the xml
<catalog>
<libro>
<name>A orillas de una laguna.</name>
<desc>Libro de Edmundo Batres Ledón, </desc>
<imagen>FOTOS/A orillas de una laguna.jpg</imagen>
<video>orillas.flv</video>
</libro>
__._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

