Skip to main content
October 3, 2006
Answered

Video, XML and List Component

  • October 3, 2006
  • 2 replies
  • 368 views
Hello all,

I have this code that is suposed to take my simple little XML file and populate it into a List component which in turn when an item is click it will play the video assigned to it. I have a custom player built and it works perfectly when I just load in one movie by hard coding its path into my AS, however when I load the XML in it only will play the first movie in the list, and will not load in any other movie when selected.

My code is below. anyone that can help it would be greatly appreciated. The XML code is at the bottom.
This topic has been closed for replies.
Correct answer
I figured it out...good thing I guess too because I have had very little response to this post.

Thanks The Feldkircher and funkysoul for you responses.

2 replies

Known Participant
October 4, 2006
Its just an idea, but check the spelling of your instance names against those in Actionscript.

Generally its this that people forget, MyMC is not the same as Mymc.
Correct answer
October 4, 2006
I figured it out...good thing I guess too because I have had very little response to this post.

Thanks The Feldkircher and funkysoul for you responses.
funkysoul
Inspiring
October 4, 2006
your code looks fine to me..
Are you sure that the XML file is correct? Maybe try to startup with a different movie then 0.
October 4, 2006
funkysoul,
First thanks for taking a look at what I have. To answer your question yes I have changed the start up movie in the Array (i.e. from 0 to 1 or 2 or 3) and it does play that movie first, but again when I click to load in another movie it does not play anything else.