So, I've narrowed this down to a test project - see
https://github.com/magnayn/flexbug

I have a project that uses the "Spark Menubar". It's basically the example
given in the documentation:

https://github.com/magnayn/flexbug/blob/master/buglet/src/buglet.mxml

This all works fine, in isolation. However. If the project includes
'buglib' as an RSL, the menu stops working.

buglib contains only 1 file, which is a skin:

https://github.com/magnayn/flexbug/blob/master/buglib/src/buglib/components/skins/TestSkin.mxml

The skin does not mark in metadata the HostComponent (which would be a
spark list). The skin is not referenced *anywhere *from the MXML.

If the library is included instead as 'merged into code', everything is
fine (even if the skin is referenced, to prevent it being stripped).

And, here's where it gets even weirder :
If you remove the statement

itemRenderer="spark.components.itemRenderers.MenuBarItemRenderer"

>From the TestSkin.mxml (*even though it is not being used anywhere in the
project*), it all works fine again!


Ideas? Have I just missed something?

Reply via email to