List Box Navigation

  • Travis Coats
  • Graduate
  • Graduate
  • Travis Coats
  • Posts: 107

Post 3+ Months Ago

Does anyone know the script for choosing a list item and having the movie navigate to it's data (value)parameter? For instance, I am trying to get it so that when someone chooses a song from my list they can go to the frame where it's playback component is and some info on the song. I know you can control a movieclip timeline, but what about the root timeline?

Is there a way to "capture" the selectedItems.data and store it in a a variable, and then gotoand play this variables string?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Travis Coats
  • Graduate
  • Graduate
  • Travis Coats
  • Posts: 107

Post 3+ Months Ago

I think I found it, sorry. here is the working version now for those of you who may have the same idea for your flash movies.

stop();
var myListener:Object = new Object();
media_lb.addEventListener("change",myListener);

myListener.change = function(){
gotoAndPlay(media_lb.value);
}

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 13 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.