all groups > flash data integration > august 2005 >
You're in the

flash data integration

group:

ONLY XMLconnector+DataSet



ONLY XMLconnector+DataSet Boen_Zhou
8/17/2005 12:00:00 AM
flash data integration: I try to use DataSet.find(), but it can't provide inexact search. For Example

1. apple -> Apple False
2. App -> Apple False
3. Apple -> Apple OK
Re: ONLY XMLconnector+DataSet conquerors04
8/17/2005 9:20:25 PM
If you want to be able to find any part of a word, you should take your search
string's length, start at the first character and loop through the entire
DataSet looking for a match, it may sound like it would take a lot of memory
but actualy does not. Use the DataSet.filterFunc to do this.
Re: ONLY XMLconnector+DataSet Boen_Zhou
8/19/2005 12:45:39 PM
Thank you!

I found a better solution, which is Xpath for flash.
1. download xpath4AS2
2. import it into fla
3. use contains() function to compare strings
AddThis Social Bookmark Button