You need to give unique ids to the
comboboxes. <mx:Combobox id=”cb1”… /> <mx:Combobox
id=”cb2” … />…you really should do it for all components
you have in your mxml file that you’ll be updating or changing
dynamically… Robert L. Brueckmann Senior Web Developer Merlin Securities, LLC p: 212.822.4821 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] What I am trying to do is make two combo boxes one if you
make a selection it puts some text in a <?xml version="1.0"
encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Script> public var lettersone =
[ {label:"A", Number:0}, {label:"B", Number:1},
{label:"C", Number:2}, {label:"D", Number:3},
{label:"E", Number:4}, {label:"F", Number:5}, {label:"G",
Number:6}, {label:"H", Number:7}, {label:"I", Number:8},
{label:"J", Number:9}]; public var
selectedItem:Object;
</mx:Script> <mx:HBox
horizontalGap="30"> <mx:ComboBox dataProvider="{lettersone}"
width="150"
change="selectedItem=event.target.selectedItem"/> </mx:HBox> </mx:Application>
This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
Yahoo! Groups Links
|
- RE: [flexcoders] Can someone help me figure out this cod... Robert Brueckmann