Try;

menuOptionsData[1] = null;

Or

delete menuOptionsData[1];

Peace, Mike

On 5/1/07, boy_trike <[EMAIL PROTECTED]> wrote:

  I have an XMLList that controls the options a user can get to. It looks
like the following:

<mx:XMLList id="menuOptionsData">
<menu label="Sales" data="S" url="/lumber/Sales" />
<menu label="Purchasing" data="P" url="/po/po" />
<menu label="Logistics" data="L" url="/logistics/lo" />
</mx:XMLList>

I want to REMOVE the purchasing line. Can someone help me with the syntax.
(I was hoping
for something like "menuOptionsData[1].delete !".

Thanks
Bruce




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to