OK, so based on what I just picked out of the "E4X, regexp and user
input" thread, I tried to mix some XML and a regex to solve my problem,
but I didn't get too far, and again, really don't know what I'm doing
with regular expressions, and I'm not quite a pro at E4X yet. I am
getting this error when I try and search on [EMAIL PROTECTED] attribute
values:
"Filter operator not supported on type RegExp."
based on this code:
var re:RegExp = new RegExp("^" + searchInput.text);
var xmlListSearch:XMLList = xml.topics..topic.*.( re.(
attribute("title")));
Which is drawing from this XML:
<data>
<topics>
<topic title="Coldplay's New Album" />
<topic title="The Dark Knight" />
<topic title="Arrested Development: The Movie" />
...etc.
Any ideas? Thanks.
Jason Merrill
Bank of America
Enterprise Technology & Global Risk L&LD
Instructional Technology & Media
Join the Bank of America Flash Platform Developer Community
Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal GT&O Innovative Learning Blog & subscribe.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders