Xenith
12-10-2004, 08:08 PM
How can I have a Listbox that is dynmically populated start with the first item selected?
I know there has to be a way
http://www.flashkit.com/movies/Scripting/Control/Smart_Li-Konstant-2652/index.php
I think it would probably have to go or do something with this frame which is where it is populated?
stop();
List.onLoad=function(){
List.setAutoHideScrollBar(true);
p=new Array( p0 , p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20);
num = picture;
for(i=0; i<=num-1; i++){
List.addItem(p[i],"image/"+"picture"+i+".jpg");
gotoAndStop("label0");
}
}
I know there has to be a way
http://www.flashkit.com/movies/Scripting/Control/Smart_Li-Konstant-2652/index.php
I think it would probably have to go or do something with this frame which is where it is populated?
stop();
List.onLoad=function(){
List.setAutoHideScrollBar(true);
p=new Array( p0 , p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20);
num = picture;
for(i=0; i<=num-1; i++){
List.addItem(p[i],"image/"+"picture"+i+".jpg");
gotoAndStop("label0");
}
}