flash - is it possiable to use conditional operator in combo box dataprovider using flex? -


Text after "

In my combo box, I have the name of the show team based on this condition. Then I will try the

way

dataProvider = "{usersXML.users.user. (Id = 10) .name}" but indicates some errors. But if I tried to

dataProvider = "{usersXML.users.user.name}" display all names. It is working.

How can I bet to display the list of plazas in Cambodia? I have to check the array of ID on this possiable dataProvider?

I think the wrong way you are going about it You have tried something like this:

  [Bindable] TARGETLIST: XMLList function setID (id: integer): zero {var tmpList:. XMLList = usersXML.users.user (@ id = = ID); If (tmpList & amp; amp; tmpList.length () & amp; amp; tmpList @ name.toXMLString () Length) {TARGETLIST = tmpList}}  

Set up the ID using the above, then you can run the test to make sure that the user ID and proper name attribute are certainly present in this case.

To indicate XML to this object:

  & lt; Mx: Combobox Dataprovair = "Target List" />  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -