Do you think this is a bug?
I have declared a css background image for a panel (id="myPanel")
component. If I click on this panel the event.target is:
'myPanel'.
However, if I include scale nine formatting in the css background
image declaration, the event.target becomes:
'myPanel.style__embed_css_assets_app_panel_panel_bg_png_1655812762_419'
Here is the CSS
Panel{
backgroundColor:#E7E7E7;
backgroundImage:Embed(source="assets/app_panel/panel_bg.png");/
*,scaleGridLeft="10", scaleGridTop="45", scaleGridRight="75",
scaleGridBottom="85");*/
backgroundSize:"100%";
}
<mx:Panel id="myPanel" width="500" height="500">
Children.....
</mx:Panel>
Why would including scale nine formatting to a backgroundImage CSS
declaration change the event.target? Do we have to worry about this
type of thing with every component we try to skin?