PDA

View Full Version : UI Components


colorada
07-03-2004, 12:33 AM
Hello this is my first post (Captain Obvious). I have been using Flash MX 2004 and writing Actionscript for about 6 months. I have been on a crash course to learn everything about it. There are some things I understand with vengance and then there are those things I just do not quit get yet. Please bare with me if I may ask some stupid questoins, but here goes.

I am in the middle of a project and what I am trying to do is have a few UI Components talk to each other. I am using an Input Text that searches a ComboBox, and using the Button to select the info from the ComboBox and put the info into a ScrollPane. Here is my dilemma; I can get all the components talking except for the ScrollPane. To get a little more detailed I have an Array of several "Strings" that are pulled into the ComboBox, and to make it quicker I obviously have the Input Text as a search box, I then want the button to pull information and place it into the ScrollPane. The information is .jpg file I do not know how to get my array to also talk to the .jpg file(s). I do not think it is possible to set up an array with diferent info other than “Numbers” and “Strings” "CORRECT"?? I am using Flash MX2004 Actionscript 2.0. I also know that when I am setting up listeners I use "Click" for Button and "Change" for ComboBox, but I am usure of what to use for ScrollPane and Input Text any help there would be great.

Thanks,