Groups | Blog | Home
all groups > flash data integration > november 2005 >

flash data integration : Using ComboBoxes for Navigation


gem5ie
11/24/2005 12:00:00 AM
I am trying to build something in flash which uses drop down boxes to find
documents on the company intranet.

I have used XML to populate two comboboxes ... the first displays a list of
categories. When a category is selected the documents within that category
appear in the second combobox. Now I want the user to be able to select a
document from the second combobox and open it in a _blank window.

I have tried using :
on (change) {getURL(this.data.href, "_blank");}

my swf knows that i'm trying to get a url, but it says 'undefined' rather than
the source url contained within the xml file.

I have noticed a few other posts on the forums with almost identical problems
but none have come up with any answers so far. Am I wasting my time? Is there
another way you can suggest I can acomplish this?

I am new to actionscript and can write basic xml documents but I'm not much of
a programmer so any solutions written in 'idot language' much appreciated.

on (change) {getURL(this.data.href, "_blank");}
tomeanand NO[at]SPAM hotmail.com
12/7/2005 4:25:10 AM
Hi

Check this, its should be selectedItem
If you are giving this.data, the entire data of the combobox dataProvider will
come

on (change) {getURL(this.selectedItem.data.href, "_blank");}

Anand
AddThis Social Bookmark Button