Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
Ibis Fernandez #1
Need help with xml and combo boxes
Basically what im doing is a ui for a electronic book.
The book is broken into 3 parts and each part has its own set of chapters.
My xml schema is pasted below.
And what i would like is to have two comboBoxes .
The first one would list the names of the parts available, ie.. Part I, Part
II, Part III.
the Second one would list the chapters avalable under that part. For example,
If Part i, is sected then the secodn combo box would list chapter 1-5, while if
the second part is selected, the second combo box would list chapters 6-10.
Im using flash 8 pro, and the xmlconnector and comboboxes. Maybe there is an
easier way. PLEASE HALLP! This is driving me nuts.
XML Schema:
--------------------------------------------------------------------------------
--------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<contents>
<part name="Part I">
<chapter name="Chapter 1: This is chapter 1" path="video/chapter.swf"
description="This 1 description." />
<chapter name="Chapter 2: This is chapter 2" path="video/chapter1.swf"
description="This 2 description." />
<chapter name="Chapter 3: This is chapter 3" path="video/chapter2.swf"
description="This 3 description. />
<chapter name="Chapter 4: This is chapter 4" path="video/chapter3.swf"
description="This 4 description. />
<chapter name="Chapter 5: This is chapter 5" path="video/chapter4.swf"
description="This 5 description." />
</part>
<part name="Part II">
<chapter name="Chapter 6: This is chapter 6" path="video/chapter.swf"
description="This 6 description." />
<chapter name="Chapter 7: This is chapter 7" path="video/chapter1.swf"
description="This 7 description." />
<chapter name="Chapter 8: This is chapter 8" path="video/chapter2.swf"
description="This 8 description." />
<chapter name="Chapter 9: This is chapter 9" path="video/chapter3.swf"
description="This 9 description." />
<chapter name="Chapter 10: This is chapter 10" path="video/chapter4.swf"
description="This 10 description." />
</part>
<part name="Part III">
<chapter name="Chapter 11: Test 1" path="video/chapter.swf"
description="This 11 description." />
<chapter name="Chapter 12: Test 2" path="video/chapter1.swf"
description="This 12 description." />
<chapter name="Chapter 13: Test 3" path="video/chapter2.swf"
description="This 13 description." />
<chapter name="Chapter 14: Test 4" path="video/chapter3.swf"
description="This 14 description." />
<chapter name="Chapter 15: Test 5" path="video/chapter4.swf"
description="This 15 description." />
</part>
</contents>
Ibis Fernandez Guest
-
Combo boxes
I have a combo box on one form with has a row source of 2 fields, an item number and item name. I item number width is 0 so it only displays the... -
Combo Boxes do not work? WHY! :-)
Alright... I have an issue with some combo boxes absolutely refusing to populate in my movie. You can visit... -
Synchronizing two combo boxes
I wish to synchronizing two combo boxes. I have try the following solution: I have made 2 Combo boxes. The first combo boxes name is cbofirst... -
Two combo boxes on a form
I would do a couple of things differently. First, rename your controls. is a lot more recognizable than , especially if you want to use it as... -
Populating several combo boxes
I have a form that will have a combo box repeated several times (continuous form, one for each record), it's going to cause a problem if each has to... -
The Feldkircher #2
Re: Need help with xml and combo boxes
Hi
I have just done this for another guy in this forum, I can send you an example
using UI Components - 3 Comboboxes each shows the sub-options of its parent,
one more than what you want. The secret is in the construct of the XML file
and how this creates the correct Schema for binding.
Post me an email address and I can send you the files.
The Feldkircher Guest
-
Ibis Fernandez #3
Re: Need help with xml and combo boxes
I trully appreciate the offfer, my email addres is "ibis at cinestarfilmworks
dot com", speeled phonetically due to smap harvesting bot, but just replace the
at with @ and the dot with a .
Thanks again for yer help, it's much appreciated.
Ibis Fernandez Guest



Reply With Quote

