On Sep 18, 2013 12:49 PM, "Maurice Amsellem" <maurice.amsel...@systar.com> wrote: > > Is raising a JIRA directly the right approach to proposing new features or behavior change (such as the one below)? >
Raising the ticket should be sufficient for most cases. If the expected behavior is not very clear, you can start a discussion here with a link to the JIRA ticket. BTW, Justin has already created this issue in JIRA based on your note: https://issues.apache.org/jira/browse/FLEX-33739 Thanks, Om > Thanks > > Maurice > > -----Message d'origine----- > De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] > Envoyé : mardi 17 septembre 2013 20:26 > À : dev@flex.apache.org > Objet : MultiBitmapSource > > Hi Community, > > MultiBitmapSource getSource(dpi) method is called 3 times in the SDK with exactly the same code: > > var app:Object = FlexGlobals.topLevelApplication; > var dpi:Number; > if ("runtimeDPI" in app) > dpi = app["runtimeDPI"]; > else > dpi = DensityUtil.getRuntimeDPI(); > var multiSource:Object = MultiDPIBitmapSource(source).getSource(dpi); > > > Wouldn't it be better to have this code embedded in the MultiBitmapSource getSource() method ? > > The desiredDPI:Number arg could be made optional, so as not to break existing code, and use the above code when desiredDPI is NaN . > > Another advantage of this is that it will allow to use MBS with other classes, such as BitmapAssets. > > What do you think? > > Regards, > > Maurice > > >