Should be fairly simple if you build your mxml filenames based on the index of the list array items -eg 1.mxml, 2.mxml
or if you want it to be easier to modify and not based on the position in the array, the filenames can be based
on an item in the dataprovider.
Then you add the select mxml code to the list's changeHandler.
If this is Greek to you, supply some of your example code for the data in the data provider, and what you want the filenames
to be keyed on in the list
Thanks for the response! Is there something I have to do so that the file names dont just end up as text?
I guess I dont understand your suggestion. How do I add the file names to an array so that they do not appear in the list just as text but rather a function to transition to another page?
I am a bit of a newbie with Flex! If you can direct me to a good example that would be great.
Have you started a project?
Do you have a list of mxml filenames that you want to open from the list?
Can you preload an ArrayCollection of these filenames? There should be plenty of examples of that online.
Have you added a combobox or listbox to your project yet?
This is what I have
<?xml version="1.0" encoding="utf-8"?>
xmlns:s="library://ns.adobe.com/flex/spark" title="Family Law Statutes"
<s:HTTPService id="srv" url="assets/StatuteList.xml"/>
<s:List id="list" top="0" bottom="0" left="0" right="0"
It doesnt go to a different .mxml page for each list item, instead it just uses one page and rebuilds different info on it depending on what list item is selected. I want to go to a toally different page on each list item.