Hi all,
I am working on a new project that I can't seem to find any help resources
for. I am using the Flash Components, binding and schemas to link together text
fields, drop downs(ComboBox), and a button to the XML Connector. The part I
can't figure out is if there is a way to make the button dynamically change
it's destination URL when the subject of the dropdown(ComboBox component) is
changed. In the XML file, I have nodes for all the components to accept. Is
there any way for the Component button to accept the different <URL> nodes as I
change the parent node with the drop down box? I thought maybe a variable or an
instance name in the XML Connector or Button Component bindings or schema area
could work. But no luck yet. Thanks in advance.
David:beer;
Jamesabth - 01 Jan 2008 13:11 GMT
Do you mean you want to change the xml file being loaded, or just the node
being read in?
You can use
xmlc.URL = combo.selectedItem.data;
Otherwise I would use AS to load in the XML instead of the connector so that
you can control which node is read in according to what is selected in the
combo box.
James
OurTown - 09 Jan 2008 21:53 GMT
I think you may be trying to do the same thing I am, but you're farther along.
I've created an RIA that pulls in RSS feeds from 3 different news websites in
our area. I have the XML Connector placing the data into a title, 1st
paragraph and link. I'm trying to figure out how to pass the link to the
button, so that when the button is clicked it takes the user to the selected
story.
Have you figured out how to do this?
Jose'