Home > Default > Simple combo box question

Simple combo box question

October 11Hits:0
I have Flash MX 2004 Pro. I want to create a
movie/graphic/button ( not sure which one yet) of a county
(obviously from a state map) and I want to have all of the counties
(over 40) listed in a Combo Box. I would like the Combo box to
automatically be updated/populated every time I create a
movie/graphic/button of a county. I would like to be able to click
on a county name in the combo box and have the county highlighted.
While the graphic part is doable, I am asking for help with the
One more thing: I have a text box that I want to have data
displayed only for the specific county. So I am thinking of
creating a text box that is invisible in the State swf but will be
viewable when the county is selected (mouse over or thru the combo
box). Do I have to use the scripts to make it viewable when the
movie is selected?
Is this even possible with my version of Flash and if so,
does anyone have some codes I can look at?


As far as the text goes, there are several ways to do that.
Simplest way is to make the text visible when rolled over and
invisible when rolled out. That way you get the text positioned and
formated the way you want. It isn't the best method in terms of
maintenance. A better method is have one text clip that you can
position in relation to the (x,y) coordinates of the highlighted
county and pull the text for the county from an array. The latter
requires more script but is easier to go back and change since all
you do is update an array.
I just noticed a line in the onRollOut
this[this._parent._name + "menu"].selectedIndex = 0;
that will serve you no purpose whatsoever. I missed deleting
that from the script I modified to post to you. It doesn't hurt
anything since it targets nothing you have

Read other 4 answers


Related Articles

  • Simple combo box questionOctober 11

    I have Flash MX 2004 Pro. I want to create a movie/graphic/button ( not sure which one yet) of a county (obviously from a state map) and I want to have all of the counties (over 40) listed in a Combo Box. I would like the Combo box to automatically b

  • HTML Combo Box QuestionOctober 11

    I generate an HTML page with a Servlet and I have a combo box that lists numbers 1-20. Depending on a parameter that is passed to the servlet I want to set the Combo box to be initalized to (display) a certain number. Does anybody know how I can do t

  • JSP Combo box questionOctober 11

    How can I make a combo box have the ability to add new items in its list? I have an existing combo box that gets its value from an SQL query. How can I let users have the ability to add to that list? If this is not possible with JSP combo boxes, any

  • Combo Box question on JSPNovember 30

    I have two combo boxes. Box 2 is populated dependant on the value of box 1. The data wil be coming out of a JavaBean with a connection to a database. What would be the best way to acheive this? TIA Owen ThomasHello Russ9754! Might be abit late, but I

  • Combo box questionNovember 30

    Hi! I'm new to Adobe Acrobat pro, so forgive me if I ask dumm questions! So I wanted to make a form with multiple comboboxes which are referring to each other, so that if you choose something from the first one, you can only choose from the subtypes

  • Combo box question - can a store extra values?November 30

    my data is car# id CAR1 111111 CAR2 222222 CAR5 555555 i want to be able to select CAR1 in the combo and retrieve the id field. what is the best way to do this? in foxpro one can have hidden fields and some ocxs of cargo objects. thanks for any help

  • Combo box , error type !October 11

    Hello, I've got an error I can't find since 2 days ! I'm trying to build a simple combo box in which there are some data from my database . It's to deploy a process under jBoss jBPM but the error is a JSF one : Here is my JSF form code :     <jbpm:da

  • How do i create a combo-box?November 30

    Dear guys..how do i create a simple combo-box that get populated with data fron the database at run-time? I can create pop-lists , but that is hardcoded and no good to me. Kind Regardscheers folks..most helpful :) <BLOCKQUOTE><font size="1&q

  • Combo box browser issueNovember 30

    Hi I currently have a simple combo box compenent with three options to choose fonts. It works fine when i test it, but it doesnt drop down in the browser. This is the code [AS] LBtextMenu.LBfontList.textField.setStyle("textFormat", tf); LBtextMe

  • A simple question about combo boxNovember 30

    Dear All, Just got a simple question about combo box: I have one of these selectors with labels based on filtered rows from a table. Is it possible to have one more label that would select all options? Like: Product A Product B Product C All Product

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 1.212 s.