PDA

View Full Version : calling a movieclip into a scrollPane??


hillary
04-23-2008, 09:53 PM
Hi everyone,
I have not found an intro-thread, so my first post -sadly- is a request..sorry about that!

I have a combobox with 4 different options, I also have a scrollpane in which I want to call the 4 respective movieclips from my library through that very combobox menu.
I have found some code on the net- but being a total NooB- I have no clue to to get it right..

-----------------------------------------------------------------

var cbListener:Object = new Object();
cbListener.change = function (evt_obj:Object) {
trace("Currently selected item is: " + evt_obj.target.selectedItem.label);
}
//Add Listener
comboBox.addEventListener("change", cbListener);

scrollPane.contentPath = "activities_M"

//now here i dont know how to proceed..??
//the trace is not need i think :)
----------------------------------------------------------------

Any help highly appreciated!!

Thanks