Hello.\rI am trying to create a set of 3 combo boxes. The 1st on (on the left), when an item is selected, would set the 2nd combo box properties to match that item, which in turn would set the third item properties.\r\rBox 1 - Book—Box 2 - Chapter—Box 3 - Verse\rGenesis 10 3\r\rDynamic Text Box\r-------------------------------------------------\r| |\r| Contents of Verse |\r| |\r-------------------------------------------------\r\rAny ideas?\r\rThanks,\r\rW
do you want them to be boxes where people input what “Book, chapter, and verse” they want?
They will be pre-made. Loading information from a database.
Scenario I or Scenario II?\r\rI. Are users selecting from each box?\r\rbox1: (user selects Genesis)\r\rbox2: (user selects Chapter)\r\rbox3: (user selects verse)\r\r\rII. …or do you have some canned verses and you’re hoping for\r\rbox1: (user selects Genesis)\r\rupon selection of Genesis box2 and 3 bring up a choice.\r\rIf your answer is I…\r\rassign variables to boxes:\r\rbook=cb_instance.getselecteditem();\rchapter = cb_instace.getselecteditem();\rverse=cb_instance.getselecteditem();\r\rthen, I would change my sql statement to reflect their choice (if that is what you’re trying to do…) concatenating your boxes…\rbook + chapter + verse (being variables)\r\rgood luck!\r\r
My request is more like selection II.\rIt is more like when box 1 is selected box 2 is changed (default chapter one - hence box 3 is selected to verse 1 default).\rSo when a user changes box 2 then box 3 is updated.\rThen when box 3 is changed then there will be a go (request-whatever name) button. When that button is clicked then the approriate verse will be displayed in the TextField.\r\rAs you may know I am just learning actionscripting. I have used flash in the past for the simplest things.\rThanks to everyone who has (and hopefully will) taken the time to help me. I know that once my knowledge grows, I will be able to do the same for others.
I guess I left out… If your answer is II…\r\rIf it is more like II, I would say: Why have three combo boxes?\r\rI would have one, maybe two…\r\ryou could have one that is generated from a query of available verses… that way, the combo box will list all available verses, and you could choose from there…\r\rI do realize that this could create a large list… so, you could do two boxes… one for Book and the other with all verses available for that book.\r\r\rAll in all… this would turn into data handling in Actionscript, and Im not the best person to teach you that… I do this kinda thing in Ultradev
Well,\r\rI guess you know by know I am creating a Bible Application. So I do need to break it down by book, chapter, then verse.\r\rBesides, I think that this project’s code would be able to be used by all developers.\rI will be placing the source code online once the project is done, with credit of course, going to those whom have helped me out with this.\rI want to show people that there is so much that can be done with Flash (whether 5 or 6), and that we are a tight-knit community.\r\rCheers…