here is a sample of code for what I mean
I want to make a selection from list a
mx:Script>
<![CDATA[
[Bindable]
public var selectedItem:Object;
import flash.net.*;
function executeSearch(event:MouseEvent):void {
var u:URLRequest = new URLRequest("/cgi-bin/forms/" +
ta1.text);
navigateToURL(u,"_blank");
}
]]>
</mx:Script>
<mx:Model id="mytype">
<form>
<tpe label="Judge parker" data=""> <tpe label="Judge Rhodes" data=""> <tpe label="Notices" data=""> <tpe label="Miscellaneous" data=""> <tpe label="Judgements" data=""> <tpe label="Deputy In Charge" data=""> <tpe label="Courtroom Deputy" data=""> <tpe label="Bankruptcy Appeal" data=""> <tpe label="Bankruptcy PDF" data=""> <tpe label="Facisimilie Cover Page" data=""> </form>
</mx:Model>
<mx:Model id="mygrps">
<groups>
<group label="Order Setting 8-Day Dismissal Deadline (Matrix)"
data=""> </groups>
</mx:Model>
<!-- INITIAL LIST A -->
<mx:Panel title="Form Search" height="75%" width="75%"
paddingTop="10" paddingLeft="10" paddingRight="10">
<mx:VBox width="100%">
<mx:Label text="Select Form Type."/>
<mx:List id="type" width="100%" color="blue"
dataProvider="{mytype.form.tpe}"
change="this.selectedItem=List(event.target).selectedItem"/>
</mx:VBox>
<!-- LIST To POPULATE when different selections are made in A -->
<mx:VBox width="100%">
<mx:Label text="Select Form Order."/>
<mx:List id="source" width="100%" color="blue"
dataProvider="{mygrps.groups.group}"
change="this.selectedItem=List(event.target).selectedItem"/>
<mx:VBox width="100%">
<mx:Label text="Selected Form: {selectedItem.label}"/>
<mx:Label id="ta1" text="{selectedItem.data}"/>
</mx:VBox>
<mx:Button label="Search" click="executeSearch(event)"/>
</mx:VBox>
</mx:Panel>
then , and this part sorta works, I want to make a selection ion list
b and use that to go to the form location.
Thanks for all your help with these newbie questions
Jay
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
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.

