PDA

View Full Version : Problem with Listbox


dwayneneckles
09-01-2004, 03:18 AM
Can some take a swipe at this
it was built in flash mx as1


Mylist.setSelectedIndex(0);
currentAlbum = getSelectedItem().data;
changeAlbum();


but when i port the fla over to flash actionscript 7 it doesnt work... which sucks.....

i posted a portion but i can send the whole file to u.. and u would see what i mean..

i think the answer is that some parts of the language for the list class are still being using specifically the getSelectedItem().data and the setSelectedIndex(0) but i when i update the code using the new v2 component equivalent ... the picture still doesnt want to show the first pic.. but other than that it works fine...

i can email someone who is willing to take a shot at this...