Donnerstag, 6. Januar 2011

Flash Builder Templates

I just discovered the new flash builder burrito feature "Templates" and try to start publishing a list of handy far only one ;)

Setting mxml attributes with the resource bundle:

Just open Eclipse Preferences and go to Flash Builder > Editors > Code Templates > MXML and click on "Add". Just insert the choose a name ( "res" ) , the context for that would be "MXML attributes" and insert the pattern:

${attr}="@Resource(bundle='${bundle}', key='${key}')"

Have fun!