• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Help using Flash Form

I am working on a product selection form that will make a part number at the end.  I need some help with two things.  
1.  Using the Combo box component I want to select a different movie clip based on the selection make. (i.e. if choose item 1 play s1...if choose item 2 play s2)....  How do I ad actions to these selections.....

2.  I want to form a part number at the end.  So there would be say 8 combo boxes that would leak to a 8 part - part #.  How do I link in the data at the end.

Thank you
1 Solution
in terms of part 1, simply get the selectedlabel using listeners

function change(evt){
var action:String = evt.target.selectedItem.label;
comboBox.addEventListener("change", this);

function doOtherThing(act:String) {
switch (act) {
case "one":
//do whaterver;
case "two" "

etc check help file if you don't know how to use a switch statement.
then i don't understand what you're trying to do in part 2.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now