Search code examples
apache-flexdommxml

How to access mxml (Flex) DOM elements?


Is there a way to access the DOM-Elements of a mxml file in a way that you can in JS (e.g. using Prototype or jQuery)?

I need to know if a top-level element has a child (sub-sub-...-childs) with a certain id.

In JS (using prototype) it would be something like:

$('tabs').select('[id="something"]');

Any ideas?


Solution

  • Depending on what you're trying to do, Bifff might be the answer. Think of it as "JQuery for Flex": https://github.com/seanhess/bifff/wiki