PDA

View Full Version : [AS3] how to select combobox?


435.mahesh
06-06-2009, 08:12 AM
hi,
i have three panels in cover flow diagram and i have one combobox(three items) beside that coverflow diagram.when i click on the first item then i want to display corresponding panel in cover flow diagram similarly remaining items also.
plz help me how to di this

mca_kkchaitanya
06-06-2009, 08:22 AM
place the coverflow diagrams in three individual canvas and

name the canvas properly and set the visibility according to the options selected in the combo box

at a instance only one canvas need to visible others should not be visible

add the event listener to the combo box so that if the selection changed accordingly you have to set the visibility of the canvas

435.mahesh
06-06-2009, 08:49 AM
thanks for responding.
wen i placed these coverflow diagrams in individual canvases i got this error
ArgumentError: Error #2015: Invalid BitmapData.

plz help me it urgent

mca_kkchaitanya
06-06-2009, 09:26 AM
how you are adding coverflow diagram to the canvas?

better create an instance of image and set the source in the canvas

435.mahesh
06-06-2009, 10:29 AM
here i am not taking the images.i am taking panels.those panels i showed in cover flow