Skip to main content
Participant
March 30, 2010
Question

Custom Rules using AbstractFlexRule

  • March 30, 2010
  • 1 reply
  • 482 views

Hello,

I am trying to extend the AbstractFlexRule class to pick up some <mx: .. tags from an .mxml file. This class just seems to be working for .as files ... Is this the case, or am I missing something.

- Mansi

This topic has been closed for replies.

1 reply

Adobe Employee
March 31, 2010

Hi Mansi,

You are right: You could use the AbstractRegexpBasedRule.

The other solution would be to extend AbstractFlexRule, and then use Xpath to detect the presence of any tags.

Thanks a lot,

Best regards,

Xavier