Groups | Blog | Home
all groups > flash (macromedia) > march 2004 >

flash (macromedia) : ComboBox help


truCido
3/24/2004 10:44:56 PM
ok im a complete n00b I've read through the help files etc and still cant do
anything so I was wondering if anyone could help me?

I'm trying to use a combo box to view different labels / frames / data when I
select different selections in the ComboBox
truCido
3/25/2004 12:31:03 AM
truCido
3/25/2004 9:23:26 PM
rlc5611
3/26/2004 10:01:07 AM
urami_
3/26/2004 10:10:30 AM

[quoted text, click to view]

Flash MX

Open Component panel CTRL F7 - drag ComboBox on stage.
Right click the Combo and start with instance name , call "Combo_Box"
Move to the right side , the Parameters panel.
CLick on LABELS , than click the Icon that appear once selected.
+ add value , - remove value
This will make the list of names for the links in your drop down.
Call as you like .
Now move down to DATA, again click Icon and here you define your LABEL names .
NOTE !
do not use spaces or do not start labels with digits.
Call it , label_link1 label_link2 etc.....
Row Count keep as it is , just change the Handler , key in "comboBox"
So now you component is pretty much set up , all you need is function on timeline
to digest these values and put them in some order and into actions.

function comboBox() {
myValue = Combo_Box.getValue();
myValue._alpha = 10;
loadMovieNum(myValue+".swf", 1);
gotoAndStop(myValue);
//etc......
}


myValue is your combo output ,just combine as expression with whatever action you need .
Pretty much it , hope I did not miss anything ......


--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

G.Mathan
5/10/2004 11:54:13 AM
AddThis Social Bookmark Button