Featured Post

AS3 Singleton class with parameterised constructor

As many of you already know, in AS3 there is no direct way to create singleton class i.e there is no keyword Singleton or any other equivalent keyword using which this can be accomplished. But there is a simple work around to create singleton class. The code below shows this: 1234567891011121314151617181920212223242526272829public...

Read More

Searching Flex XMLListCollection using IViewCursor

Posted by ravi | Posted in IViewCursor, XMLListCollection, flex | Posted on 01-07-2009

Tags: , , , , ,

0

This post explains how to search a XmlListColelction for multiple fields using IViewCursor’s findAny() method .

Recently in one of my projects, I’d to use the IViewCursor to search the XMLListCollection and faced some problems initially but implemented it successfully after doing some research. I’m posting the same example (-) the actual database contents…i’ll use sample XML files for the purpose of this example.

The scenario for which i’ve implemented this thing is as follows: