[quoted text, click to view] pptdgc wrote:
> I have created a combo box with 5 different labels. I want each label to target
> a different frame within the same movie. So that when the user selects one of
> the five options for the combo box it will goto a different frame of the movie.
> I have craeted the labels but am not sure how to make them target the different
> frames??
Flash MX
Open Component panel CTRL F7 - drag ComboBox on stage.
Select the Combo and hit CTRL F3 , open properties panel and start with instance name ,
call it "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
--
<urami>
http://www.Flashfugitive.com </urami>
<web junk free>
http://www.firefox.com