• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • 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.


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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